xref: /titanic_51/usr/src/uts/i86pc/os/mem_config_arch.c (revision a31148363f598def767ac48c5d82e1572e44b935)
1*a3114836SGerry Liu /*
2*a3114836SGerry Liu  * CDDL HEADER START
3*a3114836SGerry Liu  *
4*a3114836SGerry Liu  * The contents of this file are subject to the terms of the
5*a3114836SGerry Liu  * Common Development and Distribution License (the "License").
6*a3114836SGerry Liu  * You may not use this file except in compliance with the License.
7*a3114836SGerry Liu  *
8*a3114836SGerry Liu  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*a3114836SGerry Liu  * or http://www.opensolaris.org/os/licensing.
10*a3114836SGerry Liu  * See the License for the specific language governing permissions
11*a3114836SGerry Liu  * and limitations under the License.
12*a3114836SGerry Liu  *
13*a3114836SGerry Liu  * When distributing Covered Code, include this CDDL HEADER in each
14*a3114836SGerry Liu  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*a3114836SGerry Liu  * If applicable, add the following below this CDDL HEADER, with the
16*a3114836SGerry Liu  * fields enclosed by brackets "[]" replaced with your own identifying
17*a3114836SGerry Liu  * information: Portions Copyright [yyyy] [name of copyright owner]
18*a3114836SGerry Liu  *
19*a3114836SGerry Liu  * CDDL HEADER END
20*a3114836SGerry Liu  */
21*a3114836SGerry Liu /*
22*a3114836SGerry Liu  * Copyright (c) 1997-1998 by Sun Microsystems, Inc.
23*a3114836SGerry Liu  * All rights reserved.
24*a3114836SGerry Liu  */
25*a3114836SGerry Liu /*
26*a3114836SGerry Liu  * Copyright (c) 2010, Intel Corporation.
27*a3114836SGerry Liu  * All rights reserved.
28*a3114836SGerry Liu  */
29*a3114836SGerry Liu 
30*a3114836SGerry Liu #include <sys/types.h>
31*a3114836SGerry Liu #include <sys/errno.h>
32*a3114836SGerry Liu #include <sys/debug.h>
33*a3114836SGerry Liu #include <vm/page.h>
34*a3114836SGerry Liu #include <sys/mem_config.h>
35*a3114836SGerry Liu 
36*a3114836SGerry Liu /*ARGSUSED*/
37*a3114836SGerry Liu int
38*a3114836SGerry Liu arch_kphysm_del_span_ok(pfn_t base, pgcnt_t npgs)
39*a3114836SGerry Liu {
40*a3114836SGerry Liu 	ASSERT(npgs != 0);
41*a3114836SGerry Liu 	return (0);
42*a3114836SGerry Liu }
43*a3114836SGerry Liu 
44*a3114836SGerry Liu /*ARGSUSED*/
45*a3114836SGerry Liu int
46*a3114836SGerry Liu arch_kphysm_relocate(pfn_t base, pgcnt_t npgs)
47*a3114836SGerry Liu {
48*a3114836SGerry Liu 	ASSERT(npgs != 0);
49*a3114836SGerry Liu 	return (ENOTSUP);
50*a3114836SGerry Liu }
51*a3114836SGerry Liu 
52*a3114836SGerry Liu int
53*a3114836SGerry Liu arch_kphysm_del_supported(void)
54*a3114836SGerry Liu {
55*a3114836SGerry Liu 	return (0);
56*a3114836SGerry Liu }
57