mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
use __packed, rather than __attribute__((packed)).
This commit is contained in:
parent
5a4ba400c1
commit
691cb905d6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103847
@ -64,8 +64,7 @@
|
||||
*/
|
||||
struct segment_descriptor {
|
||||
unsigned sd_lolimit:16 ; /* segment extent (lsb) */
|
||||
unsigned sd_lobase:24 __attribute__ ((packed));
|
||||
/* segment base address (lsb) */
|
||||
unsigned sd_lobase:24 __packed; /* segment base address (lsb) */
|
||||
unsigned sd_type:5 ; /* segment type */
|
||||
unsigned sd_dpl:2 ; /* segment descriptor priority level */
|
||||
unsigned sd_p:1 ; /* segment descriptor present */
|
||||
@ -177,7 +176,7 @@ struct soft_segment_descriptor {
|
||||
*/
|
||||
struct region_descriptor {
|
||||
unsigned rd_limit:16; /* segment extent */
|
||||
unsigned rd_base:32 __attribute__ ((packed)); /* base address */
|
||||
unsigned rd_base:32 __packed; /* base address */
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -64,8 +64,7 @@
|
||||
*/
|
||||
struct segment_descriptor {
|
||||
unsigned sd_lolimit:16 ; /* segment extent (lsb) */
|
||||
unsigned sd_lobase:24 __attribute__ ((packed));
|
||||
/* segment base address (lsb) */
|
||||
unsigned sd_lobase:24 __packed; /* segment base address (lsb) */
|
||||
unsigned sd_type:5 ; /* segment type */
|
||||
unsigned sd_dpl:2 ; /* segment descriptor priority level */
|
||||
unsigned sd_p:1 ; /* segment descriptor present */
|
||||
@ -177,7 +176,7 @@ struct soft_segment_descriptor {
|
||||
*/
|
||||
struct region_descriptor {
|
||||
unsigned rd_limit:16; /* segment extent */
|
||||
unsigned rd_base:32 __attribute__ ((packed)); /* base address */
|
||||
unsigned rd_base:32 __packed; /* base address */
|
||||
};
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user