NetBSD/sys/arch/ews4800mips/include/vmparam.h
tsutsui 04faabf071 Initial import of NetBSD/ews4800mips port,
for NEC's MIPS based EWS4800 workstations.

Most porting work was done by UCHIYAMA Yasushi <uch@netbsd>
 http://mail-index.netbsd.org/port-mips/2004/06/27/0000.html
and various cleanup, updating, and fixes have been done by me.
Currently only EWS4800/350, 360, 360AD, 360ADII, 360EX and 360SX
models are supported.
2005-12-29 15:20:08 +00:00

27 lines
690 B
C

/* $NetBSD: vmparam.h,v 1.1 2005/12/29 15:20:09 tsutsui Exp $ */
#ifndef _EWS4800MIPS_VMPARAM_H_
#define _EWS4800MIPS_VMPARAM_H_
#include <mips/vmparam.h>
/* VA 0xf0000000-0xffffffff is used for wired_map TLB entries. */
#undef VM_MAX_KERNEL_ADDRESS
#define VM_MAX_KERNEL_ADDRESS ((vaddr_t)0xF0000000)
#define VM_MIN_WIRED_MAP_ADDRESS ((vaddr_t)0xF0000000)
#define VM_MAX_WIRED_MAP_ADDRESS ((vaddr_t)0xFFFFC000)
#define VM_PHYSSEG_MAX 9 /* M0-M8 */
#define VM_NFREELIST 1
#define VM_FREELIST_DEFAULT 0
#ifndef KSEG2IOBUFSIZE
/* reserve PTEs for KSEG2 I/O space */
#define KSEG2IOBUFSIZE kseg2iobufsize
#endif
extern vsize_t kseg2iobufsize;
#endif /* !_EWS4800MIPS_VMPARAM_H_ */