2017-07-09 | Paul Boddie | raw annotate files changeset graph | Moved initialisation details to the generic LCD module, changing the address computation functions to use information from the display structure. Moved clock and power management operations into the generic LCD module, thus focusing the jz4740 LCD module on specific LCD-related functionality. |
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__ */