diff options
author | Andrew Waterman <waterman@cs.berkeley.edu> | 2015-02-09 15:38:07 -0800 |
---|---|---|
committer | Andrew Waterman <waterman@cs.berkeley.edu> | 2015-02-09 21:19:18 -0800 |
commit | 5c8645013001ff125f9b28e0f861328e9b9a4d12 (patch) | |
tree | 0b04cb002dd38ff87b1d9ead9f45f31717fb1617 /pk/pk.h | |
parent | d2b36b1484059c5792cdf9243f972c83bb96026a (diff) | |
download | riscv-pk-5c8645013001ff125f9b28e0f861328e9b9a4d12.zip riscv-pk-5c8645013001ff125f9b28e0f861328e9b9a4d12.tar.gz riscv-pk-5c8645013001ff125f9b28e0f861328e9b9a4d12.tar.bz2 |
work in progress on new supervisor spec
Diffstat (limited to 'pk/pk.h')
-rw-r--r-- | pk/pk.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -12,7 +12,7 @@ typedef struct { long gpr[32]; - long sr; + long status; long epc; long badvaddr; long cause; @@ -33,12 +33,10 @@ void kassert_fail(const char* s) __attribute__((noreturn)); extern "C" { #endif -extern int have_fp; -extern int have_accelerator; extern int have_vm; extern uint32_t mem_mb; int emulate_fp(trapframe_t*); -void init_fp(trapframe_t* tf); +void fp_init(); int emulate_int(trapframe_t*); |