Fixup an inconsistency in the declaration of PTDpaddr, pointed out by

Chris Demetriou.
This commit is contained in:
thorpej 1998-02-18 03:04:40 +00:00
parent 3bbb7f7d45
commit edbfcebb6a
3 changed files with 5 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.291 1998/02/18 01:09:25 thorpej Exp $ */
/* $NetBSD: machdep.c,v 1.292 1998/02/18 03:04:40 thorpej Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@ -1374,7 +1374,6 @@ cpu_dump()
cpu_kcore_hdr_t *cpuhdrp;
phys_ram_seg_t *memsegp;
int i;
extern u_long PTDpaddr; /* from locore */
dump = bdevsw[major(dumpdev)].d_dump;

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.h,v 1.35 1998/02/18 02:05:34 cgd Exp $ */
/* $NetBSD: pmap.h,v 1.36 1998/02/18 03:04:41 thorpej Exp $ */
/*
* Copyright (c) 1995 Charles M. Hannum. All rights reserved.
@ -98,7 +98,7 @@ extern pt_entry_t PTmap[], APTmap[], Upte;
extern pd_entry_t PTD[], APTD[], PTDpde, APTDpde, Upde;
extern pt_entry_t *Sysmap;
extern int PTDpaddr; /* physical address of kernel PTD */
extern u_long PTDpaddr; /* physical address of kernel PTD */
void pmap_bootstrap __P((vm_offset_t start));
boolean_t pmap_testbit __P((vm_offset_t, int));

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.new.h,v 1.3 1998/02/18 02:05:34 cgd Exp $ */
/* $NetBSD: pmap.new.h,v 1.4 1998/02/18 03:04:41 thorpej Exp $ */
/*
*
@ -344,7 +344,7 @@ struct pmap_transfer_location {
*/
/* PTDpaddr: is the physical address of the kernel's PDP */
/* extern vm_offset_t PTDpaddr; */ /* exported for libkvm, not used by C */
extern u_long PTDpaddr;
extern struct pmap kernel_pmap_store; /* kernel pmap */
extern int nkpde; /* current # of PDEs for kernel */