summaryrefslogtreecommitdiff
path: root/firmware/target/sh/system-sh.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/sh/system-sh.c')
-rw-r--r--firmware/target/sh/system-sh.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/firmware/target/sh/system-sh.c b/firmware/target/sh/system-sh.c
index 02af40282f..7779c975a7 100644
--- a/firmware/target/sh/system-sh.c
+++ b/firmware/target/sh/system-sh.c
@@ -27,6 +27,17 @@
27#include "font.h" 27#include "font.h"
28#include "led.h" 28#include "led.h"
29 29
30const unsigned bit_n_table[32] = {
31 1LU<< 0, 1LU<< 1, 1LU<< 2, 1LU<< 3,
32 1LU<< 4, 1LU<< 5, 1LU<< 6, 1LU<< 7,
33 1LU<< 8, 1LU<< 9, 1LU<<10, 1LU<<11,
34 1LU<<12, 1LU<<13, 1LU<<14, 1LU<<15,
35 1LU<<16, 1LU<<17, 1LU<<18, 1LU<<19,
36 1LU<<20, 1LU<<21, 1LU<<22, 1LU<<23,
37 1LU<<24, 1LU<<25, 1LU<<26, 1LU<<27,
38 1LU<<28, 1LU<<29, 1LU<<30, 1LU<<31
39};
40
30static const char* const irqname[] = { 41static const char* const irqname[] = {
31 "", "", "", "", "IllInstr", "", "IllSltIn","","", 42 "", "", "", "", "IllInstr", "", "IllSltIn","","",
32 "CPUAdrEr", "DMAAdrEr", "NMI", "UserBrk", 43 "CPUAdrEr", "DMAAdrEr", "NMI", "UserBrk",