summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/include/pmap.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 05:29:32 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-14 05:29:32 +0000
commit86b4fdd623d3c50d7bfd9427c2c9208454cd0da7 (patch)
tree5d95abcaf58d01703a30c7ab600537d3b8f67989 /sys/arch/hp300/include/pmap.h
parente2cd6c399798843e13e76f49dc8ee048b51f99f1 (diff)
update from netbsd (verbatim)
Diffstat (limited to 'sys/arch/hp300/include/pmap.h')
-rw-r--r--sys/arch/hp300/include/pmap.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/arch/hp300/include/pmap.h b/sys/arch/hp300/include/pmap.h
index 073d68743bb..13de98c2a0d 100644
--- a/sys/arch/hp300/include/pmap.h
+++ b/sys/arch/hp300/include/pmap.h
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.9 1995/05/11 16:53:03 jtc Exp $ */
+/* $NetBSD: pmap.h,v 1.10 1995/12/11 17:09:23 thorpej Exp $ */
/*
* Copyright (c) 1987 Carnegie-Mellon University
@@ -43,9 +43,10 @@
#ifndef _HP300_PMAP_H_
#define _HP300_PMAP_H_
+#include <machine/cpu.h>
#include <machine/pte.h>
-#if defined(HP380)
+#if defined(M68040)
#define HP_SEG_SIZE (mmutype == MMU_68040 ? 0x40000 : NBSEG)
#else
#define HP_SEG_SIZE NBSEG
@@ -135,11 +136,6 @@ struct pv_page {
struct pv_entry pvp_pv[NPVPPG];
};
-#ifdef _KERNEL
-#if defined(HP320) || defined(HP350)
-#define HAVEVAC /* include cheezy VAC support */
-#endif
-
extern struct pmap kernel_pmap_store;
#define pmap_kernel() (&kernel_pmap_store)
@@ -156,6 +152,5 @@ extern struct pv_entry *pv_table; /* array of entries, one per page */
extern pt_entry_t *Sysmap;
extern char *vmmap; /* map for mem, dumps, etc. */
-#endif /* _KERNEL */
#endif /* !_HP300_PMAP_H_ */