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 2002 Sun Microsystems, Inc. All rights reserved.
03831d35f7499c87d51205817c93e9a8d42c4baestevel * Use is subject to license terms.
03831d35f7499c87d51205817c93e9a8d42c4baestevel#pragma ident "%Z%%M% %I% %E% SMI"
03831d35f7499c87d51205817c93e9a8d42c4baestevelextern "C" {
03831d35f7499c87d51205817c93e9a8d42c4baestevel/* Boot protocol message types */
03831d35f7499c87d51205817c93e9a8d42c4baestevel * A boot protocol message consists of one (or more) synchronizing
03831d35f7499c87d51205817c93e9a8d42c4baestevel * bytes, a command byte, and two data bytes. The following structure
03831d35f7499c87d51205817c93e9a8d42c4baestevel * defines how a boot message is passed around. Hopefully the C
03831d35f7499c87d51205817c93e9a8d42c4baestevel * compiler will be smart enough to pass this in a register...
03831d35f7499c87d51205817c93e9a8d42c4baestevel/* Test numbers used in the OBP_TEST message: */
03831d35f7499c87d51205817c93e9a8d42c4baestevel * This bit should be set in the RSC_STATUS message to indicate to the
03831d35f7499c87d51205817c93e9a8d42c4baestevel * host that there is an interesting bootmode.
03831d35f7499c87d51205817c93e9a8d42c4baestevel * Bit definitions for the OBP_INIT and RSC_OK messages.
03831d35f7499c87d51205817c93e9a8d42c4baestevel/* Bit definitions for OBP_BOOTINIT message. */
03831d35f7499c87d51205817c93e9a8d42c4baestevel * For bit definitions for the RSC_STATUS message, see the post word bit
03831d35f7499c87d51205817c93e9a8d42c4baestevel * definitions in "postword.h".
03831d35f7499c87d51205817c93e9a8d42c4baestevel/* Bit definitions for RSC_BOOTFAIL message. */
03831d35f7499c87d51205817c93e9a8d42c4baestevel/* For lower 8 bits, see the lower 8 bits of the post word in "postword.h". */
03831d35f7499c87d51205817c93e9a8d42c4baestevel * When downloading S-records, a RSC:bootack is sent with the following
03831d35f7499c87d51205817c93e9a8d42c4baestevel * value in dat1 to indicate whether the S-record checksum was OK or not.
03831d35f7499c87d51205817c93e9a8d42c4baestevel/* Definitions for OBP_BOOTMODE message: */
03831d35f7499c87d51205817c93e9a8d42c4baestevel/* Definitions for RSC_BOOTMODE message: */
03831d35f7499c87d51205817c93e9a8d42c4baestevel/* Definitions for RSC_BOOTMODEACK message: */
03831d35f7499c87d51205817c93e9a8d42c4baestevel/* Definitions for RSC_MACADDRACK message: */
03831d35f7499c87d51205817c93e9a8d42c4baestevel/* Definitions for RSC_SOFTGPIOACK message */
03831d35f7499c87d51205817c93e9a8d42c4baestevel#endif /* _RMC_COMM_DP_BOOT_H */