2016-05-04 | Paul Boddie | raw annotate files changeset graph | Made an inline function for address space conversion. Defined the end of the memory in the linker script for consistency. |
1 #ifndef __PAGING_H__ 2 #define __PAGING_H__ 3 4 #define page_table_start 0x81400000 5 #define page_table_task_size 0x00008000 6 7 #define USER_ADDRESS_MASK 0x7fffffff 8 9 #ifndef __ASSEMBLER__ 10 11 #include "xburst_types.h" 12 13 u32 user_address(u32 addr); 14 15 #endif /* __ASSEMBLER__ */ 16 17 #endif /* __PAGING_H__ */