dsl
81acacd723
Change all .S files to use .code16 and .code32
...
Support 32bit addresses >64k as valid on bios calls.
Move stack for dosboot and biosboot to >64 so stack doesn't hit data.
Use disk sector number passed by mbr code to select default partition
(the mbr code doesn't do this yet).
NB only biosboot and dosboot have been tested so far.
(changes approved by christos and fvdl)
2003-02-01 14:48:16 +00:00
lukem
a250e57c96
Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
...
"${RELEASEDIR}/...".
${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only
cleaned if UPDATE is not defined.
2003-01-03 15:34:30 +00:00
thorpej
76ea45942b
Cleanup of i386 bootloader building:
...
* Add separate directories for the individual netboot ROMs and
always build them.
* Each bootloader Makefile explicitly specifies the start file
and link address it wishes to use.
* genprom becomes a proper host program.
* Make sure all generated files get cleaned up.
* Set BINDIR in Makefile.inc
* Add compressed image support to pxeboot.
* Make pxeboot use the default serial console speed (9600).
2002-02-17 20:03:05 +00:00
tv
8e6f7afb5b
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
scw
45e7238a02
Bump the version numbers of all bootloaders which use loadfile_elfXX() now
...
that it tries hard to avoid backwards seeks.
2001-11-09 19:53:11 +00:00
bjh21
ad2c12a28d
Bump version numbers of all bootloaders that use loadfile/ELF, to account for
...
my changes to symbol loading. I should probably have done this at the time,
but it's better late than never.
2001-08-02 12:24:05 +00:00
itojun
1e8074db2e
sort boot flag to alphabetical order. add -c.
2001-07-05 00:58:45 +00:00
jdolecek
b001ce9b90
g/c COMPAT_OLDBOOT from bootblocks, sprinkle some const
...
bump bootblock version to 2.10
2001-06-01 23:26:30 +00:00
wiz
c374cadf43
Get RELEASEDIR setting from /etc/mk.conf. Fixes misc/11104 by Markus Kurek.
2000-10-15 22:42:49 +00:00
jdolecek
2308091f66
update usage message (new flags -v, -q)
2000-09-24 18:28:18 +00:00
jdolecek
49c105ffdb
add new macro BOOT_FLAG() (defined in <sys/boot_flag.h>) - this
...
maps standard boot flags to corresponding RB_* values
use BOOT_FLAG() in port's MD code as appropriate
as discussed on tech-kern, add new boot flags -v, -q for booting
verbosely or quietly, and corresponding AB_VERBOSE/AB_QUIET
boot flags; also add FreeBSD-compatible bootverbose macro and
NetBSD-specific bootquiet macro
for hpcmips, use new bootverbose instead of it's own hpcmips_verbose
Tested on i386, and to limited extend (compile of affected files) also for
mvme68k, hp300, luna68k, sun3.
2000-09-24 12:32:31 +00:00
enami
ef2b361222
Fix to work with objdir.
2000-09-05 05:05:16 +00:00
jhawk
2ea44b1dd4
install dosboot.com in the release(7) hierarchy.
2000-08-23 21:00:46 +00:00
jdolecek
e25636b5da
g/c RB_DFLTROOT
...
I've tried hard to find also various usage() messages and remove the
appropriate flag from there as well, hopefully all occurences are covered.
2000-07-29 20:06:27 +00:00
jdolecek
c8f528ad5e
switch to MI newvers_stand.sh version info generator
2000-07-12 21:05:35 +00:00
jhawk
c4f2dfb0b9
Enable "old partition ID" compatibility by default, just as in biosboot.
2000-07-06 03:39:53 +00:00
martin
8ba340d655
Do the same as biosboot does.
...
This makes it possible to create serial console dosboot.com's via uncommenting
the appropriate Makefile options.
I needed this when testing the SMP test kernels at work.
2000-03-13 10:51:22 +00:00
christos
30ffed2123
remove bogus prototype for getopt
1999-04-14 15:22:46 +00:00
drochner
e4841b3edf
add prototypes, use ufs_ls() from mi libsa,
...
compile with -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main
1999-04-14 11:53:43 +00:00
drochner
0ead10436a
define VERSIONFILE, from John Darrow <John.P.Darrow@wheaton.edu>
...
per PR port-i386/7336
1999-04-08 10:23:23 +00:00
lukem
dcab0210a0
convert from NOxxx= to MKxxx=no.
...
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
cjs
3e90f302b6
Don't give exit() a parameter, as libstand version doesn't take one.
1999-02-12 05:14:22 +00:00
christos
371363a158
Add exec.c here and bump version for elf.
...
XXX: This code has not been tested!
1999-01-30 17:44:10 +00:00
ws
a541c86a76
Update version number and mention int13 extension support
...
(sorry, forgot this on the recent commit of the above).
1998-10-27 12:59:02 +00:00
drochner
13b329cdd2
bump version number to reflect the partition ID change
...
(should have been done long ago)
1998-07-08 17:46:21 +00:00
drochner
8539f2f3b9
../lib/exec_fromdos.c doesn't use the memory size returned by XMS check
...
anymore if other methods work better. Sync banner output with this.
1997-11-03 18:17:19 +00:00
drochner
bdf1b13477
-Don't try to parse the bootfile path in DOS mode.
...
-Take "dev" command from "biosboot" for consistency.
1997-10-31 18:50:09 +00:00
drochner
4de13c78d3
Use the "proginstall" rule from <bsd.prog.mk> to get the UPDATE
...
behaviour right.
1997-09-28 11:47:29 +00:00
drochner
dc0b04e0ad
Note use of common menu functions and new framework for argument passing
...
to the kernel.
1997-09-20 12:28:21 +00:00
drochner
8b0c39d09e
The additional linefeed appeared again... kill it.
1997-09-17 19:39:37 +00:00
drochner
d9641ea06f
Use common menu / parsing functions.
...
Adapt to new console / exec_netbsd arguments.
1997-09-17 18:44:15 +00:00
drochner
23d58b46d3
Put name of booted file into a "bootinfo" structure.
...
(not for DOS files for now, we don't know the absolute path)
1997-09-17 18:40:33 +00:00
drochner
80a5032beb
Make new memory detection default.
...
Introduce a new option, "CONSERVATIVE_MEMDETECT", which disables the
new BIOS calls.
1997-08-14 17:00:18 +00:00
drochner
26f8c5bd65
Prepare definition for EXTENDED_MEMDETECT.
...
Not yet default.
1997-08-14 15:38:30 +00:00
drochner
a6d6ef3a20
Use traditional memory detect function (int15/88) as indication for
...
a XMS driver.
From Martin Husemann.
1997-08-14 15:28:47 +00:00
christos
832c3f464d
If we have xms print the xms memory size, and indicate that this is xms
...
memory in the banner. It is confusing to show 0 memory...
1997-07-29 16:01:45 +00:00
thorpej
e31d380775
New welcome banner code, modeled after NetBSD/hp300's boot program
...
welcome banner code. Includes additional build information, and it
generally nicer to look at.
1997-07-26 01:50:36 +00:00
drochner
a0d9d3bc54
Allow to boot from DOS if a XMS manager is installed.
...
XMS is recognized and used as temporary buffer for the kernel image.
The processor must still be in real mode at program start, so EMM386
or QEMM are not allowed. W*95 is OK.
Written by Martin Husemann (pr port-i386/3336).
Completely separated from other bootloaders for sanity.
1997-06-13 17:49:22 +00:00
drochner
906ad4efef
Remove strerror() prototype, it goes into stand.h.
1997-06-13 13:22:08 +00:00
drochner
771175f3d8
Remove some relicts from the time before libsa/Makefile got
...
"SAMISCCPPFLAGS".
Enable -Wall.
1997-06-13 13:17:46 +00:00
mycroft
5432d44374
Override the proginstall target to do our special hackery. (Yuck.)
1997-05-07 16:15:01 +00:00
thorpej
e321bba79a
Purely cosmetic whitespace/indentation changes (mmm, indent(1))
1997-03-22 09:03:29 +00:00
thorpej
63a75dcdcf
Make this work with obj* dirs.
1997-03-14 04:59:34 +00:00
perry
816bb96145
Initial import of new boot code, created by Matthias Drochner with a
...
little hacking by me. This isn't strictly identical to his 920312
release -- I've hacked it a bit -- but since we are taking over change
control it doesn't matter much.
1997-03-14 02:40:32 +00:00