peter
5e3acbf57e
Try and get the sys/* and machine/* includes via relative paths. This
...
saves having to do a 'make includes' after touching any header file for
the boot code.
1998-10-14 07:08:16 +00:00
peter
0966fead52
Align to sizeof(long) rather than sizeof(int32_t). It needs to be
...
long because this code is shared with the alpha. I hope the alpha can
read 32 bit ints at 32 bit alignment (vs. 64 bit alignment).
1998-10-14 05:07:23 +00:00
rnordier
f844028be7
Fix btx include path.
1998-10-14 01:53:56 +00:00
rnordier
e4f3dfea8d
Include <bsd.prog.mk>. Add install target (to /boot for now).
1998-10-14 00:24:16 +00:00
rnordier
828b808519
Fix flow of control after directory listing; enable EDD support;
...
cosmetics.
1998-10-13 23:43:38 +00:00
rnordier
0cb607c6dc
Make v86.ctl default more explicit; simplify read error-handling;
...
twiddle.
1998-10-13 23:00:47 +00:00
rnordier
a168d3cb17
Adjust NDEV value.
...
Optimize reading of system time.
1998-10-13 22:17:05 +00:00
rnordier
4c49cf4675
Change to a 15-sector boot2.
...
Refine slice-handling.
1998-10-13 21:35:42 +00:00
rnordier
05e05b3c64
Don't use an absolute path to objcopy.
...
Noticed by: Scott Mace <smace@intt.org>
1998-10-13 18:29:18 +00:00
rnordier
38a0335208
Improve drive recognition and handling.
1998-10-13 17:41:06 +00:00
rnordier
e3811b3bae
This commit was generated by cvs2svn to compensate for changes in r40269,
...
which included commits to RCS files with non-trunk default branches.
1998-10-12 21:16:26 +00:00
rnordier
0a456c31da
New boot blocks: support for /boot/loader; a.out & ELF; cyl > 1023;
...
multiple 0xa5 slices; etc.
1998-10-12 21:16:26 +00:00
rnordier
c4aec13535
New boot blocks: support for /boot/loader; a.out & ELF; cyl > 1023;
...
multiple 0xa5 slices; etc.
1998-10-12 21:16:26 +00:00
rnordier
e0698462f3
Drop .MAKEFLAGS: hack.
1998-10-12 02:05:44 +00:00
rnordier
6924fedb20
Do without head and tail: they're pretty unnecessary here anyway.
1998-10-12 01:44:15 +00:00
rnordier
34a71608ef
Use rather than for linking. This allows the new rather
...
than stale version of libstand.a to be found.
After this change, the new boot code is apparently building correctly
in a make world.
1998-10-12 01:03:00 +00:00
rnordier
45d3f503c7
Override for ELF.
1998-10-11 12:59:40 +00:00
rnordier
acc5d22f1d
Override for ELF. Override .s.o suffix rule.
1998-10-11 11:27:48 +00:00
peter
9777d36292
Fix a warning that's been bugging me for ages.
1998-10-11 10:29:49 +00:00
peter
000dea089b
Only call vidc_init() once (unless forced).
...
Cosmetic change to the init-time character eater (like, make it increment
the index counter - if there's a problem, it would sit there in an infinite
loop instead of only running 10 times).
1998-10-11 10:07:52 +00:00
peter
ea08aa4013
Fix comconsole mode. The int 0x14 read and status commands were reversed.
...
Also, make sure we set %dx each time around otherwise the commands
suddenly start trying to work on things like com92 instead of com1.
Make sure comc_init() is only run once.
Cosmetic change to init-time character eater.
1998-10-11 10:05:13 +00:00
peter
2f4399a063
Warn that one of the DEBUG statements has a v86 recursion bug.
1998-10-11 10:01:55 +00:00
peter
8a8128b194
Fix comment to match code
1998-10-11 09:53:30 +00:00
rnordier
ff07c61cc9
Fix a typo.
...
Output another newline before invoking bootstrap.
1998-10-10 14:03:03 +00:00
rnordier
adfacacde6
Turn off the new /sys/boot stuff (except boot0) unless OBJFORMAT
...
is elf. (The BTX client must be ELF, though it is packaged as a.out
for compatibility.)
1998-10-09 23:30:16 +00:00
peter
cf0b734c3d
Attempt to at least align MODINFO_* blocks. IMHO, decoding this stuff
...
should be MD code since one day we'll have to recover pages from deleted
preload data. MI code can't be expected to know how to deal with pmap
internals, assuming it gets done via pmap that is. :-)
1998-10-09 23:24:55 +00:00
peter
259638944d
Turn symbol table info passing back on, although it's probably not
...
particularly useful in this form. KLD can deal with it much better.
setenv kernelname moved earlier.
1998-10-09 23:22:30 +00:00
peter
aa0de1fb18
Remove kernelname setenv, the common code does it.
...
Use the metadata for symtab pointers, mainly to keep it common with
elf_freebsd.c.
1998-10-09 23:20:47 +00:00
rnordier
017fa2eb67
Get this building as a.out or ELF.
...
With thanks to: jdp
1998-10-09 17:19:51 +00:00
msmith
ac6a24ba47
Remove some debugging code.
...
Do a much better job of DWIM with partial device specifications.
Fix the module metadata build process, which was completely broken.
Use a larger read buffer when copying large objects in; this
improves performance marginally and will avoid flushning any small caches
we might choose to implement.
1998-10-09 07:11:19 +00:00
peter
e21834764b
Fix that pesky boot aguments parsing bug. (I think :-)
1998-10-07 10:55:46 +00:00
msmith
aaa2a6fba9
Request the flags back when checking for keyboard status.
...
Submitted by: rnordier
1998-10-07 07:34:31 +00:00
msmith
29868f7f79
Enable the DOS filesystem. NOTE: you will have to rebuild libstand in
...
order to be able to build again.
1998-10-07 02:39:32 +00:00
msmith
87bb4f6f57
- Drain the keyboard buffer when initialising.
...
- Be pedantic about the return from int 16 fn 01.
1998-10-07 02:39:06 +00:00
msmith
9d7a6d77c8
bootinfo.c
...
Strip any device name information from the kernel name
before passing it in.
biosdisk.c
Be more strict about matching device names to slice entries.
Only allow unsliced syntax on unsliced disks.
1998-10-06 07:27:05 +00:00
rnordier
484920ce83
Fix for "get base memory" bug found and mostly fixed by Mike.
1998-10-06 07:15:35 +00:00
msmith
723e5c6a84
The BIOS memory size is only a word. Some BIOSsen have garbage in the other
...
16 bits we were reading here, causing loss of arguments.
1998-10-06 06:13:36 +00:00
msmith
1a62a98115
Build boot0 as well.
1998-10-06 06:12:55 +00:00
rnordier
57f6784e78
Install in /boot.
1998-10-05 19:20:36 +00:00
rnordier
e5d9330f4d
boot0 is a booteasy (boot manager) workalike with EDD support.
1998-10-05 10:08:37 +00:00
rnordier
e2e5ad22f0
This commit was generated by cvs2svn to compensate for changes in r39973,
...
which included commits to RCS files with non-trunk default branches.
1998-10-05 10:08:37 +00:00
rnordier
dd5f9d7739
Adjust setting of argument pointer for BTX 0.87.
1998-10-04 21:15:45 +00:00
rnordier
93bf58f69c
Allocate space for storing of arguments at the end of conventional
...
memory.
1998-10-04 21:14:33 +00:00
msmith
c53904ec56
Don't include ELF symbol information yet - it causes the ELF DDB to
...
explode.
1998-10-04 20:58:46 +00:00
msmith
2e5ae0a020
Improve the handling of the initial bootdev value from the previous loader.
...
Remove some unused code.
1998-10-04 09:12:54 +00:00
msmith
19c8db49e0
biosdisk.c
...
Allocate space for, and copy, NDOSPART slice entries from the
MBR, not just one. Add some extra debugging while we're at it.
elf_freebsd.c
Initialise the symbol table start/end pointers in case we don't
have them.
1998-10-04 09:12:15 +00:00
rnordier
b21275d877
Missing newline in heap command display.
...
Noticed by: jkh
1998-10-03 18:27:50 +00:00
rnordier
c59c5c0235
For system calls, reboot without prompting; for exceptions, display
...
message and await reset.
1998-10-03 18:05:12 +00:00
rnordier
5638c62ba7
Map all BTX system pages readable at ring 3.
...
This resolves the firmware problem first raised in connection
with PR 8105, although unrelated.
1998-10-03 14:33:06 +00:00
rnordier
9d6dbb0c2e
bootinfo bi_vesa no longer exists.
1998-10-03 14:13:30 +00:00