Deleted Added
full compact
machdep.c (1208) machdep.c (1247)
1/*-
2 * Copyright (c) 1992 Terrence R. Lambert.
3 * Copyright (c) 1982, 1987, 1990 The Regents of the University of California.
4 * All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * William Jolitz.
8 *

--- 21 unchanged lines hidden (view full) ---

30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 * SUCH DAMAGE.
36 *
37 * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
1/*-
2 * Copyright (c) 1992 Terrence R. Lambert.
3 * Copyright (c) 1982, 1987, 1990 The Regents of the University of California.
4 * All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * William Jolitz.
8 *

--- 21 unchanged lines hidden (view full) ---

30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 * SUCH DAMAGE.
36 *
37 * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
38 * $Id: machdep.c,v 1.36 1994/02/08 12:58:44 davidg Exp $
38 * $Id: machdep.c,v 1.37 1994/02/24 00:18:04 hsu Exp $
39 */
40
41#include "npx.h"
42#include "isa.h"
43
44#include <stddef.h>
45#include "param.h"
46#include "systm.h"

--- 657 unchanged lines hidden (view full) ---

704 dummy = 0; dummy = dummy;
705 printf("howto %d, devtype %d\n", arghowto, devtype);
706#endif
707die:
708 printf("Rebooting...\n");
709 DELAY (100000); /* wait 100ms for printf's to complete */
710 cpu_reset();
711 for(;;) ;
39 */
40
41#include "npx.h"
42#include "isa.h"
43
44#include <stddef.h>
45#include "param.h"
46#include "systm.h"

--- 657 unchanged lines hidden (view full) ---

704 dummy = 0; dummy = dummy;
705 printf("howto %d, devtype %d\n", arghowto, devtype);
706#endif
707die:
708 printf("Rebooting...\n");
709 DELAY (100000); /* wait 100ms for printf's to complete */
710 cpu_reset();
711 for(;;) ;
712 /*NOTREACHED*/
712 /* NOTREACHED */
713}
714
715unsigned long dumpmag = 0x8fca0101UL; /* magic number for savecore */
716int dumpsize = 0; /* also for savecore */
717/*
718 * Doadump comes here after turning off memory management and
719 * getting on the dump stack, either when called above, or by
720 * the auto-restart code.

--- 407 unchanged lines hidden (view full) ---

1128
1129 /*
1130 * Some 386 machines might give us a bogus number for extended
1131 * mem. If this happens, stop now.
1132 */
1133#ifndef LARGEMEM
1134 if (biosextmem > 65536) {
1135 panic("extended memory beyond limit of 64MB");
713}
714
715unsigned long dumpmag = 0x8fca0101UL; /* magic number for savecore */
716int dumpsize = 0; /* also for savecore */
717/*
718 * Doadump comes here after turning off memory management and
719 * getting on the dump stack, either when called above, or by
720 * the auto-restart code.

--- 407 unchanged lines hidden (view full) ---

1128
1129 /*
1130 * Some 386 machines might give us a bogus number for extended
1131 * mem. If this happens, stop now.
1132 */
1133#ifndef LARGEMEM
1134 if (biosextmem > 65536) {
1135 panic("extended memory beyond limit of 64MB");
1136 /* NOT REACHED */
1136 /* NOTREACHED */
1137 }
1138#endif
1139
1140 pagesinbase = biosbasemem * 1024 / NBPG;
1141 pagesinext = biosextmem * 1024 / NBPG;
1142
1143 /*
1144 * Special hack for chipsets that still remap the 384k hole when

--- 308 unchanged lines hidden ---
1137 }
1138#endif
1139
1140 pagesinbase = biosbasemem * 1024 / NBPG;
1141 pagesinext = biosextmem * 1024 / NBPG;
1142
1143 /*
1144 * Special hack for chipsets that still remap the 384k hole when

--- 308 unchanged lines hidden ---