64,8 → 64,8 |
typedef struct gate { |
WORD offset_lo __attribute__ ((packed)); |
WORD sel __attribute__ ((packed)); |
BYTE dword_cnt __attribute__ ((packed)); |
BYTE access __attribute__ ((packed)); |
BYTE dword_cnt __attribute__ ((packed)); |
BYTE access __attribute__ ((packed)); |
WORD offset_hi __attribute__ ((packed)); |
} GATE; |
|
72,10 → 72,10 |
typedef struct descriptor { |
WORD lim_lo __attribute__ ((packed)); |
WORD base_lo __attribute__ ((packed)); |
BYTE base_med __attribute__ ((packed)); |
BYTE access __attribute__ ((packed)); |
BYTE gran __attribute__ ((packed)); |
BYTE base_hi __attribute__ ((packed)); |
BYTE base_med __attribute__ ((packed)); |
BYTE access __attribute__ ((packed)); |
BYTE gran __attribute__ ((packed)); |
BYTE base_hi __attribute__ ((packed)); |
} DESCRIPTOR; |
|
/* A LDT/GDT entry could be a gate or a selector */ |
200,7 → 200,7 |
WORD trap __attribute__ ((packed)); |
WORD io_base __attribute__ ((packed)); |
DWORD control __attribute__ ((packed)); |
BYTE ctx_FPU[FPU_CONTEXT_SIZE] __attribute__ ((packed)); |
BYTE ctx_FPU[FPU_CONTEXT_SIZE] __attribute__ ((packed)); |
} TSS; |
|
/* Irq services specifications */ |