2016-02-24 | Paul Boddie | raw annotate files changeset graph | Switched to position-independent code to enable user mode execution. | stage2-non-pic |
1 #ifndef __CPU_H__ 2 #define __CPU_H__ 3 4 #include "xburst_types.h" 5 6 void flush_cache_all(void); 7 void handle_error_level(void); 8 void enter_user_mode(void); 9 void enable_interrupts(void); 10 void init_interrupts(void); 11 void init_tlb(void); 12 void map_page(u32, u32, u32, u8, u8); 13 void map_page_index(u32, u32, u32, u8, u8, u32); 14 void unmap_page(u32, u32, u32, u8, u8); 15 16 #endif /* __CPU_H__ */