1*2305Sstevel /* 2*2305Sstevel * CDDL HEADER START 3*2305Sstevel * 4*2305Sstevel * The contents of this file are subject to the terms of the 5*2305Sstevel * Common Development and Distribution License, Version 1.0 only 6*2305Sstevel * (the "License"). You may not use this file except in compliance 7*2305Sstevel * with the License. 8*2305Sstevel * 9*2305Sstevel * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10*2305Sstevel * or http://www.opensolaris.org/os/licensing. 11*2305Sstevel * See the License for the specific language governing permissions 12*2305Sstevel * and limitations under the License. 13*2305Sstevel * 14*2305Sstevel * When distributing Covered Code, include this CDDL HEADER in each 15*2305Sstevel * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16*2305Sstevel * If applicable, add the following below this CDDL HEADER, with the 17*2305Sstevel * fields enclosed by brackets "[]" replaced with your own identifying 18*2305Sstevel * information: Portions Copyright [yyyy] [name of copyright owner] 19*2305Sstevel * 20*2305Sstevel * CDDL HEADER END 21*2305Sstevel */ 22*2305Sstevel /* 23*2305Sstevel * Copyright (c) 1996-1998 by Sun Microsystems, Inc. 24*2305Sstevel * All rights reserved. 25*2305Sstevel */ 26*2305Sstevel 27*2305Sstevel #ifndef _MEMA_SF_PROM_H 28*2305Sstevel #define _MEMA_SF_PROM_H 29*2305Sstevel 30*2305Sstevel #pragma ident "%Z%%M% %I% %E% SMI" 31*2305Sstevel 32*2305Sstevel #ifdef __cplusplus 33*2305Sstevel extern "C" { 34*2305Sstevel #endif 35*2305Sstevel 36*2305Sstevel typedef unsigned char mema_disabled_t; 37*2305Sstevel 38*2305Sstevel extern int prom_read_disabled_list(mema_disabled_t *, int); 39*2305Sstevel extern int prom_write_disabled_list(mema_disabled_t *, int); 40*2305Sstevel extern int prom_viable_disabled_list(mema_disabled_t *); 41*2305Sstevel 42*2305Sstevel #define PROM_MEMORY_DISABLED 0x02 43*2305Sstevel #define PROM_MEMORY_PRESENT 0x04 /* for viable check */ 44*2305Sstevel 45*2305Sstevel #ifdef __cplusplus 46*2305Sstevel } 47*2305Sstevel #endif 48*2305Sstevel 49*2305Sstevel #endif /* _MEMA_SF_PROM_H */ 50