aboutsummaryrefslogtreecommitdiff
path: root/pk/pk.h
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2015-02-09 15:38:07 -0800
committerAndrew Waterman <waterman@cs.berkeley.edu>2015-02-09 21:19:18 -0800
commit5c8645013001ff125f9b28e0f861328e9b9a4d12 (patch)
tree0b04cb002dd38ff87b1d9ead9f45f31717fb1617 /pk/pk.h
parentd2b36b1484059c5792cdf9243f972c83bb96026a (diff)
downloadpk-5c8645013001ff125f9b28e0f861328e9b9a4d12.zip
pk-5c8645013001ff125f9b28e0f861328e9b9a4d12.tar.gz
pk-5c8645013001ff125f9b28e0f861328e9b9a4d12.tar.bz2
work in progress on new supervisor spec
Diffstat (limited to 'pk/pk.h')
-rw-r--r--pk/pk.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/pk/pk.h b/pk/pk.h
index e7a8d8e..011bff3 100644
--- a/pk/pk.h
+++ b/pk/pk.h
@@ -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*);