Use __packed;
This commit is contained in:
parent
ab46875a2a
commit
1352a54255
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112558
@ -57,7 +57,7 @@ struct smapi_bios_header {
|
|||||||
u_int32_t prot32_offset;
|
u_int32_t prot32_offset;
|
||||||
u_int32_t prot32_segment;
|
u_int32_t prot32_segment;
|
||||||
|
|
||||||
};
|
} __packed;
|
||||||
|
|
||||||
struct smapi_bios_parameter {
|
struct smapi_bios_parameter {
|
||||||
union {
|
union {
|
||||||
@ -78,7 +78,7 @@ struct smapi_bios_parameter {
|
|||||||
u_int32_t param4;
|
u_int32_t param4;
|
||||||
u_int32_t param5;
|
u_int32_t param5;
|
||||||
|
|
||||||
};
|
} __packed;
|
||||||
|
|
||||||
#define cmd_func type.in.func
|
#define cmd_func type.in.func
|
||||||
#define cmd_sub_func type.in.sub_func
|
#define cmd_sub_func type.in.sub_func
|
||||||
|
Loading…
Reference in New Issue
Block a user