Skip to content
Snippets Groups Projects
Unverified Commit b1414206 authored by jnk0le's avatar jnk0le Committed by GitHub
Browse files

clobber both assembly blocks

parent 1876949b
No related branches found
No related tags found
No related merge requests found
......@@ -783,7 +783,8 @@ void handle_reset()
csrw 0x804, a3\n\
la a0, InterruptVector\n\
or a0, a0, a3\n\
csrw mtvec, a0\n" );
csrw mtvec, a0\n"
: : : "a0", "a3", "memory");
// Careful: Use registers to prevent overwriting of self-data.
// This clears out BSS.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment