2017-07-11 | Paul Boddie | raw annotate files changeset graph | Introduced a separate clock and power management module, simplifying the LCD initialisation code, also simplifying the frequency calculations in the stage1 payload. |
1 #ifndef __CPU_H__ 2 #define __CPU_H__ 3 4 #include "xburst_types.h" 5 6 void flush_cache_all(); 7 void init_registers(uint32_t *, uint32_t, void (*)(), uint32_t[], uint8_t); 8 void init_tlb(uint8_t); 9 void init_page_table(uint32_t, uint32_t, uint32_t, uint32_t, uint8_t, uint8_t); 10 void map_page(uint32_t, uint32_t, uint32_t, uint8_t, uint8_t); 11 void map_page_index(uint32_t, uint32_t, uint32_t, uint8_t, uint8_t, uint32_t); 12 13 #endif /* __CPU_H__ */