X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/d5b829f8e8c8367b032b4bb57a8fc37701d42e17..965417970b745b343f0adc8843016c66a337d888:/GRUB2/grub-2.04/include/grub/ventoy.h?ds=sidebyside diff --git a/GRUB2/grub-2.04/include/grub/ventoy.h b/GRUB2/grub-2.04/include/grub/ventoy.h index 1044005..205ba1d 100644 --- a/GRUB2/grub-2.04/include/grub/ventoy.h +++ b/GRUB2/grub-2.04/include/grub/ventoy.h @@ -28,6 +28,17 @@ #define VENTOY_GUID { 0x77772020, 0x2e77, 0x6576, { 0x6e, 0x74, 0x6f, 0x79, 0x2e, 0x6e, 0x65, 0x74 }} +typedef enum ventoy_fs_type +{ + ventoy_fs_exfat = 0, /* 0: exfat */ + ventoy_fs_ntfs, /* 1: NTFS */ + ventoy_fs_ext, /* 2: ext2/ext3/ext4 */ + ventoy_fs_xfs, /* 3: XFS */ + ventoy_fs_udf, /* 4: UDF */ + + ventoy_fs_max +}ventoy_fs_type; + #pragma pack(1) typedef struct ventoy_guid @@ -104,6 +115,15 @@ typedef struct ventoy_os_param grub_uint8_t reserved[31]; }ventoy_os_param; + +typedef struct ventoy_windows_data +{ + char auto_install_script[384]; + grub_uint8_t reserved[128]; +}ventoy_windows_data; + + + #pragma pack() // compile assert check : sizeof(ventoy_os_param) must be 512