drochner
9219f22775
strchr.c disappeared from libkern, use index.c instead
...
(we can't control the libkern build as we want, but it works...)
1998-01-22 15:48:02 +00:00
perry
015e898c02
RCSID Police.
1998-01-05 07:02:46 +00:00
drochner
23e7d0a259
Adjust comment for new default fragment table size.
1997-11-07 17:01:45 +00:00
drochner
4ad496626c
Double default fragment table size. For fragmented and / or small
...
blocksize filesystems the old default was too small.
1997-11-07 16:59:41 +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
90e33ee203
When using XMS, use the XMS size returned by the BIOS only if the other
...
methods to detect extended memory didn't work well.
(this XMS size is always too small, typically by 68k)
1997-11-03 18:06:22 +00:00
lukem
3e8e744696
getopt returns -1 not EOF
1997-11-01 06:49:14 +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
fvdl
d2016e2df0
Disable interrupts when frobbing the keyboard controller for A20, as
...
it may generate a reset on some (older) controllers. Introduce a delay
to make some kbd controllers happier.
1997-10-29 00:32:49 +00:00
drochner
ec78310453
Catch "timeout" return of serial port read BIOS call.
1997-10-27 19:53:20 +00:00
drochner
64550a14f3
Pass status byte to caller too.
1997-10-27 19:51:18 +00:00
hubertf
59b0f424db
Prevent error if machine-symlink isn't already there (rm -> rm -f)
1997-10-18 21:46:27 +00:00
mycroft
4b807f403c
dev/isa/comreg.h -> dev/ic/comreg.h
1997-10-16 08:03:05 +00:00
drochner
e14496efb8
Ignore BIOS partition table and disklabel for floppys and RAW_PART,
...
for consistency with the kernel.
1997-10-13 09:26:29 +00:00
drochner
6969cb676f
Pass new boot information per default.
1997-09-28 13:31:45 +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
c03122fcb1
In some future (ie, without COMPAT_OLDBOOT), we don't want to bother
...
with the disk type (IDE or SCSI) here - the BIOS doesn't do it either.
Set "#ifdef"s accordingly.
1997-09-20 12:36:05 +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
041680f614
don't forget to save the partition number for the kernel
1997-09-20 12:17:41 +00:00
drochner
9b4679d869
-Don't pass hardware address, it is not of much use for the kernel.
...
-define "addr" differently for ISA and PCI devices - for PCI, it is
(bus,device,function) now, in the format used by the PCI BIOS
1997-09-20 12:13:01 +00:00
drochner
1d47009a08
Use <machine/bootinfo.h> for definitions shared with the kernel.
1997-09-20 12:10:06 +00:00
drochner
8b0c39d09e
The additional linefeed appeared again... kill it.
1997-09-17 19:39:37 +00:00
drochner
a577f67769
Use common menu / parse functions.
...
Adapt to new console / exec_netbsd arguments.
1997-09-17 18:52:41 +00:00
drochner
a1fc367b4b
Cleanup for new libsa/bootp.c (unused global variables).
...
Do the vararg stuff right.
Remove the useless "no_bootp" variable.
1997-09-17 18:50:24 +00:00
drochner
5a1b04beab
Put bootfile name into "bootfile" before network initialization, for
...
use by BOOTP.
Put name of bootfile into "bootinfo" structure.
1997-09-17 18:47:13 +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
38b36ed152
-Use shared menu / parsing functions.
...
-Adapt to changed console and exec_netbsd arguments.
-Turn private "cd"-like behaviour into a regular command.
1997-09-17 18:37:58 +00:00
drochner
1d521976af
Put name of booted file into a "bootinfo" structure.
1997-09-17 18:32:50 +00:00
drochner
0c825594ef
Function to collect geometry and partitioning information about the
...
BIOS-known disks in a "bootinfo" structure (still experimental).
1997-09-17 18:30:51 +00:00
drochner
c65435feb3
"document" serial console support
1997-09-17 18:28:50 +00:00
drochner
a8c2622575
Collect information in a "bootinfo" structure.
1997-09-17 18:21:40 +00:00
drochner
c2095ccd48
Remove old SERIAL support, it will be done at a higher level now.
1997-09-17 18:10:51 +00:00
drochner
2fba0a4db7
Convert DOS error numbers into UNIX errno values.
1997-09-17 18:09:04 +00:00
drochner
4162c9025a
Do the vararg stuff cleanly.
...
Collect disk information in a "bootinfo" structure.
1997-09-17 18:08:13 +00:00
drochner
0851ea1331
Add now common menu / parsing functions.
...
Adapt to new console I/O functionality.
Update exec() arguments.
1997-09-17 18:04:21 +00:00
drochner
83ce8d9ef8
Use the "bootinfo" defined structures to collect information about boot
...
device/file and console setting, remove the old, limited, "xbootinfo".
Fix a printf() format warning in debug code.
1997-09-17 18:02:11 +00:00
drochner
f93967e407
add new files
1997-09-17 17:51:12 +00:00
drochner
dae95d6c0b
-extend serial console code to all 4 BIOS known interfaces
...
-optionally, use Martin's direct hardware access to serial lines
-optionally, new console autoselection method: select serial console
if a character is seen within 1 second
-move awaitkey() here, it can be shared by different bootloaders and
it is used by console autoselection
-collect information about console selection in a "bootinfo" defined
structure, for passing to the kernel
1997-09-17 17:48:00 +00:00
drochner
f7b795d3c0
Definitions and helper functions to collect information in the boot
...
loader (still experimental).
1997-09-17 17:39:29 +00:00
drochner
fb3350eb72
Console I/O functions for serial lines, accessing the hardware directly.
...
Allows higher baudrates than 9.6 and software flow control.
From Martin Husemann.
1997-09-17 17:31:41 +00:00
drochner
27d7edd928
Factor out functions for table driven boot menus and command line parsing
...
usable for different boot programs.
1997-09-17 17:13:02 +00:00
drochner
25aa241d8a
Use the private nfs.c instead of "nfswrapper".
...
Disable UDP checksums in the sample configuration, otherwise this doesn't
fit into the ROM.
1997-09-17 17:07:10 +00:00
drochner
7f4ef01688
Use the private nfs.c instead of "nfswrapper".
1997-09-17 17:04:28 +00:00
drochner
ac061ce8b1
Use a private NFS layer. This allows for more optimization than the
...
separated "nfswrapper.c"/"nfs.c".
This nfs.c differs from the stand/lib/libsa one in that it does not
have a separate mount() function - the mount is done in open().
1997-09-17 17:03:00 +00:00
drochner
3c46c18a00
Use the original bp_siaddr field as TFTP server. Allows to have
...
different TFTP and NFS servers.
Don't byteswap port number from UDP header back to network order - net.c
doesn't swap it anymore.
1997-09-17 16:57:07 +00:00
drochner
fba474f53a
add prototype definition for DHCP support
1997-09-06 14:32:31 +00:00
drochner
e153e51fa3
Make "genprom" work in objdir.
...
Minor cleanup to ease bootcode development at non-standard locations.
Closes PR port-i386/4013 by Luke Mewburn.
1997-08-20 16:53:30 +00:00
hannken
a44c1f66a7
Change "it's" to "it is" inside assembler comments to
...
stop "unterminated character constant" messages from `mkdep'.
1997-08-18 22:44:01 +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