X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/5d0fe69b2592f3c19fd12529ad94cb64ec0ed7d1..7d1507906d5178c853aefb652260d6745db1eaef:/IPXE/ipxe_mod_code/ipxe-3fe683e/src/include/ventoy.h diff --git a/IPXE/ipxe_mod_code/ipxe-3fe683e/src/include/ventoy.h b/IPXE/ipxe_mod_code/ipxe-3fe683e/src/include/ventoy.h index 81be2d7..286bb33 100644 --- a/IPXE/ipxe_mod_code/ipxe-3fe683e/src/include/ventoy.h +++ b/IPXE/ipxe_mod_code/ipxe-3fe683e/src/include/ventoy.h @@ -13,6 +13,15 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); #define VENTOY_GUID { 0x77772020, 0x2e77, 0x6576, { 0x6e, 0x74, 0x6f, 0x79, 0x2e, 0x6e, 0x65, 0x74 }} +typedef enum ventoy_chain_type +{ + ventoy_chain_linux = 0, /* 0: linux */ + ventoy_chain_windows, /* 1: windows */ + ventoy_chain_wim, /* 2: wim */ + + ventoy_chain_max +}ventoy_chain_type; + #pragma pack(1) typedef struct ventoy_guid @@ -80,6 +89,14 @@ typedef struct ventoy_os_param grub_uint8_t reserved[31]; }ventoy_os_param; +typedef struct ventoy_iso9660_override +{ + uint32_t first_sector; + uint32_t first_sector_be; + uint32_t size; + uint32_t size_be; +}ventoy_iso9660_override; + #pragma pack() // compile assert to check that size of ventoy_os_param must be 512 @@ -162,6 +179,7 @@ typedef struct ventoy_sector_flag }ventoy_sector_flag; #define VENTOY_BIOS_FAKE_DRIVE 0xFE +#define VENTOY_BOOT_FIXBIN_DRIVE 0xFD extern int g_debug; extern char *g_cmdline_copy;