5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev/*
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev * CDDL HEADER START
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev *
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev * The contents of this file are subject to the terms of the
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev * Common Development and Distribution License (the "License").
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev * You may not use this file except in compliance with the License.
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev *
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev * or http://www.opensolaris.org/os/licensing.
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev * See the License for the specific language governing permissions
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev * and limitations under the License.
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev *
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev * When distributing Covered Code, include this CDDL HEADER in each
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev * If applicable, add the following below this CDDL HEADER, with the
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev * fields enclosed by brackets "[]" replaced with your own identifying
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev * information: Portions Copyright [yyyy] [name of copyright owner]
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev *
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev * CDDL HEADER END
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev */
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev/*
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev * Use is subject to license terms.
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev */
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev/*
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev * !!! IMPORTANT !!!
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev * Please DO NOT overwrite existing Fastboot Not Support msgids.
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev * New fastboot_nosup_msg() have to be added to the end of the list,
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev * just BEFORE fastboot_nosup_msg_end().
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev */
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev#ifndef _SYS_FASTBOOT_MSG_H
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev#define _SYS_FASTBOOT_MSG_H
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev#endif /* _SYS_FASTBOOT_MSG_H */
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev#ifndef fastboot_nosup_msg
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev#define fastboot_nosup_msg(id, str)
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev#endif /* fastboot_nosup_msg */
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev#ifndef fastboot_nosup_msg_end
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev#define fastboot_nosup_msg_end(id)
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev#endif /* fastboot_nosup_msg_end */
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyevfastboot_nosup_msg(FBNS_DEFAULT, "")
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyevfastboot_nosup_msg(FBNS_SUSPEND, " after suspend/resume")
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyevfastboot_nosup_msg(FBNS_FMAHWERR, " due to FMA recovery from hardware error")
a31148363f598def767ac48c5d82e1572e44b935Gerry Liufastboot_nosup_msg(FBNS_HOTPLUG, " after DR operations")
0181461b79a0991f2269dad3ef978086e6c70257Keith M Wesolowskifastboot_nosup_msg(FBNS_BOOTMOD, " due to presence of boot-time modules")
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev/*
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev * Should ALWAYS be the last one.
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev * No fastboot_nosup_msg() after that line.
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev */
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyevfastboot_nosup_msg_end(FBNS_END)
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev#undef fastboot_nosup_msg
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev#undef fastboot_nosup_msg_end
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev
5ee8e422dc45ae866a24584daa90397099b2f01bKonstantin Ananyev#undef _SYS_FASTBOOT_MSG_H