xref: /titanic_51/usr/src/uts/i86pc/sys/fastboot_msg.h (revision d2670fc40c4567a1426992012f9a8666e3fa1098)
15ee8e422SKonstantin Ananyev /*
25ee8e422SKonstantin Ananyev  * CDDL HEADER START
35ee8e422SKonstantin Ananyev  *
45ee8e422SKonstantin Ananyev  * The contents of this file are subject to the terms of the
55ee8e422SKonstantin Ananyev  * Common Development and Distribution License (the "License").
65ee8e422SKonstantin Ananyev  * You may not use this file except in compliance with the License.
75ee8e422SKonstantin Ananyev  *
85ee8e422SKonstantin Ananyev  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
95ee8e422SKonstantin Ananyev  * or http://www.opensolaris.org/os/licensing.
105ee8e422SKonstantin Ananyev  * See the License for the specific language governing permissions
115ee8e422SKonstantin Ananyev  * and limitations under the License.
125ee8e422SKonstantin Ananyev  *
135ee8e422SKonstantin Ananyev  * When distributing Covered Code, include this CDDL HEADER in each
145ee8e422SKonstantin Ananyev  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
155ee8e422SKonstantin Ananyev  * If applicable, add the following below this CDDL HEADER, with the
165ee8e422SKonstantin Ananyev  * fields enclosed by brackets "[]" replaced with your own identifying
175ee8e422SKonstantin Ananyev  * information: Portions Copyright [yyyy] [name of copyright owner]
185ee8e422SKonstantin Ananyev  *
195ee8e422SKonstantin Ananyev  * CDDL HEADER END
205ee8e422SKonstantin Ananyev  */
215ee8e422SKonstantin Ananyev 
225ee8e422SKonstantin Ananyev /*
235ee8e422SKonstantin Ananyev  * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
245ee8e422SKonstantin Ananyev  * Use is subject to license terms.
255ee8e422SKonstantin Ananyev  */
265ee8e422SKonstantin Ananyev /*
275ee8e422SKonstantin Ananyev  * !!! IMPORTANT !!!
285ee8e422SKonstantin Ananyev  * Please DO NOT overwrite existing Fastboot Not Support msgids.
295ee8e422SKonstantin Ananyev  * New fastboot_nosup_msg() have to be added to the end of the list,
305ee8e422SKonstantin Ananyev  * just BEFORE fastboot_nosup_msg_end().
315ee8e422SKonstantin Ananyev  */
325ee8e422SKonstantin Ananyev 
335ee8e422SKonstantin Ananyev #ifndef	_SYS_FASTBOOT_MSG_H
345ee8e422SKonstantin Ananyev #define	_SYS_FASTBOOT_MSG_H
355ee8e422SKonstantin Ananyev #endif	/* _SYS_FASTBOOT_MSG_H */
365ee8e422SKonstantin Ananyev 
375ee8e422SKonstantin Ananyev #ifndef	fastboot_nosup_msg
385ee8e422SKonstantin Ananyev #define	fastboot_nosup_msg(id, str)
395ee8e422SKonstantin Ananyev #endif	/* fastboot_nosup_msg */
405ee8e422SKonstantin Ananyev 
415ee8e422SKonstantin Ananyev #ifndef	fastboot_nosup_msg_end
425ee8e422SKonstantin Ananyev #define	fastboot_nosup_msg_end(id)
435ee8e422SKonstantin Ananyev #endif	/* fastboot_nosup_msg_end */
445ee8e422SKonstantin Ananyev 
45*d2670fc4SToomas Soome /* BEGIN CSTYLED */
465ee8e422SKonstantin Ananyev fastboot_nosup_msg(FBNS_DEFAULT, "")
475ee8e422SKonstantin Ananyev fastboot_nosup_msg(FBNS_SUSPEND, " after suspend/resume")
485ee8e422SKonstantin Ananyev fastboot_nosup_msg(FBNS_FMAHWERR, " due to FMA recovery from hardware error")
49a3114836SGerry Liu fastboot_nosup_msg(FBNS_HOTPLUG, " after DR operations")
500181461bSKeith M Wesolowski fastboot_nosup_msg(FBNS_BOOTMOD, " due to presence of boot-time modules")
51*d2670fc4SToomas Soome fastboot_nosup_msg(FBNS_MULTIBOOT2, " due to multiboot2 boot protocol")
525ee8e422SKonstantin Ananyev 
535ee8e422SKonstantin Ananyev /*
545ee8e422SKonstantin Ananyev  * Should ALWAYS be the last one.
555ee8e422SKonstantin Ananyev  * No fastboot_nosup_msg() after that line.
565ee8e422SKonstantin Ananyev  */
575ee8e422SKonstantin Ananyev fastboot_nosup_msg_end(FBNS_END)
58*d2670fc4SToomas Soome /* END CSTYLED */
595ee8e422SKonstantin Ananyev 
605ee8e422SKonstantin Ananyev #undef	fastboot_nosup_msg
615ee8e422SKonstantin Ananyev #undef	fastboot_nosup_msg_end
625ee8e422SKonstantin Ananyev 
635ee8e422SKonstantin Ananyev #undef	_SYS_FASTBOOT_MSG_H
64