03831d35f7499c87d51205817c93e9a8d42c4baestevel * CDDL HEADER START
03831d35f7499c87d51205817c93e9a8d42c4baestevel * The contents of this file are subject to the terms of the
03831d35f7499c87d51205817c93e9a8d42c4baestevel * Common Development and Distribution License (the "License").
03831d35f7499c87d51205817c93e9a8d42c4baestevel * You may not use this file except in compliance with the License.
03831d35f7499c87d51205817c93e9a8d42c4baestevel * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
03831d35f7499c87d51205817c93e9a8d42c4baestevel * See the License for the specific language governing permissions
03831d35f7499c87d51205817c93e9a8d42c4baestevel * and limitations under the License.
03831d35f7499c87d51205817c93e9a8d42c4baestevel * When distributing Covered Code, include this CDDL HEADER in each
03831d35f7499c87d51205817c93e9a8d42c4baestevel * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
03831d35f7499c87d51205817c93e9a8d42c4baestevel * If applicable, add the following below this CDDL HEADER, with the
03831d35f7499c87d51205817c93e9a8d42c4baestevel * fields enclosed by brackets "[]" replaced with your own identifying
03831d35f7499c87d51205817c93e9a8d42c4baestevel * information: Portions Copyright [yyyy] [name of copyright owner]
03831d35f7499c87d51205817c93e9a8d42c4baestevel * CDDL HEADER END
03831d35f7499c87d51205817c93e9a8d42c4baestevel * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
03831d35f7499c87d51205817c93e9a8d42c4baestevel * Use is subject to license terms.
03831d35f7499c87d51205817c93e9a8d42c4baestevel#pragma ident "%Z%%M% %I% %E% SMI"
03831d35f7499c87d51205817c93e9a8d42c4baestevelextern "C" {
03831d35f7499c87d51205817c93e9a8d42c4baestevel * local driver defines and structures
03831d35f7499c87d51205817c93e9a8d42c4baestevel * mailbox commands
03831d35f7499c87d51205817c93e9a8d42c4baestevel * mailbox events
03831d35f7499c87d51205817c93e9a8d42c4baestevel * led requests
03831d35f7499c87d51205817c93e9a8d42c4baesteveltypedef struct {
03831d35f7499c87d51205817c93e9a8d42c4baesteveltypedef struct {
03831d35f7499c87d51205817c93e9a8d42c4baesteveltypedef struct {
03831d35f7499c87d51205817c93e9a8d42c4baestevel int num_remaining; /* num of msg's left to retrieve after this */
03831d35f7499c87d51205817c93e9a8d42c4baestevel * LW8_MBOX_WDT_GET message: SC <-> Solaris
03831d35f7499c87d51205817c93e9a8d42c4baestevel * SC and Solaris use this message to learn what its peer has
03831d35f7499c87d51205817c93e9a8d42c4baestevel * as their current state for these watchdog state-machine
03831d35f7499c87d51205817c93e9a8d42c4baestevel * variables.
03831d35f7499c87d51205817c93e9a8d42c4baesteveltypedef struct {
03831d35f7499c87d51205817c93e9a8d42c4baestevel * LW8_MBOX_WDT_SET message: SC <- Solaris
03831d35f7499c87d51205817c93e9a8d42c4baestevel * Solaris uses this to update the SC with the latest
03831d35f7499c87d51205817c93e9a8d42c4baestevel * 'value' for the specified 'property_id'.
03831d35f7499c87d51205817c93e9a8d42c4baestevel * Eg, to specify that the watchdog state-machine is in
03831d35f7499c87d51205817c93e9a8d42c4baestevel * System Mode, <property_id, value> would be set to:
03831d35f7499c87d51205817c93e9a8d42c4baestevel * <LW8_WDT_PROP_MODE, LW8_PROP_MODE_SWDT>
03831d35f7499c87d51205817c93e9a8d42c4baesteveltypedef struct {
03831d35f7499c87d51205817c93e9a8d42c4baestevel/* choices for 'property_id' field: */
03831d35f7499c87d51205817c93e9a8d42c4baestevel * choices for 'value' field (for the specified 'property_id'):
03831d35f7499c87d51205817c93e9a8d42c4baestevel/* LW8_WDT_PROP_RECOV */
03831d35f7499c87d51205817c93e9a8d42c4baestevel/* LW8_WDT_PROP_WDT */
03831d35f7499c87d51205817c93e9a8d42c4baestevel/* LW8_WDT_PROP_TO: integral number of seconds */
03831d35f7499c87d51205817c93e9a8d42c4baestevel/* LW8_WDT_PROP_MODE */
03831d35f7499c87d51205817c93e9a8d42c4baestevel#endif /* _SYS_LW8_IMPL_H */