From 030e704e9f57bf15379a00e029a76b10a771394a Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 9 Oct 2014 09:44:23 +0000 Subject: allow building a kernel without ddb ok mpi --- sys/arch/macppc/macppc/locore.S | 6 +++++- sys/arch/socppc/socppc/locore.S | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/arch/macppc/macppc/locore.S b/sys/arch/macppc/macppc/locore.S index b73aa90e311..1b87e9695ef 100644 --- a/sys/arch/macppc/macppc/locore.S +++ b/sys/arch/macppc/macppc/locore.S @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.S,v 1.45 2014/09/06 10:45:29 mpi Exp $ */ +/* $OpenBSD: locore.S,v 1.46 2014/10/09 09:44:20 deraadt Exp $ */ /* $NetBSD: locore.S,v 1.2 1996/10/16 19:33:09 ws Exp $ */ /* @@ -1346,7 +1346,9 @@ _C_LABEL(rfi_start): .long rfi1, rfi1 + 4 .long rfi2, rfi2 + 4 .long rfi3, rfi3 + 4 +#ifdef DDB .long rfi4, rfi4 + 4 +#endif .long 0, 0 @@ -1364,5 +1366,7 @@ _C_LABEL(nop32_start): .long nop32_4s, nop32_4e .long nop32_5s, nop32_5e .long nop32_6s, nop32_6e +#ifdef DDB .long nop32_7s, nop32_7e +#endif .long 0, 0 diff --git a/sys/arch/socppc/socppc/locore.S b/sys/arch/socppc/socppc/locore.S index 5501fd059b1..9aeff4cd3a7 100644 --- a/sys/arch/socppc/socppc/locore.S +++ b/sys/arch/socppc/socppc/locore.S @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.S,v 1.12 2014/09/06 10:45:29 mpi Exp $ */ +/* $OpenBSD: locore.S,v 1.13 2014/10/09 09:44:22 deraadt Exp $ */ /* $NetBSD: locore.S,v 1.2 1996/10/16 19:33:09 ws Exp $ */ /* @@ -1365,7 +1365,9 @@ _C_LABEL(rfi_start): .long rfi1, rfi1 + 4 .long rfi2, rfi2 + 4 .long rfi3, rfi3 + 4 +#ifdef DDB .long rfi4, rfi4 + 4 +#endif .long 0, 0 @@ -1383,5 +1385,7 @@ _C_LABEL(nop32_start): .long nop32_4s, nop32_4e .long nop32_5s, nop32_5e .long nop32_6s, nop32_6e +#ifdef DDB .long nop32_7s, nop32_7e +#endif .long 0, 0 -- cgit v1.2.3