diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-05-11 21:03:30 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-05-11 21:03:30 +0000 |
commit | 0b7cf97b70809d2e76450b784d79cbc415e33821 (patch) | |
tree | 9a01c65777d6ff86959eaf822e71b630fda9885c | |
parent | 999ca9c7988f32f2490c96d2c397338088c1afe9 (diff) |
Make sure we can still boot kernels directly from u-boot.
-rw-r--r-- | sys/arch/socppc/socppc/locore.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/socppc/socppc/locore.S b/sys/arch/socppc/socppc/locore.S index 89043c5c70d..76dda33eaac 100644 --- a/sys/arch/socppc/socppc/locore.S +++ b/sys/arch/socppc/socppc/locore.S @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.S,v 1.2 2008/05/11 19:59:38 kettenis Exp $ */ +/* $OpenBSD: locore.S,v 1.3 2008/05/11 21:03:29 kettenis Exp $ */ /* $NetBSD: locore.S,v 1.2 1996/10/16 19:33:09 ws Exp $ */ /* @@ -87,6 +87,8 @@ start: lis %r8,_end@ha addi %r8,%r8,_end@l #if defined(DDB) + cmpwi %r4, 0 + bne 1f cmpwi %r6, 0 beq 1f add %r9,%r6,%r7 |