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
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.
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]
23 * Copyright (c) 1991-1994, by Sun Microsystems, Inc.
24 * All rights reserved.
27 #pragma ident "%Z%%M% %I% %E% SMI"
29 #include <sys/promif.h>
30 #include <sys/promimpl.h>
37 * For compatibility with older client programs, if there is no
38 * ROMVEC, we simply return a very large number here.
40 return (obp_romvec_version
);
44 prom_is_openprom(void)
47 * Returns true, if openboot or open firmware interface exists.
56 * Returns true, if IEEE 1275 interface exists.
62 * Certain standalones need to get the revision of a certain
63 * version of the firmware to be able to figure out how to
64 * correct for certain errors in certain versions of the PROM.
66 * The caller has to know what to do with the cookie returned
67 * from prom_mon_id(). c.f. uts/sun4c/io/autoconf.c:impl_fix_props().
73 return (NULL
); /* For compatibilty, none exists in 1275 */