FreeNOS
|
Go to the source code of this file.
Macros | |
#define | CR0_PE 0x00000001 |
Intel CPU Constants. More... | |
#define | CR0_PG 0x80000000 |
Paged Mode. More... | |
#define | CR4_TSD 0x00000004 |
Timestamp Counter Disable. More... | |
#define | CR4_PSE (1 << 4) |
#define | KERNEL_CS 1 |
Kernel Code Segment. More... | |
#define | KERNEL_CS_SEL 0x8 |
#define | KERNEL_DS 2 |
System Data Segment. More... | |
#define | KERNEL_DS_SEL 0x10 |
#define | USER_CS 3 |
User Code Segment. More... | |
#define | USER_CS_SEL (0x18 | 3) |
#define | USER_DS 4 |
User Data Segment. More... | |
#define | USER_DS_SEL (0x20 | 3) |
#define | KERNEL_TSS 5 |
Kernel Task State Segment. More... | |
#define | KERNEL_TSS_SEL 0x28 |
#define | PAGESHIFT 12 |
Intel Memory Constants. More... | |
#define | DIRSHIFT 22 |
Page table bit shift. More... | |
#define | PAGESIZE 4096 |
Intel uses 4K pages. More... | |
#define | PAGEDIR_MAX 1024 |
Number of entries in the page directory. More... | |
#define | PAGETAB_MAX 1024 |
Number of entries in a page table. More... | |
#define | PAGEMASK 0xfffff000 |
Mask to find the page. More... | |
#define | SECTIONMASK 0xffc00000 |
Mask for large 4MiB mappings. More... | |
#define | MEMALIGN 4 |
Memory address alignment. More... | |