provide an early exception vector table to catch exceptions during startup, before the final table has been set up (in exceptions.S)

This commit is contained in:
Markus Fröschle
2013-08-02 09:35:57 +00:00
parent 79bc80daa1
commit feb6a27869
5 changed files with 63 additions and 3 deletions

View File

@@ -16,6 +16,14 @@
#define COPYBACK_MMUDR (MCF_MMU_MMUDR_SZ(00) | MCF_MMU_MMUDR_CM(01) | MCF_MMU_MMUDR_R | MCF_MMU_MMUDR_W | MCF_MMU_MMUDR_X)
#define NOCACHE_PRECISE_MMUDR (MCF_MMU_MMUDR_SZ(00) | MCF_MMU_MMUDR_CM(10) | MCF_MMU_MMUDR_R | MCF_MMU_MMUDR_W | MCF_MMU_MMUDR_X)
#define SCA_PAGE_ID 6
/*
* global variables from linker script
*/
extern long video_tlb;
extern long video_sbt;
extern void mmu_init(void);
extern void mmutr_miss(void) __attribute__((interrupt));