aboutsummaryrefslogtreecommitdiff
path: root/pk/sbi_entry.S
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2015-07-05 16:52:05 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2015-07-05 16:52:05 -0700
commita6da37f21720d12f0295876ce426bc081a62a7d8 (patch)
treece3a531905b52858899a470eca3bfb43050de536 /pk/sbi_entry.S
parent027ba300cbeaa425218fd472e1fcf45c785f645c (diff)
downloadpk-a6da37f21720d12f0295876ce426bc081a62a7d8.zip
pk-a6da37f21720d12f0295876ce426bc081a62a7d8.tar.gz
pk-a6da37f21720d12f0295876ce426bc081a62a7d8.tar.bz2
New M-mode timer and SBI call to use it
Diffstat (limited to 'pk/sbi_entry.S')
-rw-r--r--pk/sbi_entry.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/pk/sbi_entry.S b/pk/sbi_entry.S
index 3d5292f..4fbac8f 100644
--- a/pk/sbi_entry.S
+++ b/pk/sbi_entry.S
@@ -65,6 +65,12 @@ sbi_base:
li a7, MCALL_SHUTDOWN
ecall
+ # set_timer
+ .align 4
+ li a7, MCALL_SET_TIMER
+ ecall
+ ret
+
# end of SBI trampolines
.globl do_mcall