summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2002-11-17 20:36:54 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2002-11-17 20:36:54 +0000
commit4a0cbf58ad19590f60b406fa9d727a74ebc7149d (patch)
treea60c83349492035302c639eb73a7b6f393dba5e6 /sys
parentc63656f558c397de6d2d4a694c6bfebf2e852b34 (diff)
Remove old unused debugging code.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/macppc/macppc/locore.S39
1 files changed, 1 insertions, 38 deletions
diff --git a/sys/arch/macppc/macppc/locore.S b/sys/arch/macppc/macppc/locore.S
index bf0dbd49398..cf3ce0f7ceb 100644
--- a/sys/arch/macppc/macppc/locore.S
+++ b/sys/arch/macppc/macppc/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.7 2002/09/15 09:01:58 deraadt Exp $ */
+/* $OpenBSD: locore.S,v 1.8 2002/11/17 20:36:53 drahn Exp $ */
/* $NetBSD: locore.S,v 1.2 1996/10/16 19:33:09 ws Exp $ */
/*
@@ -138,43 +138,6 @@ start:
bl _C_LABEL(main)
b _C_LABEL(OF_exit)
-#define LED_ADDR 0x800008c0
-_ENTRY(_C_LABEL(led_dbg))
- stwu 1,-32(1)
- mflr 0
- stw 0,36(1)
-
- stw 4,8(1)
- stw 5,12(1)
- stw 6,16(1)
- stw 7,20(1)
- mfmsr 5
-
- mr 6,5
- ori 6,6,(PSL_IR|PSL_DR)@l /* turn on MMU */
- mtmsr 6
- sync
- isync
-
- lis 4,LED_ADDR@ha
- addi 4,4,LED_ADDR@l
- li 7,0
- ori 3,3,0x2000
- sthbrx 3,7,4
-
- sync
- mtmsr 5
- isync
- lwz 4,8(1)
- lwz 5,12(1)
- lwz 6,16(1)
- lwz 7,20(1)
-
- lwz 0,36(1)
- mtlr 0
- addi 1,1,32
- blr
-
/*
* No processes are runnable, so loop waiting for one.
* Separate label here for accounting purposes.