diff options
author | Andrew Waterman <waterman@eecs.berkeley.edu> | 2014-02-10 19:03:43 -0800 |
---|---|---|
committer | Andrew Waterman <waterman@eecs.berkeley.edu> | 2014-02-10 19:03:43 -0800 |
commit | 7c958898bba8a97ec73646d220b6ee6870fca2e7 (patch) | |
tree | 53cfea0ffb292d2d2fb40afc19e9fd477ba5ea1d /pk | |
parent | 8b310c29a2e80b23c4094334f4f0f0283a4f3d9a (diff) | |
download | riscv-pk-7c958898bba8a97ec73646d220b6ee6870fca2e7.zip riscv-pk-7c958898bba8a97ec73646d220b6ee6870fca2e7.tar.gz riscv-pk-7c958898bba8a97ec73646d220b6ee6870fca2e7.tar.bz2 |
Revert to old AUIPC definition
Diffstat (limited to 'pk')
-rw-r--r-- | pk/pk.S | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -18,11 +18,9 @@ _start: csrw status, a0 and a2, a1, SR_EF - auipc a0, %pcrel_hi(have_fp) - sw a2, %lo(have_fp)(a0) + sw a2, have_fp, t0 and a2, a1, SR_EA - auipc a0, %pcrel_hi(have_accelerator) - sw a2, %lo(have_accelerator)(a0) + sw a2, have_accelerator, t0 call boot |