2016-10-02 | Paul Boddie | raw annotate files changeset graph | Introduced convenience functions handling page pairs. |
1 #ifndef __MEMORY_H__ 2 #define __MEMORY_H__ 3 4 /* Kernel mode addresses. */ 5 6 #define STAGE2_INIT_STACK 0x80004000 7 #define STAGE2_EXCEPTION_STACK 0x80008000 8 9 #define STAGE2_PAGE_TABLE 0x81400000 10 #define STAGE2_PAGE_TABLE_TASK 0x00008000 11 12 /* User mode addresses. */ 13 14 #define STAGE2_TASK_STACK 0x01c00000 15 #define STAGE2_TASK_STACK_SIZE 0x00002000 16 17 /* Common configuration. */ 18 19 #define STAGE2_PAGESIZE (4 * 1024) 20 21 #endif /* __MEMORY_H__ */