File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -42,15 +42,20 @@ const RAMDISK_FILE_NAME: &str = "ramdisk";
4242const CONFIG_FILE_NAME : & str = "boot.json" ;
4343
4444#[ cfg( feature = "uefi" ) ]
45- const UEFI_BOOTLOADER : & [ u8 ] = include_bytes ! ( env!( "UEFI_BOOTLOADER_PATH" ) ) ;
45+ /// The byte data of the UEFI bootloader
46+ pub const UEFI_BOOTLOADER : & [ u8 ] = include_bytes ! ( env!( "UEFI_BOOTLOADER_PATH" ) ) ;
4647#[ cfg( feature = "bios" ) ]
47- const BIOS_BOOT_SECTOR : & [ u8 ] = include_bytes ! ( env!( "BIOS_BOOT_SECTOR_PATH" ) ) ;
48+ /// The byte data of the BIOS boot sector
49+ pub const BIOS_BOOT_SECTOR : & [ u8 ] = include_bytes ! ( env!( "BIOS_BOOT_SECTOR_PATH" ) ) ;
4850#[ cfg( feature = "bios" ) ]
49- const BIOS_STAGE_2 : & [ u8 ] = include_bytes ! ( env!( "BIOS_STAGE_2_PATH" ) ) ;
51+ /// The byte data of the second stage of the BIOS bootloader
52+ pub const BIOS_STAGE_2 : & [ u8 ] = include_bytes ! ( env!( "BIOS_STAGE_2_PATH" ) ) ;
5053#[ cfg( feature = "bios" ) ]
51- const BIOS_STAGE_3 : & [ u8 ] = include_bytes ! ( env!( "BIOS_STAGE_3_PATH" ) ) ;
54+ /// The byte data of the third stage of the BIOS bootloader
55+ pub const BIOS_STAGE_3 : & [ u8 ] = include_bytes ! ( env!( "BIOS_STAGE_3_PATH" ) ) ;
5256#[ cfg( feature = "bios" ) ]
53- const BIOS_STAGE_4 : & [ u8 ] = include_bytes ! ( env!( "BIOS_STAGE_4_PATH" ) ) ;
57+ /// The byte data of the fourth stage of the BIOS bootloader
58+ pub const BIOS_STAGE_4 : & [ u8 ] = include_bytes ! ( env!( "BIOS_STAGE_4_PATH" ) ) ;
5459
5560/// Allows creating disk images for a specified set of files.
5661///
You can’t perform that action at this time.
0 commit comments