blob: c0c00f6a02c23aeac6722d58cd18f86284fc107e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include <stdint.h>
struct descriptor_table_register_long
{
uint16_t limit;
uint64_t base;
} __attribute__((packed, aligned(8)));
struct segment_descriptor
{
uint16_t limit0;
uint16_t base0;
uint8_t base16;
uint8_t access;
uint8_t flags_limit16;
uint8_t base24;
} __attribute__((packed, aligned(8)));
|