summaryrefslogtreecommitdiff
path: root/src/arch/riscv/include
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2016-07-18 17:56:59 +0200
committerRonald G. Minnich <rminnich@gmail.com>2016-07-18 22:51:13 +0200
commit47995fbb36d914d96b7c6e49d81135834dc3f157 (patch)
tree6eefc5bcfd2db5e335ab07a6b762aee1c78e1471 /src/arch/riscv/include
parentb8e67acc919cff0494607dbd470257d2651cb8e8 (diff)
arch/riscv: Remove enter_supervisor
This function is unused since coreboot starts payloads in machine mode, and it uses the obsolete eret instruction. Change-Id: I98d7d0de5a3959821c21a0ba4319efb610fdefde Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Reviewed-on: https://review.coreboot.org/15729 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/arch/riscv/include')
-rw-r--r--src/arch/riscv/include/vm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/arch/riscv/include/vm.h b/src/arch/riscv/include/vm.h
index f9ffc407da..5bf03c796e 100644
--- a/src/arch/riscv/include/vm.h
+++ b/src/arch/riscv/include/vm.h
@@ -57,7 +57,6 @@
typedef uintptr_t pte_t;
extern pte_t* root_page_table;
-void enter_supervisor(void);
void initVirtualMemory(void);
size_t pte_ppn(pte_t pte);