diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-05-11 19:59:39 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-05-11 19:59:39 +0000 |
commit | 6d32c22effb5153780f5c751f4fb3f88556015ae (patch) | |
tree | b8712f567a1f6a694c3dc4bfcbb11df3748caebf /sys | |
parent | db36e11329b987b41582b7b9b620de8680e7a3f2 (diff) |
Re-enable code to initialize esym.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/socppc/socppc/locore.S | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/arch/socppc/socppc/locore.S b/sys/arch/socppc/socppc/locore.S index 48acd5b1e0f..89043c5c70d 100644 --- a/sys/arch/socppc/socppc/locore.S +++ b/sys/arch/socppc/socppc/locore.S @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.S,v 1.1 2008/05/10 12:18:30 kettenis Exp $ */ +/* $OpenBSD: locore.S,v 1.2 2008/05/11 19:59:38 kettenis Exp $ */ /* $NetBSD: locore.S,v 1.2 1996/10/16 19:33:09 ws Exp $ */ /* @@ -82,18 +82,11 @@ _ENTRY(_ASM_LABEL(start)) start: lis %r3, fwargsave@ha stw %r29, fwargsave@l(%r3) -#if 0 - li %r0,0 - mtmsr %r0 /* Disable FPU/MMU/exceptions */ - isync -#endif /* compute end of kernel memory */ lis %r8,_end@ha addi %r8,%r8,_end@l - lis %r3, fwargsave@ha - lwz %r6, fwargsave@l(%r3) -#if defined(NOTDEF_DDB) +#if defined(DDB) cmpwi %r6, 0 beq 1f add %r9,%r6,%r7 |