From 47995fbb36d914d96b7c6e49d81135834dc3f157 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= Date: Mon, 18 Jul 2016 17:56:59 +0200 Subject: arch/riscv: Remove enter_supervisor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/15729 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/arch/riscv/include/vm.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/arch/riscv/include/vm.h') 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); -- cgit v1.2.3