From 76c5eb99a6e8356ffd7479ec810d48c466dd6907 Mon Sep 17 00:00:00 2001 From: Michael Neuling Date: Wed, 2 Nov 2016 18:07:37 +1100 Subject: 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 Signed-off-by: Stewart Smith --- asm/misc.S | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'asm/misc.S') 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 -- cgit v1.1