From f3cce72269703e983e4a4e6ec8dc9217b0c2b6fe Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Tue, 17 Jan 2017 22:54:13 +0100 Subject: hwstub/jz460b: implement exception recovery Now that we now that jz4760b implements EBASE, we can use it to rebase exceptions to use a k1seg address, that maps to the physical address of the TCSM0. It requires to enable HAB1 to have this translation. This most the most inefficient way to access tighly coupled memory ever, but it works. Change-Id: I894ca929c9835696102eb2fef44b06e6eaf96d44 --- utils/hwstub/stub/jz4760b/target-config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'utils/hwstub/stub/jz4760b/target-config.h') diff --git a/utils/hwstub/stub/jz4760b/target-config.h b/utils/hwstub/stub/jz4760b/target-config.h index 681e17e6f6..5737e0bc87 100644 --- a/utils/hwstub/stub/jz4760b/target-config.h +++ b/utils/hwstub/stub/jz4760b/target-config.h @@ -1,6 +1,7 @@ #define CONFIG_JZ4760B #define TCSM0_ORIG 0xf4000000 #define TCSM0_SIZE 0x4000 +#define TCSM0_UNCACHED_ADDRESS 0xb32b0000 #define CPU_MIPS #define STACK_SIZE 0x300 #define DCACHE_SIZE 0x4000 /* 16 kB */ -- cgit v1.2.3