[ Pobierz całość w formacie PDF ]
.#ifndef __ASM_SYSTEM_H#define __ASM_SYSTEM_H#include/** Entry into gdt where to find first TSS.GDT layout:* 0 - nul* 1 - kernel code segment* 2 - kernel data segment* 3 - user code segment* 4 - user data segment*.* 8 - TSS #0* 9 - LDT #0* 10 - TSS #1* 11 - LDT #1*/#define FIRST_TSS_ENTRY 8#define FIRST_LDT_ENTRY (FIRST_TSS_ENTRY+1)#define _TSS(n) ((((unsigned long) n)
[ Pobierz całość w formacie PDF ]