xref: /titanic_50/usr/src/uts/intel/ia32/promif/README (revision 3c112a2b34403220c06c3e2fcac403358cfba168)
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 2004 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26# ident	"%Z%%M%	%I%	%E% SMI"
27#
28
29usr/src/uts/i86/promif for x86			(please update as required)
30
31Merge work (here and stand.i386/boot/promif) is done in July 1994.
32
331) The merge is mechanic and textual, no attempt in re-design this interface.
34   There are other projects that will replace this piece of code.
35
362) Three kind of binaries are generated:
37	#if defined(_KMDB)
38		for kmdb to use
39	#if defined(I386BOOT)
40		for booters (inetboot and ufsboot) to use and linked
41		together as libprom.a
42	#if !defined(_KMDB) && !defined(I386BOOT)
43		for kernel to use in *.o form
44
45 ------------------------------------------------------------------------------
46
479 Jan, 1994:
48
49    The new plan is to do away with most of the prom lib, keeping only those
50routines that are truely common to the three prom clients (kernel, kadb, and
51second level boot).  The modules that remain are:
52
53	prom_printf.c
54	prom_getchar.c
55	prom_putchar.c
56	prom_getverion.c
57	prom_init.c
58
59Everything else (which used the 3-way #ifdef's described above), has been
60moved off into client-specific modules:
61
62	.../psm/stand/boot/i386/prom.c
63	.../psm/stand/kadb/i386/prom.c
64
65								-- Reg
66