diff options
author | Steve Murphree <smurph@cvs.openbsd.org> | 2001-01-13 05:19:02 +0000 |
---|---|---|
committer | Steve Murphree <smurph@cvs.openbsd.org> | 2001-01-13 05:19:02 +0000 |
commit | b2fc93362574ae97a3d3d367a3f18f9df09ebdec (patch) | |
tree | e3ebfa043bcdf243dc7894f0f6187d022dca0628 /sys/arch/mvme88k/include/mmu.h | |
parent | 2c2cdb496b2db4e6759169e9d396fbb519037c56 (diff) |
Booting kernel with MACHINE_NEW_NONCONTIG. UVM code added but not working.
New stand config. Lots of header fixes. Can now cross-compile i386->m88k.
Diffstat (limited to 'sys/arch/mvme88k/include/mmu.h')
-rw-r--r-- | sys/arch/mvme88k/include/mmu.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/include/mmu.h b/sys/arch/mvme88k/include/mmu.h index 5cbfd35facf..ae9f453dc20 100644 --- a/sys/arch/mvme88k/include/mmu.h +++ b/sys/arch/mvme88k/include/mmu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mmu.h,v 1.4 1999/02/09 06:36:27 smurph Exp $ */ +/* $OpenBSD: mmu.h,v 1.5 2001/01/13 05:18:59 smurph Exp $ */ /* * Ashura Project */ @@ -206,7 +206,12 @@ typedef union batc_template { #define LOG2_PDT_SIZE (PDT_BITS + 2) #define LOG2_PDT_TABLE_GROUP_SIZE (PAGE_SHIFT - LOG2_PDT_SIZE) #define PDT_TABLE_GROUP_SIZE (1 << LOG2_PDT_TABLE_GROUP_SIZE) -#define PT_FREE(tbl) kmem_free(kernel_map, (vm_offset_t)tbl, PAGE_SIZE) +#if defined(UVM) +#define PT_FREE(tbl) uvm_km_free(kernel_map, (vaddr_t)tbl, PAGE_SIZE) +#else +#define PT_FREE(tbl) kmem_free(kernel_map, (vm_offset_t)tbl, PAGE_SIZE) +#endif + /* * Va spaces mapped by tables and PDT table group. |