KERNEL -> _KERNEL
This commit is contained in:
parent
65e6076edc
commit
bb035dee62
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: grfvar.h,v 1.3 1994/10/26 08:46:09 cgd Exp $ */
|
||||
/* $NetBSD: grfvar.h,v 1.4 1995/03/23 20:19:16 briggs Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
@ -114,6 +114,6 @@ struct grfreg {
|
||||
#define GRFIMDEV 0x20 /* images planes */
|
||||
#define GRFUNIT(d) ((d) & 0x7)
|
||||
|
||||
#ifdef KERNEL
|
||||
#ifdef _KERNEL
|
||||
extern struct grf_softc grf_softc[];
|
||||
#endif
|
||||
#endif /* _KERNEL */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cpu.h,v 1.17 1994/12/03 23:34:30 briggs Exp $ */
|
||||
/* $NetBSD: cpu.h,v 1.18 1995/03/23 20:19:21 briggs Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
@ -227,7 +227,7 @@ extern unsigned char ssir;
|
||||
#define MHZ_33 4
|
||||
#define MHZ_40 5
|
||||
|
||||
#ifdef KERNEL
|
||||
#ifdef _KERNEL
|
||||
struct mac68k_machine_S {
|
||||
int cpu_model_index;
|
||||
/*
|
||||
@ -271,7 +271,7 @@ extern unsigned long NuBusBase; /* Base address of NuBus */
|
||||
extern struct mac68k_machine_S mac68k_machine;
|
||||
extern int mmutype, cpu040;
|
||||
extern unsigned long load_addr ;
|
||||
#endif
|
||||
#endif /* _KERNEL */
|
||||
|
||||
/* physical memory sections */
|
||||
#define ROMBASE (0x40800000)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pmap.h,v 1.7 1994/10/26 08:46:39 cgd Exp $ */
|
||||
/* $NetBSD: pmap.h,v 1.8 1995/03/23 20:19:23 briggs Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1987 Carnegie-Mellon University
|
||||
@ -129,7 +129,7 @@ typedef struct pv_entry {
|
||||
#define PV_CI 0x01 /* all entries must be cache inhibited */
|
||||
#define PV_PTPAGE 0x02 /* entry maps a page table page */
|
||||
|
||||
#ifdef KERNEL
|
||||
#ifdef _KERNEL
|
||||
pv_entry_t pv_table; /* array of entries, one per page */
|
||||
|
||||
#ifdef MACHINE_NONCONTIG
|
||||
@ -145,6 +145,6 @@ pv_entry_t pv_table; /* array of entries, one per page */
|
||||
|
||||
extern struct pte *Sysmap;
|
||||
extern char *vmmap; /* map for mem, dumps, etc. */
|
||||
#endif KERNEL
|
||||
#endif /* _KERNEL */
|
||||
|
||||
#endif _PMAP_MACHINE_
|
||||
|
Loading…
Reference in New Issue
Block a user