Changeset View
Changeset View
Standalone View
Standalone View
sys/i386/include/vmparam.h
Show First 20 Lines • Show All 91 Lines • ▼ Show 20 Lines | |||||
*/ | */ | ||||
#define VM_NFREEPOOL 1 | #define VM_NFREEPOOL 1 | ||||
#define VM_FREEPOOL_DEFAULT 0 | #define VM_FREEPOOL_DEFAULT 0 | ||||
#define VM_FREEPOOL_DIRECT 0 | #define VM_FREEPOOL_DIRECT 0 | ||||
/* | /* | ||||
* Create two free page lists: VM_FREELIST_DEFAULT is for physical | * Create two free page lists: VM_FREELIST_DEFAULT is for physical | ||||
* pages that are above the largest physical address that is | * pages that are above the largest physical address that is | ||||
* accessible by ISA DMA and VM_FREELIST_ISADMA is for physical pages | * accessible by ISA DMA and VM_FREELIST_LOWMEM is for physical pages | ||||
alc: While you're here, how about adding a comma, specifically, "... ISA DMA, and ..." | |||||
* that are below that address. | * that are below that address. | ||||
*/ | */ | ||||
#define VM_NFREELIST 2 | #define VM_NFREELIST 2 | ||||
#define VM_FREELIST_DEFAULT 0 | #define VM_FREELIST_DEFAULT 0 | ||||
#define VM_FREELIST_ISADMA 1 | #define VM_FREELIST_LOWMEM 1 | ||||
#define VM_LOWMEM_BOUNDARY (16 << 10) /* 16MB ISA DMA limit */ | |||||
/* | /* | ||||
* The largest allocation size is 2MB under PAE and 4MB otherwise. | * The largest allocation size is 2MB under PAE and 4MB otherwise. | ||||
*/ | */ | ||||
#ifdef PAE | #ifdef PAE | ||||
#define VM_NFREEORDER 10 | #define VM_NFREEORDER 10 | ||||
#else | #else | ||||
#define VM_NFREEORDER 11 | #define VM_NFREEORDER 11 | ||||
▲ Show 20 Lines • Show All 120 Lines • Show Last 20 Lines |
While you're here, how about adding a comma, specifically, "... ISA DMA, and ..."