aboutsummaryrefslogtreecommitdiff
path: root/machine/mcall.h
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2017-02-17 01:54:41 -0800
committerAndrew Waterman <andrew@sifive.com>2017-02-17 01:54:41 -0800
commit926b360655fd7a22413c7732faceeea21a224aa1 (patch)
treea0fe50446c5ccbdb2aecd7945aa7025804c655e7 /machine/mcall.h
parent611290ccde8d76c1973a37d82a5d4b3e4b7b90c4 (diff)
downloadpk-926b360655fd7a22413c7732faceeea21a224aa1.zip
pk-926b360655fd7a22413c7732faceeea21a224aa1.tar.gz
pk-926b360655fd7a22413c7732faceeea21a224aa1.tar.bz2
WIP towards ECALL interface for SBI
Diffstat (limited to 'machine/mcall.h')
-rw-r--r--machine/mcall.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/machine/mcall.h b/machine/mcall.h
index ed5a28c..a704480 100644
--- a/machine/mcall.h
+++ b/machine/mcall.h
@@ -1,7 +1,6 @@
#ifndef _RISCV_MCALL_H
#define _RISCV_MCALL_H
-#define MCALL_HART_ID 0
#define MCALL_CONSOLE_PUTCHAR 1
#define MCALL_CONSOLE_GETCHAR 2
#define MCALL_SEND_IPI 4
@@ -11,10 +10,4 @@
#define MCALL_REMOTE_SFENCE_VM 8
#define MCALL_REMOTE_FENCE_I 9
-#ifndef __ASSEMBLER__
-
-extern uintptr_t do_mcall(uintptr_t which, ...);
-
-#endif
-
#endif