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
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
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
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
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
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
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
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
drochner
c4af2e3042
Build the new memory detection stuff.
1997-08-14 15:40:28 +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
drochner
2092d92ef2
New, optional, method to get size of extended memory.
...
It will be used for getextmem() if EXTENDED_MEMDETECT is defined.
Worked on all tested machines.
Thanks to all testers, especially Martin Husemann!
1997-08-14 15:22:00 +00:00
drochner
23fd5d0d9b
#if -> #ifdef, fixes XMS support
...
from Martin Husemann, pr port-i386/3941
1997-08-05 10:27:57 +00:00
drochner
bdb232d2b6
Don't use <lib/libsa/if_ether.h> anymore. This was a copy of the
...
old (before ARP changes) <netinet/if_ether.h>, intended for
temporary use.
1997-07-22 17:41:01 +00:00
drochner
6b02672ee8
Cleanup include file usage: Avoid user space headers, use
...
<sys/types.h> instead of <sys/param.h> where possible.
1997-07-15 12:45:22 +00:00
drochner
d6a6f815ee
Add boot ROM support for 3c905 TX ethernet card.
1997-07-15 11:23:04 +00:00
drochner
e19d907613
Support SMC Ultra.
...
The code is becoming messy...
1997-06-21 14:43:11 +00:00
drochner
faf30015a9
Support 3c900 Combo.
...
(The elink3 code works probably with other boards too, but this is what
I tested.)
1997-06-21 14:41:13 +00:00
drochner
cc7a41e5d2
Weaken the restrictions on the device file name a bit: /boot can
...
now be installed on any partition.
Allow PRIM_LOADSZ to be set in the Makefile.
This together allows to make bootable 720k floppys.
closes PR port-i386/3751
1997-06-19 11:46:44 +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
d0bb0480b7
Remove bzero() prototype, it goes into libkern.h.
1997-06-13 13:45:50 +00:00
drochner
715639165d
Use default media selection from EEPROM.
1997-06-13 13:44:37 +00:00
drochner
7713cd3fb6
Fix misleading comment.
1997-06-13 13:43:05 +00:00
drochner
e82115f7f4
Add missing datasize prefix.
1997-06-13 13:42:27 +00:00
drochner
e242b6fe17
Reformat comments. (messed up by "indent")
...
-Wall fixes
1997-06-13 13:41:20 +00:00
drochner
d55d9adc84
Reformat comments. (messed up by "indent")
1997-06-13 13:36:04 +00:00
drochner
ec191bc613
Fix operand size confusion in 16-bit code.
1997-06-13 13:32:09 +00:00
perry
00b5e61754
Provides "reboot" call, which just calles INT 19h to ask the bios to
...
reboot the machine.
This may be insufficient, but its enough for now.
1997-04-13 18:45:37 +00:00
perry
20b87fc0c9
1) Make carriage return start boot immediately.
...
2) Make "quit" reboot machine. This works by adding a reboot assembler
hook that calls INT 19h
1997-04-13 18:44:39 +00:00
thorpej
ecfdbcaa40
Mimmick the old boot block's hdN -> Xd0 (where X is specified by the
...
disklabel type) unit conversion behavior.
1997-03-22 04:15:51 +00:00
thorpej
f07be03679
Purely cosmetic whitespace and indentation changes (mmm, indent(1))
1997-03-22 01:48:27 +00:00
thorpej
5e82fddd43
Purely cosmetic whitespace/indentation changes (mmm, indent(1))
1997-03-22 01:41:34 +00:00
thorpej
ddf4bc9113
Don't abort if we don't find an MBR or NetBSD MBR partition; simply assume
...
that the NetBSD portion of the disk begins at sector 0.
1997-03-22 01:33:10 +00:00
is
6c55a345c6
Make this compile with NetBSD-1.2D (if_ether.h location changed).
1997-03-20 16:15:15 +00:00