From 7bcad351bfbf1804615e59e34acd6e2eac9cc96f Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Wed, 4 May 1994 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 1994-05-04 --- carrera/kbd.c | 1 - carrera/l.s | 18 ------------------ 2 files changed, 19 deletions(-) diff --git a/carrera/kbd.c b/carrera/kbd.c index 4dfefd2101f69d922dbd4d2fbdf0a9453f569bf7..3e4379070120887c14b5867e25bb227cdee570f2 100644 --- a/carrera/kbd.c +++ b/carrera/kbd.c @@ -352,7 +352,6 @@ int kbdinit(void) { int i; -return 0; /* * empty the buffer diff --git a/carrera/l.s b/carrera/l.s index 3cb76a2993da6f9d312245859f859cb599a05f30..aba6f945a3983ebf0f42224a1b58ff6d672cb04a 100644 --- a/carrera/l.s +++ b/carrera/l.s @@ -7,23 +7,9 @@ #define FCRNOOP NOOP; NOOP; NOOP #define WAIT NOOP; NOOP #define NOOP4 NOOP; NOOP; NOOP; NOOP - #define ERET NOOP4;NOOP4;NOOP4;WORD $0x42000018;NOOP4;NOOP4;NOOP4 - #define CONST(x,r) MOVW $((x)&0xffff0000), r; OR $((x)&0xffff), r -#define RDBGSV CONST(0x80020000, R26); \ - MOVW R29, 0(R26); \ - MOVW M(EPC), R27; \ - MOVW R27, 4(R26); \ - MOVW R31, 8(R26); \ - MOVW M(CAUSE), R27; \ - MOVW R27, 12(R26); \ - MOVW M(STATUS), R27; \ - MOVW R27, 16(R26); \ - MOVW M(BADVADDR), R27; \ - MOVW R27, 20(R26); - /* * R4000 instructions */ @@ -293,7 +279,6 @@ TEXT gettlbvirt(SB), $0 TEXT vector0(SB), $-4 NOOP4 NOOP4 - RDBGSV MOVW $utlbmiss(SB), R26 JMP (R26) @@ -370,14 +355,12 @@ stlbm: TEXT vector100(SB), $-4 NOOP4 NOOP4 - RDBGSV MOVW $exception(SB), R26 JMP (R26) TEXT vector180(SB), $-4 NOOP4 NOOP4 - RDBGSV MOVW $exception(SB), R26 JMP (R26) NOP @@ -427,7 +410,6 @@ sysrestore: notsys: JAL trap(SB) - RDBGSV restore: JAL restregs(SB) MOVW 0x28(SP), R31