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

Loading…
Cancel
Save