117680Spst/*	$NetBSD: vmparam.h,v 1.4 2023/08/25 08:05:18 riastradh Exp $	*/
217680Spst
317680Spst/*-
417680Spst * Copyright (c)2005 YAMAMOTO Takashi,
517680Spst * All rights reserved.
617680Spst *
717680Spst * Redistribution and use in source and binary forms, with or without
817680Spst * modification, are permitted provided that the following conditions
917680Spst * are met:
1017680Spst * 1. Redistributions of source code must retain the above copyright
1117680Spst *    notice, this list of conditions and the following disclaimer.
1217680Spst * 2. Redistributions in binary form must reproduce the above copyright
1317680Spst *    notice, this list of conditions and the following disclaimer in the
1417680Spst *    documentation and/or other materials provided with the distribution.
1517680Spst *
1617680Spst * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1717680Spst * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1817680Spst * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1917680Spst * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
2017680Spst * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2117680Spst * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2217680Spst * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2326183Sfenner * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2426183Sfenner * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2517680Spst * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2617680Spst * SUCH DAMAGE.
2717680Spst */
2817680Spst
2917680Spst#if !defined(_VMPARAM_H_)
3017680Spst#include <amd64/vmparam.h>
3117680Spst
3217680Spst#ifdef XENPV
3317680Spst#undef VM_PHYSSEG_MAX
3417680Spst#define	VM_PHYSSEG_MAX	1
3517680Spst
3617680Spst#undef VM_NFREELIST
3717680Spst#undef VM_FREELIST_FIRST16
3817680Spst#undef VM_FREELIST_FIRST1T
3917680Spst#undef VM_FREELIST_FIRST64G
4017680Spst#undef VM_FREELIST_FIRST4G
4117680Spst#undef VM_FREELIST_FIRST1G
4217680Spst#undef VM_FREELIST_FIRST16
4317680Spst#define	VM_NFREELIST	1
4417680Spst#endif /* XENPV */
4517680Spst#endif /* _VMPARAM_H_ */
4617680Spst
4717680Spst