diff options
| author | 2010-04-22 19:02:44 +0000 | |
|---|---|---|
| committer | 2010-04-22 19:02:44 +0000 | |
| commit | a3544580456680ac17bea7051ae709d5e34e7208 (patch) | |
| tree | 21a35190754e62a9ed9f6031aab7d11fd1256cc3 /sys/arch/sparc | |
| parent | zap trailing whitespace; (diff) | |
| download | wireguard-openbsd-a3544580456680ac17bea7051ae709d5e34e7208.tar.xz wireguard-openbsd-a3544580456680ac17bea7051ae709d5e34e7208.zip | |
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')
| -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) |
