/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. * See the License for the specific language governing permissions * and limitations under the License. * * When distributing Covered Code, include this CDDL HEADER in each * file and include the License file at usr/src/OPENSOLARIS.LICENSE. * If applicable, add the following below this CDDL HEADER, with the * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #pragma ident "%Z%%M% %I% %E% SMI" /* * As discussed in <sys/bootsyms.h>, most of the symbols over in psm are * not properly prototyped anywhere. One consequence of this is that the * lint libraries that should contain these symbols are either missing or * incorrectly built. * * While that mess certainly needs to be fixed, it's going to take a long * time and in the meantime we'd like the binaries under stand/lib to be * lint-clean and linted nightly. To make that possible, we use this lint * stub to generate a lint library (llib-lfakeboot.ln) that contains the * correct definitions for all the symbols that should be provided by the * objects over in psm. * * As parts of psm are cleaned up and fixed to properly build lint libraries, * the definitions for those symbols should be removed from here. Eventually, * this file should just go away entirely. */ /* LINTLIBRARY */ /* PROTOLIB1 */ #include <sys/types.h> #include <sys/promif.h> /* libprom.a */ #include <sys/prom_plat.h> /* libplat.a */ #include <sys/bootsyms.h> /* libnames.a; 2nd stage boot loaders */