diff options
Diffstat (limited to 'firmware/include/gpt_misc.h')
-rw-r--r-- | firmware/include/gpt_misc.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/firmware/include/gpt_misc.h b/firmware/include/gpt_misc.h index 53b30347..e15f7dc8 100644 --- a/firmware/include/gpt_misc.h +++ b/firmware/include/gpt_misc.h @@ -57,10 +57,8 @@ enum { GPT_UPDATE_ENTRY_BAD = 2, }; -enum { - GPT_STORED_ON_DEVICE = 0, /* The GPT is stored on the same device. */ - GPT_STORED_OFF_DEVICE = 1, /* The GPT is stored on another place. */ -}; +/* If this bit is 1, the GPT is stored in another from the streaming data */ +#define GPT_FLAG_EXTERNAL 0x1 /* * A note about stored_on_device and gpt_drive_sectors: @@ -88,11 +86,11 @@ typedef struct { /* Size of a LBA sector, in bytes */ uint32_t sector_bytes; /* Size of drive (that the partitions are on) in LBA sectors */ - uint64_t drive_sectors; - /* Are the GPT structures stored on the same device */ - uint8_t stored_on_device; + uint64_t streaming_drive_sectors; /* Size of the device that holds the GPT structures, 512-byte sectors */ uint64_t gpt_drive_sectors; + /* Flags */ + uint32_t flags; /* Outputs */ /* Which inputs have been modified? GPT_MODIFIED_* */ |