xref: /titanic_50/usr/src/stand/lib/fakeboot/llib-lfakeboot (revision 275c9da86e89f8abf71135cf63d9fc23671b2e60)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License").  You may not use this file except in compliance
7 * with the License.
8 *
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
13 *
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
19 *
20 * CDDL HEADER END
21 */
22/*
23 * Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
24 * Use is subject to license terms.
25 */
26
27#pragma ident	"%Z%%M%	%I%	%E% SMI"
28
29/*
30 * As discussed in <sys/bootsyms.h>, most of the symbols over in psm are
31 * not properly prototyped anywhere.  One consequence of this is that the
32 * lint libraries that should contain these symbols are either missing or
33 * incorrectly built.
34 *
35 * While that mess certainly needs to be fixed, it's going to take a long
36 * time and in the meantime we'd like the binaries under stand/lib to be
37 * lint-clean and linted nightly.  To make that possible, we use this lint
38 * stub to generate a lint library (llib-lfakeboot.ln) that contains the
39 * correct definitions for all the symbols that should be provided by the
40 * objects over in psm.
41 *
42 * As parts of psm are cleaned up and fixed to properly build lint libraries,
43 * the definitions for those symbols should be removed from here.  Eventually,
44 * this file should just go away entirely.
45 */
46
47/* LINTLIBRARY */
48/* PROTOLIB1 */
49
50#include <sys/types.h>
51#include <sys/promif.h>			/* libprom.a */
52#include <sys/prom_plat.h>		/* libplat.a */
53#include <sys/bootsyms.h>		/* libnames.a; 2nd stage boot loaders */
54#ifdef __i386
55#include <sys/dosemul.h>		/* realmode layer */
56#endif
57