head	1.16;
access;
symbols
	RELENG_6_4_0_RELEASE:1.15.12.1
	RELENG_6_4:1.15.0.12
	RELENG_6_4_BP:1.15
	RELENG_6_3_0_RELEASE:1.15
	RELENG_6_3:1.15.0.10
	RELENG_6_3_BP:1.15
	RELENG_6_2_0_RELEASE:1.15
	RELENG_6_2:1.15.0.8
	RELENG_6_2_BP:1.15
	RELENG_5_5_0_RELEASE:1.14.2.1
	RELENG_5_5:1.14.2.1.0.4
	RELENG_5_5_BP:1.14.2.1
	RELENG_6_1_0_RELEASE:1.15
	RELENG_6_1:1.15.0.6
	RELENG_6_1_BP:1.15
	RELENG_6_0_0_RELEASE:1.15
	RELENG_6_0:1.15.0.4
	RELENG_6_0_BP:1.15
	RELENG_6:1.15.0.2
	RELENG_6_BP:1.15
	RELENG_5_4_0_RELEASE:1.14.2.1
	RELENG_5_4:1.14.2.1.0.2
	RELENG_5_4_BP:1.14.2.1
	RELENG_4_11_0_RELEASE:1.7.2.2
	RELENG_4_11:1.7.2.2.0.10
	RELENG_4_11_BP:1.7.2.2
	RELENG_5_3_0_RELEASE:1.14
	RELENG_5_3:1.14.0.4
	RELENG_5_3_BP:1.14
	RELENG_5:1.14.0.2
	RELENG_5_BP:1.14
	RELENG_4_10_0_RELEASE:1.7.2.2
	RELENG_4_10:1.7.2.2.0.8
	RELENG_4_10_BP:1.7.2.2
	RELENG_5_2_1_RELEASE:1.13
	RELENG_5_2_0_RELEASE:1.13
	RELENG_5_2:1.13.0.6
	RELENG_5_2_BP:1.13
	RELENG_4_9_0_RELEASE:1.7.2.2
	RELENG_4_9:1.7.2.2.0.6
	RELENG_4_9_BP:1.7.2.2
	RELENG_5_1_0_RELEASE:1.13
	RELENG_5_1:1.13.0.4
	RELENG_5_1_BP:1.13
	RELENG_4_8_0_RELEASE:1.7.2.2
	RELENG_4_8:1.7.2.2.0.4
	RELENG_4_8_BP:1.7.2.2
	RELENG_5_0_0_RELEASE:1.13
	RELENG_5_0:1.13.0.2
	RELENG_5_0_BP:1.13
	RELENG_4_7_0_RELEASE:1.7.2.2
	RELENG_4_7:1.7.2.2.0.2
	RELENG_4_7_BP:1.7.2.2
	RELENG_4_6_2_RELEASE:1.7.2.1
	RELENG_4_6_1_RELEASE:1.7.2.1
	RELENG_4_6_0_RELEASE:1.7.2.1
	RELENG_4_6:1.7.2.1.0.8
	RELENG_4_6_BP:1.7.2.1
	RELENG_4_5_0_RELEASE:1.7.2.1
	RELENG_4_5:1.7.2.1.0.6
	RELENG_4_5_BP:1.7.2.1
	RELENG_4_4_0_RELEASE:1.7.2.1
	RELENG_4_4:1.7.2.1.0.4
	RELENG_4_4_BP:1.7.2.1
	KSE_MILESTONE_2:1.9
	KSE_PRE_MILESTONE_2:1.9
	RELENG_4_3_0_RELEASE:1.7.2.1
	RELENG_4_3:1.7.2.1.0.2
	RELENG_4_3_BP:1.7.2.1
	RELENG_4_2_0_RELEASE:1.7.2.1
	RELENG_4_1_1_RELEASE:1.7
	PRE_SMPNG:1.7
	RELENG_4_1_0_RELEASE:1.7
	RELENG_3_5_0_RELEASE:1.6.2.1
	RELENG_4_0_0_RELEASE:1.7
	RELENG_4:1.7.0.2
	RELENG_4_BP:1.7
	RELENG_3_4_0_RELEASE:1.6.2.1
	RELENG_3_3_0_RELEASE:1.6.2.1
	RELENG_3_2_PAO:1.6.0.4
	RELENG_3_2_PAO_BP:1.6
	RELENG_3_2_0_RELEASE:1.6
	POST_VFS_BIO_NFS_PATCH:1.6
	PRE_VFS_BIO_NFS_PATCH:1.6
	POST_SMP_VMSHARE:1.6
	PRE_SMP_VMSHARE:1.6
	POST_NEWBUS:1.6
	PRE_NEWBUS:1.6
	RELENG_3_1_0_RELEASE:1.6
	RELENG_3:1.6.0.2
	RELENG_3_BP:1.6
	RELENG_3_0_0_RELEASE:1.5
	initial:1.1.1.1
	MSMITH:1.1.1;
locks; strict;
comment	@# @;


1.16
date	2006.05.11.22.25.24;	author jhb;	state dead;
branches;
next	1.15;

1.15
date	2004.10.24.15.32.49;	author ru;	state Exp;
branches
	1.15.2.1
	1.15.12.1;
next	1.14;

1.14
date	2004.02.11.22.01.17;	author ru;	state Exp;
branches
	1.14.2.1;
next	1.13;

1.13
date	2002.05.13.10.53.24;	author ru;	state Exp;
branches;
next	1.12;

1.12
date	2002.05.12.13.54.38;	author obrien;	state Exp;
branches;
next	1.11;

1.11
date	2002.05.11.18.02.29;	author obrien;	state Exp;
branches;
next	1.10;

1.10
date	2002.05.10.09.26.28;	author obrien;	state Exp;
branches;
next	1.9;

1.9
date	2001.08.31.11.01.20;	author bde;	state Exp;
branches;
next	1.8;

1.8
date	2000.10.25.23.30.04;	author dfr;	state Exp;
branches;
next	1.7;

1.7
date	99.08.28.00.39.24;	author peter;	state Exp;
branches
	1.7.2.1;
next	1.6;

1.6
date	98.10.16.19.26.11;	author msmith;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	98.10.14.09.53.25;	author peter;	state Exp;
branches;
next	1.4;

1.4
date	98.09.26.10.51.37;	author dfr;	state Exp;
branches;
next	1.3;

1.3
date	98.08.31.21.10.40;	author msmith;	state Exp;
branches;
next	1.2;

1.2
date	98.08.22.10.31.01;	author dfr;	state Exp;
branches;
next	1.1;

1.1
date	98.08.21.03.17.42;	author msmith;	state Exp;
branches
	1.1.1.1;
next	;

1.15.2.1
date	2012.11.17.07.42.31;	author svnexp;	state Exp;
branches;
next	;

1.15.12.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.14.2.1
date	2005.02.13.07.23.30;	author obrien;	state Exp;
branches;
next	;

1.7.2.1
date	2000.10.28.01.05.39;	author gallatin;	state Exp;
branches;
next	1.7.2.2;

1.7.2.2
date	2002.07.19.18.46.28;	author ru;	state Exp;
branches;
next	1.7.2.3;

1.7.2.3
date	2012.11.17.07.25.17;	author svnexp;	state Exp;
branches;
next	;

1.6.2.1
date	99.08.29.16.20.12;	author peter;	state Exp;
branches;
next	;

1.1.1.1
date	98.08.21.03.17.42;	author msmith;	state Exp;
branches;
next	;


desc
@@


1.16
log
@First pass at removing Alpha kernel support.
@
text
@# $FreeBSD: src/sys/boot/alpha/libalpha/Makefile,v 1.15 2004/10/24 15:32:49 ru Exp $

LIB=		alpha
INTERNALLIB=

#CFLAGS+=	-DDISK_DEBUG

CFLAGS+=	-I${LIBSTANDDIR}

# Pick up the bootstrap header for some interface items
CFLAGS+=	-I${.CURDIR}/../../common

SRCS=	OSFpal.c elf_freebsd.c prom.c prom_disp.S prom_swpal.S \
	pal.S reboot.c delay.c time.c alpha_module.c devicename.c \
	srmdisk.c srmnet.c getsecs.c alpha_copy.c bootinfo.c

.include <bsd.lib.mk>
@


1.15
log
@For variables that are only checked with defined(), don't provide
any fake value.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.15.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/sys/boot/alpha/libalpha/Makefile 136910 2004-10-24 15:33:08Z ru $
@


1.15.12.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.14
log
@Overhaul makefiles.
@
text
@d4 1
a4 1
INTERNALLIB=	true
@


1.14.2.1
log
@MFC: For variables that are only checked with defined(), don't provide
     any fake value.
@
text
@d4 1
a4 1
INTERNALLIB=
@


1.13
log
@Major cleanup of bsd.lib.mk.

Get rid of the INTERNALSTATICLIB knob and just use plain INTERNALLIB.
INTERNALLIB now means to build static library only and don't install
anything.  Added a NOINSTALLLIB knob for libpam/modules.  To not
build any library at all, just do not set LIB.
@
text
@a5 1
CFLAGS+=	-ffreestanding
a6 2
#CPPFLAGS+=	-DNO_DISKLABEL
#CPPFLAGS+=	-DSAVE_MEMORY
a7 3
# XXX hack to pick up stand.h
LIBSTANDDIR=	${.CURDIR}/../../../../lib/libstand
CFLAGS+=	-DDEBUG
d11 1
a11 2
CFLAGS+=	-I${.CURDIR}/../../common -mno-fp-regs \
		-I${.CURDIR}/../../.. -I.
a16 3
machine:
	ln -sf ${.CURDIR}/../../../alpha/include machine

a17 2

beforedepend ${OBJS}: machine
@


1.12
log
@Back out last commit.  I expect our bsd.*.mk gods to remove the need for
defining so many extra things in addition to INTERNALLIB.  We don't like
repetitive C code and we shouldn't for make code either.
@
text
@a3 2
NOPIC=		true
NOPROFILE=	true
a22 2

all: libalpha.a
@


1.11
log
@NOPIC, NOPROFILE, NOMAN, and INTERNALSTATICLIB are redundant when using
INTERNALLIB now.
@
text
@d4 2
@


1.10
log
@-ffreestanding is the word.
(also resort some CFLAGS such that the more "important" value are first so
they are easier to see)
@
text
@a3 2
NOPIC=		true
NOPROFILE=	true
@


1.9
log
@Don't clobber the default for CFLAGS.

Reviewed by:		dfr
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/alpha/libalpha/Makefile,v 1.8 2000/10/25 23:30:04 dfr Exp $
d8 5
d15 1
a16 1
CFLAGS+=	-DDEBUG
a20 4

#CFLAGS+= -DDISK_DEBUG
#CPPFLAGS+= -DNO_DISKLABEL
#CPPFLAGS+= -DSAVE_MEMORY
@


1.8
log
@Don't build start.S as part of libalpha.a - its built specially.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/alpha/libalpha/Makefile,v 1.7 1999/08/28 00:39:24 peter Exp $
d10 1
a10 1
CFLAGS=		-I${LIBSTANDDIR}
@


1.7
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d21 1
a21 1
SRCS=	OSFpal.c elf_freebsd.c prom.c prom_disp.S prom_swpal.S start.S \
@


1.7.2.1
log
@MFC 1.8: Don't build start.S here
Requested by: dfr
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/boot/alpha/libalpha/Makefile,v 1.7 1999/08/28 00:39:24 peter Exp $
d21 1
a21 1
SRCS=	OSFpal.c elf_freebsd.c prom.c prom_disp.S prom_swpal.S \
@


1.7.2.2
log
@MFC: new bsd.lib.mk API.
@
text
@d1 1
a1 1
# $FreeBSD$
d4 2
a7 4
#CFLAGS+=	-DDISK_DEBUG
#CPPFLAGS+=	-DNO_DISKLABEL
#CPPFLAGS+=	-DSAVE_MEMORY

d10 1
a11 1
CFLAGS+=	-I${LIBSTANDDIR}
d17 4
d24 2
@


1.7.2.3
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/sys/boot/alpha/libalpha/Makefile 100377 2002-07-19 18:46:30Z ru $
@


1.6
log
@Turn of disk debugging by default (suppress annoying "partition marked as
unused" diagnostic on floppies).
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.5 1998/10/14 09:53:25 peter Exp $
@


1.6.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.5
log
@Initial attempt to update the Alpha loader and kernel to use the machine
independent elf loader and have access to kld modules.  Jordan and I were
not sure how to create boot floppies, and the things we tried just made
SRM laugh in our faces - but it was upset at boot1 which was not touched
by these changes.  Essentially this has been untested. :-(

What this does is to steal the last three slots from the nine spare longs
in the bootinfo_v1 struct to pass the module base pointer through.

The startup code now to set up and fills in the module and environment
structures, hopefully close enough to the i386 layout to be able to use
the same kernel code.  We now pass though the updated end of the kernel
space used, rather than _end. (like the i386).

If this does not work, it needs to be beaten into shape pronto.  Otherwise
it should be backed out before 3.0.

Pre-approved in principle by: dfr
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.4 1998/09/26 10:51:37 dfr Exp $
d17 1
a17 1
CFLAGS+= -DDISK_DEBUG
@


1.4
log
@* Add old UFS compatibility code to alpha/boot1.
* Fix a raft of warnings, printf and otherwise.
* Allocate the correct amount in mod_searchmodule to prevent an overflow.
* Fix the makefiles so they work outside my home directory (oops).
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.3 1998/08/31 21:10:40 msmith Exp $
d14 2
a15 1
CFLAGS+=	-I${.CURDIR}/../../common -mno-fp-regs
d23 1
a23 1
	srmdisk.c srmnet.c getsecs.c alpha_copy.c
d27 3
d31 2
@


1.3
log
@Bootloader update.

 - Implement a new copyin/readin interface for loading modules.
   This allows the module loaders to become MI, reducing code duplication.
 - Simplify the search for an image activator for the loaded kernel.
 - Use the common module management code for all module metadata.
 - Add an 'unload' command that throws everything away.
 - Move the a.out module loader to MI code, add support for a.out
   kld modules.

Submitted by:	Alpha changes fixed by Doug Rabson <dfr@@freebsd.org>
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.2 1998/08/22 10:31:01 dfr Exp $
d9 3
a11 2
CFLAGS= -I/home/dfr/FreeBSD/alpha/src/lib/libstand
CFLAGS+= -DDEBUG
@


1.2
log
@Minor tweaks to track a couple of i386 changes and to make it compile.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.1.1.1 1998/08/21 03:17:42 msmith Exp $
d21 1
a21 1
	srmdisk.c srmnet.c getsecs.c
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $Id$
d22 2
@


1.1.1.1
log
@This is the new unified bootstrap, sometimes known previously as the
'three-stage' bootstrap.
There are a number of caveats with the code in its current state:
 - The i386 bootstrap only supports booting from a floppy.
 - The kernel and kld do not yet know how to deal with the extended
   information and module summary passed in.
 - PnP-based autodetection and demand loading of modules is not implemented.
 - i386 ELF kernel loading is not ready yet.
 - The i386 bootstrap is loaded via an ugly blockmap.

On the alpha, both net- and disk-booting (SRM console machines only) is
supported.  No blockmaps are used by this code.

Obtained from:	Parts from the NetBSD/i386 standalone bootstrap.
@
text
@@
