diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2010-04-22 19:02:56 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2010-04-22 19:02:56 +0000 |
commit | 06f07da7e6659ce9de50f80088d0c37b13d4b829 (patch) | |
tree | 61465ef7199c8a6f5432bf287ad9dc234fdaeb79 /sys/arch/sparc/include | |
parent | a9c39c19e55d16c05e07be8dfd52db61ccf53e99 (diff) |
Committing on behalf or ariane@.
recommit pmemrange:
physmem allocator: change the view of free memory from single
free pages to free ranges. Classify memory based on region with
associated use-counter (which is used to construct a priority
list of where to allocate memory).
Based on code from tedu@, help from many.
Useable now that bugs have been found and fixed in most architecture's
pmap.c
ok by everyone who has done a pmap or uvm commit in the last year.
Diffstat (limited to 'sys/arch/sparc/include')
-rw-r--r-- | sys/arch/sparc/include/vmparam.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/sparc/include/vmparam.h b/sys/arch/sparc/include/vmparam.h index 8dc59a3729f..a7ba9e169b3 100644 --- a/sys/arch/sparc/include/vmparam.h +++ b/sys/arch/sparc/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.33 2008/07/22 18:15:48 miod Exp $ */ +/* $OpenBSD: vmparam.h,v 1.34 2010/04/22 19:02:47 oga Exp $ */ /* $NetBSD: vmparam.h,v 1.13 1997/07/12 16:20:03 perry Exp $ */ /* @@ -130,6 +130,9 @@ struct vm_page_md { #define VM_NFREELIST 1 #define VM_FREELIST_DEFAULT 0 +/* No UVM_IO_RANGES required: IOMMU takes care of this. */ +#define UVM_IO_RANGES {} + #if defined (_KERNEL) && !defined(_LOCORE) struct vm_map; #define dvma_mapin(map,va,len,canwait) dvma_mapin_space(map,va,len,canwait,0) |