Browse Source

Add missing attribute(packed) to two structures.

tags/v0.9.3
Michael Brown 17 years ago
parent
commit
c482fef058
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/arch/i386/include/int13.h

+ 2
- 2
src/arch/i386/include/int13.h View File

@@ -114,7 +114,7 @@ struct int13_disk_address {
114 114
 	uint64_t lba;
115 115
 	/** Data buffer (EDD-3.0 only) */
116 116
 	uint64_t buffer_phys;
117
-};
117
+} __attribute__ (( packed ));
118 118
 
119 119
 /** INT 13 disk parameters */
120 120
 struct int13_disk_parameters {
@@ -133,7 +133,7 @@ struct int13_disk_parameters {
133 133
 	/** Bytes per sector */
134 134
 	uint16_t sector_size;
135 135
 	
136
-};
136
+} __attribute__ (( packed ));
137 137
 
138 138
 /**
139 139
  * @defgroup int13types INT 13 disk types

Loading…
Cancel
Save