[Modified] change the way we decode and exec
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#define COMMON_H__
|
||||
|
||||
#ifdef DEBUG_MODE
|
||||
#define Log(fmt, ...) printf("[%s@%d %ld] " fmt "\n", __FILE__, __LINE__, clock(), ## __VA_ARGS__)
|
||||
#define Log(fmt, ...) printf("[%s:%d %ld] " fmt "\n", __FILE__, __LINE__, clock(), ## __VA_ARGS__)
|
||||
|
||||
#define panic(x) do { \
|
||||
Log(x); \
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#define DEVADDR_H__
|
||||
|
||||
#define RAM_ADDR 0x0000'0000
|
||||
#define IMG_ADDR 0x0000'8000
|
||||
#define IMG_ADDR 0x0001'04d8
|
||||
#define STK_ADDR 0x2000'0000
|
||||
|
||||
#define DEVICE_BASE 0xa0000000
|
||||
|
||||
Reference in New Issue
Block a user