http://git.etherboot.org
/
people
/
pcmattman
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
82124ea
)
Add missing attribute(packed) to two structures.
author
Michael Brown
<mcb30@etherboot.org>
Mon, 29 Oct 2007 21:22:00 +0000
(21:22 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Mon, 29 Oct 2007 21:22:00 +0000
(21:22 +0000)
src/arch/i386/include/int13.h
patch
|
blob
|
history
diff --git
a/src/arch/i386/include/int13.h
b/src/arch/i386/include/int13.h
index
32ecadc
..
2a19383
100644
(file)
--- 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