diff options
author | Flavian Kaufmann <flavian@flaviankaufmann.ch> | 2024-05-23 20:51:28 +0200 |
---|---|---|
committer | Flavian Kaufmann <flavian@flaviankaufmann.ch> | 2024-05-23 20:51:28 +0200 |
commit | a515876002bef28d11e79ee9f74baa34790d86ce (patch) | |
tree | 919a124b96cb08561e9eb9b2623ed5d0e1efed86 /prog/src/startup.c | |
parent | eb163582941af4b3fac8daf00665e1b704fd7c23 (diff) | |
download | riscv_cpu-a515876002bef28d11e79ee9f74baa34790d86ce.tar.gz riscv_cpu-a515876002bef28d11e79ee9f74baa34790d86ce.zip |
support for lb, lh, lbu, lhu, sb, sh
Diffstat (limited to 'prog/src/startup.c')
-rw-r--r-- | prog/src/startup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/prog/src/startup.c b/prog/src/startup.c index 2ed3253..b587a95 100644 --- a/prog/src/startup.c +++ b/prog/src/startup.c @@ -5,15 +5,15 @@ extern unsigned int _sbss; // start of .bss section extern unsigned int _ebss; // end of .bss section extern unsigned int _estack; // end of .stack section (stack top) -void main(void); // main function declaration +//void main(void); // main function declaration -// extern void test_prog(void); +extern void test_prog(void); void _start(void) __attribute__((section(".text.startup"), naked)); // entry point, cpu starts executing from here void _start(void) { - // test_prog(); + //test_prog(); unsigned int *src, *dst; |