File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11use core:: arch:: asm;
22
3- #[ repr( packed) ]
3+ #[ repr( C , packed) ]
44#[ allow( dead_code) ] // the structure format is defined by the hardware
55pub struct DiskAddressPacket {
66 /// Size of the DAP structure
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ use core::arch::asm;
22
33#[ derive( Debug , Clone , Copy ) ]
44#[ allow( dead_code) ]
5- #[ repr( packed) ]
5+ #[ repr( C , packed) ]
66pub struct DiskAddressPacket {
77 /// Size of the DAP structure
88 packet_size : u8 ,
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ use bootloader_x86_64_bios_common::PixelFormat;
55use crate :: { disk:: AlignedBuffer , AlignedArrayBuffer } ;
66use core:: arch:: asm;
77
8- #[ repr( packed) ]
8+ #[ repr( C , packed) ]
99#[ allow( dead_code) ]
1010struct VbeInfoBlock {
1111 signature : [ u8 ; 4 ] , // should be "VESA"
You can’t perform that action at this time.
0 commit comments