machdep.c (99729) | machdep.c (99730) |
---|---|
1/* 2 * Copyright (C) 1995, 1996 Wolfgang Solfrank. 3 * Copyright (C) 1995, 1996 TooLs GmbH. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 42 unchanged lines hidden (view full) --- 51 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 52 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 53 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 54 * $NetBSD: machdep.c,v 1.74.2.1 2000/11/01 16:13:48 tv Exp $ 55 */ 56 57#ifndef lint 58static const char rcsid[] = | 1/* 2 * Copyright (C) 1995, 1996 Wolfgang Solfrank. 3 * Copyright (C) 1995, 1996 TooLs GmbH. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 42 unchanged lines hidden (view full) --- 51 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 52 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 53 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 54 * $NetBSD: machdep.c,v 1.74.2.1 2000/11/01 16:13:48 tv Exp $ 55 */ 56 57#ifndef lint 58static const char rcsid[] = |
59 "$FreeBSD: head/sys/powerpc/aim/machdep.c 99729 2002-07-10 12:16:48Z benno $"; | 59 "$FreeBSD: head/sys/powerpc/aim/machdep.c 99730 2002-07-10 12:21:54Z benno $"; |
60#endif /* not lint */ 61 62#include "opt_ddb.h" 63#include "opt_compat.h" 64#include "opt_msgbuf.h" 65 66#include <sys/param.h> 67#include <sys/systm.h> --- 299 unchanged lines hidden (view full) --- 367 368 /* 369 * Complain if there is no metadata. 370 */ 371 if (mdp == NULL || kmdp == NULL) { 372 printf("powerpc_init: no loader metadata.\n"); 373 } 374 | 60#endif /* not lint */ 61 62#include "opt_ddb.h" 63#include "opt_compat.h" 64#include "opt_msgbuf.h" 65 66#include <sys/param.h> 67#include <sys/systm.h> --- 299 unchanged lines hidden (view full) --- 367 368 /* 369 * Complain if there is no metadata. 370 */ 371 if (mdp == NULL || kmdp == NULL) { 372 printf("powerpc_init: no loader metadata.\n"); 373 } 374 |
375#ifdef DDB 376 kdb_init(); 377#endif 378 |
|
375 /* 376 * XXX: Initialize the interrupt tables. 377 */ 378 bcopy(&trapcode, (void *)EXC_DECR, (size_t)&trapsize); 379 bcopy(&dsitrap, (void *)EXC_DSI, (size_t)&dsisize); 380 bcopy(&isitrap, (void *)EXC_ISI, (size_t)&isisize); 381 bcopy(&trapcode, (void *)EXC_SC, (size_t)&trapsize); 382 bcopy(&trapcode, (void *)EXC_FPU, (size_t)&trapsize); --- 613 unchanged lines hidden --- | 379 /* 380 * XXX: Initialize the interrupt tables. 381 */ 382 bcopy(&trapcode, (void *)EXC_DECR, (size_t)&trapsize); 383 bcopy(&dsitrap, (void *)EXC_DSI, (size_t)&dsisize); 384 bcopy(&isitrap, (void *)EXC_ISI, (size_t)&isisize); 385 bcopy(&trapcode, (void *)EXC_SC, (size_t)&trapsize); 386 bcopy(&trapcode, (void *)EXC_FPU, (size_t)&trapsize); --- 613 unchanged lines hidden --- |