mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 02:06:53 +07:00
18 lines
281 B
C
18 lines
281 B
C
|
struct segment_descriptor {
|
||
|
u16 limit_low;
|
||
|
u16 base_low;
|
||
|
u8 base_mid;
|
||
|
u8 type : 4;
|
||
|
u8 system : 1;
|
||
|
u8 dpl : 2;
|
||
|
u8 present : 1;
|
||
|
u8 limit_high : 4;
|
||
|
u8 avl : 1;
|
||
|
u8 long_mode : 1;
|
||
|
u8 default_op : 1;
|
||
|
u8 granularity : 1;
|
||
|
u8 base_high;
|
||
|
} __attribute__((packed));
|
||
|
|
||
|
|