blob: 649ac74d1adfbadfad312e8efe807736d6af5875 (
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(16)));
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)));
|