diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-08-11 11:45:28 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-08-11 11:45:28 +0000 |
commit | 117e49e4fe673065b85ff3a47f437f8b43ff1baa (patch) | |
tree | 78d349044fe7cb8a12478770a454418f547cadbb /sys/arch/i386/include | |
parent | 7a180b0dffd8a6191dc39c284c4b43646bbe8ac6 (diff) |
Some fixes from NetBSD.
Parts of the glue needed for page zeroing in the idle loop.
More careful handling of ptp pages (should solve some problems, most notably
with Intel 440GX+ motherboards).
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r-- | sys/arch/i386/include/pmap.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/arch/i386/include/pmap.h b/sys/arch/i386/include/pmap.h index 50b1c0dd352..1c5665ccbc6 100644 --- a/sys/arch/i386/include/pmap.h +++ b/sys/arch/i386/include/pmap.h @@ -1,5 +1,5 @@ -/* $OpenBSD: pmap.h,v 1.14 2001/05/05 23:25:47 art Exp $ */ -/* $NetBSD: pmap.h,v 1.43 2000/02/11 07:00:13 thorpej Exp $ */ +/* $OpenBSD: pmap.h,v 1.15 2001/08/11 11:45:27 art Exp $ */ +/* $NetBSD: pmap.h,v 1.44 2000/04/24 17:18:18 thorpej Exp $ */ /* * @@ -413,6 +413,12 @@ vaddr_t reserve_dumppages __P((vaddr_t)); /* XXX: not a pmap fn */ #define PMAP_GROWKERNEL /* turn on pmap_growkernel interface */ /* + * Do idle page zero'ing uncached to avoid polluting the cache. + */ +void pmap_zero_page_uncached __P((paddr_t)); +#define PMAP_PAGEIDLEZERO(pa) pmap_zero_page_uncached((pa)) + +/* * inline functions */ |