From c5ebb1d005e1a176b94be136aa21734c03d34d08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= Date: Mon, 16 Jan 2017 00:31:34 +0100 Subject: riscv: Move mcall numbers to mcall.h, adjust their names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The new name and location make more sense: - The instruction used to call into machine mode isn't called "ecall" anymore; it's mcall now. - Having SBI_ in the name is slightly wrong, too: these numbers are not part of the Supervisor Binary Interface, they are just used to forward SBI calls (they could be renumbered arbitrarily without breaking an OS that's run under coreboot). Also remove mcall_dev_{req,resp} and the corresponding mcall numbers, which are no longer used. Change-Id: I76a8cb04e4ace51964b1cb4f67d49cfee9850da7 Signed-off-by: Jonathan Neuschäfer Reviewed-on: https://review.coreboot.org/18146 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/arch/riscv/mcall.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/arch/riscv/mcall.c') diff --git a/src/arch/riscv/mcall.c b/src/arch/riscv/mcall.c index 37a9366821..7728fbac5d 100644 --- a/src/arch/riscv/mcall.c +++ b/src/arch/riscv/mcall.c @@ -90,18 +90,6 @@ uintptr_t mcall_set_timer(uint64_t when) return 0; } -uintptr_t mcall_dev_req(sbi_device_message *m) -{ - die("mcall_dev_req is currently not implemented"); - return 0; -} - -uintptr_t mcall_dev_resp(void) -{ - die("mcall_dev_resp is currently not implemented"); - return 0; -} - void hls_init(uint32_t hart_id) { query_result res; -- cgit v1.2.3