- Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathmemory.h
More file actions
Latest commit
15 lines (12 loc) · 563 Bytes
/
Copy pathmemory.h
File metadata and controls
15 lines (12 loc) · 563 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndefINCLUDE_MEMORY_H
#defineINCLUDE_MEMORY_H
#defineUPPER_GB_START (void*) 0xC0000000
#defineTMP_PAGE_0 (void*) 0xFFBFB000
#defineTMP_PAGE_1 (void*) 0xFFBFC000
#defineTMP_PAGE_2 (void*) 0xFFBFD000
#defineTMP_PAGE_3 (void*) 0xFFBFE000
#defineTMP_PAGE_4 (void*) 0xFFBFF000
#defineFIRST_PAGE_TABLE_ADDRESS (void*) 0xFFC00000 // 4 MB from end
#definePAGE_DIRECTORY_ADDRESS (void*) 0xFFFFF000 // 4 KB from end
#defineKERNEL_STACK_SIZE 4096
#endif/* INCLUDE_MEMORY_H */