Commit Graph

33 Commits

Author SHA1 Message Date
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
sommerfe
9fefd40478 In 16-bit mode, mov %ax,%bx is interpreted as mov %eax,%ebx; this
breaks zero-extension of the 16-bit memory size return from the BIOS.
on at least one system, the trash left in the upper half of %eax
causes the kernel to crash during VM system initialization when it
thinks it has on the order of 2**31 bytes of memory to play with.

We now *say* mov %eax,%ebx, but *mean* mov %ax,%bx..
1997-03-19 18:12:10 +00:00
perry
520b71bb34 From Matthias Drochner:
give global constants more meaningful names
1997-03-15 22:20:55 +00:00
perry
5347892165 From Matthias Drochner:
give global constants more meaningful names
eliminate code duplication
1997-03-15 22:20:02 +00:00
perry
aa5f5f8441 From Matthias Drochner:
use constants from etherdrv.h
1997-03-15 22:18:55 +00:00
perry
6a00e9acc8 From Matthias Drochner:
use constants from etherdrv.h
make selection table driven
1997-03-15 22:18:21 +00:00
perry
3824935377 From Matthias Drochner:
add constants for media selection
1997-03-15 22:17:35 +00:00
perry
817522ff26 From Matthias Drochner:
fix prototypes
use CONSDEV_* constants for consistency
1997-03-15 22:15:49 +00:00
perry
86ab882a41 From Matthias Drochner:
support for ROMs ala PCI specification
1997-03-15 22:15:02 +00:00
thorpej
6ed34bacd9 Purely cosmetic whitespace changes. 1997-03-14 06:55:07 +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