diff options
author | Michael Brown <mcb30@etherboot.org> | 2007-10-29 21:22:00 +0000 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2007-10-29 21:22:00 +0000 |
commit | c482fef058d1d59a331b19d5b272baf89bfcedbc (patch) | |
tree | ee371997dfea1ead4d963c88c0105105d575d73e /src/arch | |
parent | 82124ea6880f404253cf49b92af4da64323ec1cb (diff) | |
download | ipxe-c482fef058d1d59a331b19d5b272baf89bfcedbc.tar.gz |
Add missing attribute(packed) to two structures.
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/i386/include/int13.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/i386/include/int13.h b/src/arch/i386/include/int13.h index 32ecadc2..2a193831 100644 --- a/src/arch/i386/include/int13.h +++ b/src/arch/i386/include/int13.h @@ -114,7 +114,7 @@ struct int13_disk_address { uint64_t lba; /** Data buffer (EDD-3.0 only) */ uint64_t buffer_phys; -}; +} __attribute__ (( packed )); /** INT 13 disk parameters */ struct int13_disk_parameters { @@ -133,7 +133,7 @@ struct int13_disk_parameters { /** Bytes per sector */ uint16_t sector_size; -}; +} __attribute__ (( packed )); /** * @defgroup int13types INT 13 disk types |