head	1.2;
access;
symbols
	initial:1.1.1.1
	MSMITH:1.1.1;
locks; strict;
comment	@# @;


1.2
date	98.09.17.23.52.13;	author msmith;	state dead;
branches;
next	1.1;

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

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


desc
@@


1.2
log
@Initial integration of the i386 bootloader and BTX.

 - Discard large amounts of BIOS-related code in favour of the more compact
   BTX vm86 interface.
 - Build the loader module as ELF, although the resulting object is a.out,
   make gensetdefs 32/64-bit sensitive and use a single copy of it.
 - Throw away installboot, as it's no longer required.
 - Use direct bcopy operations in the i386_copy module, as BTX
   maps the first 16M of memory.  Check operations against the
   detected size of actual memory.
@
text
@#
# Build a startup module
#

# Disk buffer size in sectors
CFLAGS+= -DDISKBUFSIZE=18
# Stack size in bytes
CFLAGS+= -DSTACKSIZE=0x1000

PROG=		bscrt.o
LDFLAGS=	-static -nostartfiles -nostdlib -Xlinker -r
NOMAN=		yes

# Bootblock-specific sources
SRCS=		start_bootsect.S fraglist.S bootsectmain.c 

# Includes for libsa support routines XXX fix path!
CFLAGS+=	-I${.CURDIR}/../../../../../whole/lib/libstand

# Common items across all startups
.PATH:		${.CURDIR}/..
CFLAGS+=	-I${.CURDIR}/..
SRCS+=		biosdisk_ll.c bios_disk.S buffers.S

.include <bsd.prog.mk>
@


1.1
log
@Initial revision
@
text
@@


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
@@
