aboutsummaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2016-11-02 18:07:37 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-11-02 18:24:09 +1100
commit76c5eb99a6e8356ffd7479ec810d48c466dd6907 (patch)
tree9a6a7f41b88928f344b6f1c0cbdc5b789526e016 /asm
parente6f180d10a6f09f9dcde28629a691debf2284169 (diff)
downloadskiboot-76c5eb99a6e8356ffd7479ec810d48c466dd6907.zip
skiboot-76c5eb99a6e8356ffd7479ec810d48c466dd6907.tar.gz
skiboot-76c5eb99a6e8356ffd7479ec810d48c466dd6907.tar.bz2
mambo: Convert console read/write from asm to C
Also changes the function name: mambo_read/write() -> mambo_console_read/write() Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'asm')
-rw-r--r--asm/misc.S18
1 files changed, 0 insertions, 18 deletions
diff --git a/asm/misc.S b/asm/misc.S
index 6dcbad2..be87fbe 100644
--- a/asm/misc.S
+++ b/asm/misc.S
@@ -51,24 +51,6 @@ _mcount:
b __mcount_stack_check
#endif
-.global mambo_read
-mambo_read:
-#define SIM_READ_CONSOLE_CODE 60
- li %r3,SIM_READ_CONSOLE_CODE
- .long 0x000eaeb0
- extsw %r3,%r3
- blr
-
-.global mambo_write
-mambo_write:
-#define SIM_WRITE_CONSOLE_CODE 0
- li %r6,0
- mr %r5,%r4
- mr %r4,%r3
- li %r3,SIM_WRITE_CONSOLE_CODE
- .long 0x000eaeb0
- blr
-
.global mambo_get_time
mambo_get_time:
#define SIM_GET_TIME_CODE 70