125cf1a30Sjl139090 /* 225cf1a30Sjl139090 * CDDL HEADER START 325cf1a30Sjl139090 * 425cf1a30Sjl139090 * The contents of this file are subject to the terms of the 525cf1a30Sjl139090 * Common Development and Distribution License (the "License"). 625cf1a30Sjl139090 * You may not use this file except in compliance with the License. 725cf1a30Sjl139090 * 825cf1a30Sjl139090 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 925cf1a30Sjl139090 * or http://www.opensolaris.org/os/licensing. 1025cf1a30Sjl139090 * See the License for the specific language governing permissions 1125cf1a30Sjl139090 * and limitations under the License. 1225cf1a30Sjl139090 * 1325cf1a30Sjl139090 * When distributing Covered Code, include this CDDL HEADER in each 1425cf1a30Sjl139090 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1525cf1a30Sjl139090 * If applicable, add the following below this CDDL HEADER, with the 1625cf1a30Sjl139090 * fields enclosed by brackets "[]" replaced with your own identifying 1725cf1a30Sjl139090 * information: Portions Copyright [yyyy] [name of copyright owner] 1825cf1a30Sjl139090 * 1925cf1a30Sjl139090 * CDDL HEADER END 2025cf1a30Sjl139090 */ 2125cf1a30Sjl139090 /* 2225cf1a30Sjl139090 * All Rights Reserved, Copyright (c) FUJITSU LIMITED 2006 2325cf1a30Sjl139090 */ 2425cf1a30Sjl139090 2525cf1a30Sjl139090 #ifndef _SCFOSTOESCF_H 2625cf1a30Sjl139090 #define _SCFOSTOESCF_H 2725cf1a30Sjl139090 2825cf1a30Sjl139090 #pragma ident "%Z%%M% %I% %E% SMI" 2925cf1a30Sjl139090 3025cf1a30Sjl139090 #ifdef __cplusplus 3125cf1a30Sjl139090 extern "C" { 3225cf1a30Sjl139090 #endif 3325cf1a30Sjl139090 3425cf1a30Sjl139090 /* OS to ESCF key */ 3525cf1a30Sjl139090 #define KEY_ESCF ('E' << 24 | 'S' << 16 | 'C' << 8 | 'F') 3625cf1a30Sjl139090 3725cf1a30Sjl139090 3825cf1a30Sjl139090 3925cf1a30Sjl139090 /* 4025cf1a30Sjl139090 * External function 4125cf1a30Sjl139090 */ 4225cf1a30Sjl139090 4325cf1a30Sjl139090 extern int scf_service_putinfo(uint32_t, uint8_t, uint32_t, uint32_t, void *); 4425cf1a30Sjl139090 extern int scf_service_getinfo(uint32_t, uint8_t, uint32_t, uint32_t *, void *); 450cc8ae86Sav145390 extern int scf_get_dimminfo(uint32_t boardnum, void *buf, uint32_t *bufsz); 4625cf1a30Sjl139090 4725cf1a30Sjl139090 #define SUB_OS_SEND_PRE_FMEMA 0x10 4825cf1a30Sjl139090 #define SUB_OS_SEND_CANCEL_FMEMA 0x15 4925cf1a30Sjl139090 #define SUB_OS_SEND_COMPLETE_FMEMA 0x43 50*44bed9d7Sraghuram #define SUB_OS_RECEIVE_DIMM_INFO 0x45 5125cf1a30Sjl139090 5225cf1a30Sjl139090 #ifdef __cplusplus 5325cf1a30Sjl139090 } 5425cf1a30Sjl139090 #endif 5525cf1a30Sjl139090 5625cf1a30Sjl139090 #endif /* _SCFOSTOESCF_H */ 57