2016-10-02 | Paul Boddie | raw annotate files changeset graph | Introduced convenience functions handling page pairs. |
1 #ifndef __PAGING_H__ 2 #define __PAGING_H__ 3 4 #define USER_ADDRESS_MASK 0x7fffffff 5 6 #ifndef __ASSEMBLER__ 7 8 #include "xburst_types.h" 9 10 u32 user_address(u32 addr); 11 u32 previous_page(u32 addr, u32 pagesize); 12 u32 next_page(u32 addr, u32 pagesize); 13 14 #endif /* __ASSEMBLER__ */ 15 16 #endif /* __PAGING_H__ */