diff options
author | Andrew Waterman <andrew@sifive.com> | 2017-03-23 12:45:56 -0700 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2017-03-23 12:45:56 -0700 |
commit | 14cdc2888b1ad430c6f5c21b27ab8bd4ed13faab (patch) | |
tree | 24c877e7427b7383d845992dcf662fd331cd5028 /v | |
parent | e2e2a7111e6b357cb5ce677b97f45fa5dcdd01b9 (diff) | |
download | env-14cdc2888b1ad430c6f5c21b27ab8bd4ed13faab.zip env-14cdc2888b1ad430c6f5c21b27ab8bd4ed13faab.tar.gz env-14cdc2888b1ad430c6f5c21b27ab8bd4ed13faab.tar.bz2 |
Align mtvec target
Diffstat (limited to 'v')
-rw-r--r-- | v/vm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -234,6 +234,7 @@ void vm_boot(uintptr_t test_addr) "csrrw t0, mtvec, t0\n\t" "csrw pmpaddr0, %1\n\t" "csrw pmpcfg0, %0\n\t" + ".align 2\n\t" "1:" : : "r" (pmpc), "r" (-1UL) : "t0"); |