diff options
author | Tim Newsome <tim@sifive.com> | 2016-04-23 10:18:05 -0700 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2016-05-23 12:12:11 -0700 |
commit | 7facb160390cbd6a1b19d62966fe5140425ee72a (patch) | |
tree | 031a5bd46d9933b6c84f11d08a48d8aa906ffad6 /debug_rom/debug_rom.h | |
parent | 6835847f4798cc38f933ba877004eacfc1cbf593 (diff) | |
download | spike-7facb160390cbd6a1b19d62966fe5140425ee72a.zip spike-7facb160390cbd6a1b19d62966fe5140425ee72a.tar.gz spike-7facb160390cbd6a1b19d62966fe5140425ee72a.tar.bz2 |
Clean up how Debug ROM is included.
I'm not thrilled about including a static copy in so many cc files, and
making the compiler throw it out. But without really grokking the
Makefile this is the best it's going to be.
Diffstat (limited to 'debug_rom/debug_rom.h')
-rw-r--r-- | debug_rom/debug_rom.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/debug_rom/debug_rom.h b/debug_rom/debug_rom.h new file mode 100644 index 0000000..1c53e11 --- /dev/null +++ b/debug_rom/debug_rom.h @@ -0,0 +1,18 @@ +static const unsigned char debug_rom_raw[] = { + 0x6f, 0x00, 0x40, 0x05, 0xf3, 0x24, 0x00, 0xf1, 0x23, 0x24, 0x90, 0x10, + 0xf3, 0x24, 0x00, 0x79, 0x93, 0xf4, 0x04, 0x40, 0x63, 0x94, 0x04, 0x08, + 0xf3, 0x24, 0x00, 0xf0, 0x63, 0xc6, 0x04, 0x00, 0x83, 0x24, 0xc0, 0x43, + 0x6f, 0x00, 0x80, 0x01, 0x93, 0x94, 0x14, 0x00, 0x63, 0xc6, 0x04, 0x00, + 0x83, 0x34, 0x80, 0x43, 0x6f, 0x00, 0x80, 0x00, 0x13, 0x00, 0x00, 0x00, + 0x73, 0x24, 0x00, 0x79, 0x13, 0x74, 0x84, 0x00, 0x63, 0x04, 0x04, 0x00, + 0x6f, 0x00, 0x40, 0x05, 0x73, 0x24, 0x20, 0x79, 0x73, 0x00, 0x00, 0x10, + 0x73, 0x10, 0x24, 0x79, 0x73, 0x24, 0x00, 0x79, 0x13, 0x74, 0x74, 0x00, + 0x13, 0x04, 0xd4, 0xff, 0x63, 0x16, 0x04, 0x02, 0x73, 0x24, 0x00, 0xf0, + 0x63, 0x46, 0x04, 0x00, 0x23, 0x2e, 0x90, 0x42, 0x67, 0x00, 0x00, 0x40, + 0x13, 0x14, 0x14, 0x00, 0x63, 0x46, 0x04, 0x00, 0x23, 0x3c, 0x90, 0x42, + 0x67, 0x00, 0x00, 0x40, 0x13, 0x00, 0x00, 0x00, 0x67, 0x00, 0x00, 0x40, + 0x73, 0x24, 0x00, 0xf1, 0x23, 0x20, 0x80, 0x10, 0x73, 0xe0, 0x01, 0x79, + 0x73, 0x24, 0x00, 0x79, 0x13, 0x74, 0x04, 0x40, 0xe3, 0x0c, 0x04, 0xfe, + 0x6f, 0xf0, 0x1f, 0xfc +}; +static const unsigned int debug_rom_raw_len = 172; |