mirror of https://github.com/ipxe/ipxe.git
Add missing attribute(packed) to two structures.
parent
82124ea688
commit
c482fef058
|
@ -114,7 +114,7 @@ struct int13_disk_address {
|
||||||
uint64_t lba;
|
uint64_t lba;
|
||||||
/** Data buffer (EDD-3.0 only) */
|
/** Data buffer (EDD-3.0 only) */
|
||||||
uint64_t buffer_phys;
|
uint64_t buffer_phys;
|
||||||
};
|
} __attribute__ (( packed ));
|
||||||
|
|
||||||
/** INT 13 disk parameters */
|
/** INT 13 disk parameters */
|
||||||
struct int13_disk_parameters {
|
struct int13_disk_parameters {
|
||||||
|
@ -133,7 +133,7 @@ struct int13_disk_parameters {
|
||||||
/** Bytes per sector */
|
/** Bytes per sector */
|
||||||
uint16_t sector_size;
|
uint16_t sector_size;
|
||||||
|
|
||||||
};
|
} __attribute__ (( packed ));
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @defgroup int13types INT 13 disk types
|
* @defgroup int13types INT 13 disk types
|
||||||
|
|
Loading…
Reference in New Issue