add to, and prioritize the TODO a little.
[trinity.git] / include / arch-sh.h
blob61ed63ef72bf1a7bb19e729f490e810773c7ec0e
1 #pragma once
3 #include <stdint.h>
5 #if __WORDSIZE == 64
6 #define KERNEL_ADDR 0xfffff80000000000
7 #define MODULE_ADDR 0xffffffffa0000000L // FIXME: Placeholder
8 #define TASK_SIZE ~0UL
9 #define PAGE_SHIFT 12
10 #define PTE_FILE_MAX_BITS 29
11 #else
12 #define KERNEL_ADDR 0xf0000000
13 #define TASK_SIZE 0xF0000000UL
14 #define PAGE_SHIFT 12
15 #define PTE_FILE_MAX_BITS 31
16 #endif
18 #define SYSCALLS syscalls_sh