mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 21:05:43 +00:00
[FREELDR] Implement proper partition type detection and handling (#1762)
- This allows to detect and dynamically handle different partitioning schemes. - Implemented detection of MBR, GPT, Xbox-BRFR, and partitionless disks. - Currently only MBR and Xbox-BRFR partitions are handled and tested. CORE-9841 CORE-15768 CORE-16216 CORE-16248
This commit is contained in:
parent
8831328081
commit
06b77b8572
9 changed files with 184 additions and 72 deletions
|
@ -410,7 +410,11 @@ typedef struct _PARTITION_INFORMATION_GPT {
|
|||
typedef enum _PARTITION_STYLE {
|
||||
PARTITION_STYLE_MBR,
|
||||
PARTITION_STYLE_GPT,
|
||||
PARTITION_STYLE_RAW
|
||||
PARTITION_STYLE_RAW,
|
||||
#ifdef __REACTOS__
|
||||
/* ReactOS custom partition handlers */
|
||||
PARTITION_STYLE_BRFR = 128 /* Xbox-BRFR partitioning scheme */
|
||||
#endif
|
||||
} PARTITION_STYLE;
|
||||
|
||||
typedef struct _DISK_PARTITION_INFO {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue