Changeset 36125 in vbox for trunk/src/recompiler/target-i386/svm.h
- Timestamp:
- Mar 1, 2011 4:49:42 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/target-i386/svm.h
r17040 r36125 131 131 #define SVM_CR0_SELECTIVE_MASK (1 << 3 | 1) /* TS and MP */ 132 132 133 #ifndef VBOX134 133 struct __attribute__ ((__packed__)) vmcb_control_area { 135 #else136 PACKED_STRUCT(vmcb_control_area) {137 #endif /* VBOX */138 134 uint16_t intercept_cr_read; 139 135 uint16_t intercept_cr_write; … … 167 163 }; 168 164 169 #ifndef VBOX170 165 struct __attribute__ ((__packed__)) vmcb_seg { 171 #else172 PACKED_STRUCT(vmcb_seg) {173 #endif174 166 uint16_t selector; 175 167 uint16_t attrib; … … 178 170 }; 179 171 180 #ifndef VBOX181 172 struct __attribute__ ((__packed__)) vmcb_save_area { 182 #else183 PACKED_STRUCT(vmcb_save_area) {184 #endif185 173 struct vmcb_seg es; 186 174 struct vmcb_seg cs; … … 227 215 }; 228 216 229 #ifndef VBOX230 217 struct __attribute__ ((__packed__)) vmcb { 231 #else232 PACKED_STRUCT(vmcb) {233 #endif234 218 struct vmcb_control_area control; 235 219 struct vmcb_save_area save;
Note:
See TracChangeset
for help on using the changeset viewer.