2000-01-09 17:28:54 +03:00
|
|
|
/* $NetBSD: vmparam.h,v 1.10 2000/01/09 14:28:54 ad Exp $ */
|
|
|
|
|
|
|
|
#ifndef _PMAX_VMPARAM_H_
|
|
|
|
#define _PMAX_VMPARAM_H_ 1
|
1994-10-27 00:08:38 +03:00
|
|
|
|
1996-03-19 06:06:28 +03:00
|
|
|
#include <mips/vmparam.h>
|
1993-10-12 06:22:19 +03:00
|
|
|
|
1998-02-26 02:31:03 +03:00
|
|
|
/*
|
2000-01-09 17:28:54 +03:00
|
|
|
* VM_PHYSSEG_MAX
|
|
|
|
* We have two freelists. The first 8M of RAM goes onto a lower-priority
|
|
|
|
* free list, since some TC boards (e.g. PixelStamp boards) are only able
|
|
|
|
* to DMA into this region, and we want them to have a fighting chance of
|
|
|
|
* allocating their DMA memory during autoconfiguration.
|
|
|
|
*
|
|
|
|
* VM_PHYSSEG_NOADD
|
|
|
|
* We can't add RAM after vm_mem_init.
|
1998-02-26 02:31:03 +03:00
|
|
|
*/
|
2000-01-09 17:28:54 +03:00
|
|
|
|
|
|
|
#define VM_PHYSSEG_MAX 2
|
1999-05-07 22:04:36 +04:00
|
|
|
#define VM_PHYSSEG_STRAT VM_PSTRAT_BSEARCH
|
2000-01-09 17:28:54 +03:00
|
|
|
#define VM_PHYSSEG_NOADD 1
|
1998-02-26 02:31:03 +03:00
|
|
|
|
1999-05-07 22:04:36 +04:00
|
|
|
#define VM_NFREELIST 2
|
1998-07-08 08:43:18 +04:00
|
|
|
#define VM_FREELIST_DEFAULT 0
|
1999-05-07 22:04:36 +04:00
|
|
|
#define VM_FREELIST_FIRST8 1
|
1998-07-08 08:43:18 +04:00
|
|
|
|
2000-01-09 17:28:54 +03:00
|
|
|
#endif /* !_PMAX_VMPARAM_H_ */
|