lom_priv.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * CDDL HEADER START
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * The contents of this file are subject to the terms of the
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * Common Development and Distribution License, Version 1.0 only
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * (the "License"). You may not use this file except in compliance
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * with the License.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * or http://www.opensolaris.org/os/licensing.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * See the License for the specific language governing permissions
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * and limitations under the License.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * When distributing Covered Code, include this CDDL HEADER in each
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * If applicable, add the following below this CDDL HEADER, with the
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * fields enclosed by brackets "[]" replaced with your own identifying
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * information: Portions Copyright [yyyy] [name of copyright owner]
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * CDDL HEADER END
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * Copyright 2001-2003 Sun Microsystems, Inc. All rights reserved.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * Use is subject to license terms.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy#pragma ident "%Z%%M% %I% %E% SMI"
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * Project private LOMlite definitions.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * The definitions here are not used by the end user.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy#endif /* __sparc */
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy#endif /* _KERNEL */
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * Data structures which are passed to the driver via the LOMIOCPROG ioctl.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * The userland utility constructs an image which begins with a
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * lom_prog_data_t structure and is followed by platform specific data
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy * the contents of which are identified by the 'platmagic' value.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedytypedef struct {
1d32ba663e202c24a5a1f2e5aef83fffb447cb7fJohn Wren Kennedy /* Platform specific */
#define PROG_MAGIC 0
* Top two bytes assigned to specific lom implementations/platform
* Bottom two bytes assigned by the implementations/platform.
#define LOM_WDOGTRIGGER_DETAIL_HARD 0
} lom_event_t;
#ifdef _KERNEL
enum bscv_idi_type {
BSCV_IDI_NULL = 0,
#ifdef __sparc
} bscv_sig_t;
} bscv_wdog_t;
struct bscv_idi_info {
void *data;
#ifdef __cplusplus