Commit Graph

66 Commits

Author SHA1 Message Date
drochner
7f15295bde Define _STANDALONE for standalone programs. 1997-06-26 19:03:32 +00:00
mrg
e179766b04 move man pages into share/man. 1997-06-22 05:58:25 +00:00
drochner
a401914d1a "document" the new hardware support. 1997-06-21 14:43:51 +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
444a854ad2 Separate access to filesystem and access to raw device, mount
device only if needed. This allows to work on unmounted disks in
securelevel 1.
1997-06-13 22:14:58 +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
5af5a7c097 Remove strerror() prototype, it goes into stand.h. 1997-06-13 13:48:47 +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
drochner
2d36b26ee0 The socket descriptor can only be used by one connection at a time.
Simplify the code accordingly.
1997-06-13 13:28:19 +00:00
drochner
44079e2f16 Remove strerror() prototype, it goes into stand.h.
Pass console selection to exec_netbsd().
1997-06-13 13:25:25 +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
drochner
1b787da26a Force inclusion of "diskbuf" into bootsectors.
This allows to build bootsectors containing netboot code
("make netboot.sym" in the netboot directory).
1997-06-13 13:12:29 +00:00
mycroft
5432d44374 Override the proginstall target to do our special hackery. (Yuck.) 1997-05-07 16:15:01 +00:00
thorpej
6a2fc99857 STRIP -> STRIPFLAG 1997-04-17 07:27:46 +00:00
perry
a0e583f33e Fix problem I just introduced in booting on timeout. 1997-04-13 19:10:00 +00:00
perry
7f3e4fcb29 bump to 2.0Beta2; we'll keep incrementing until we release the real 2.0 1997-04-13 18:49:31 +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
edad9d2e05 Purely cosmetic whitespace/indentation changes (mmm, indent(1)) 1997-03-22 09:13:48 +00:00
thorpej
e321bba79a Purely cosmetic whitespace/indentation changes (mmm, indent(1)) 1997-03-22 09:03:29 +00:00
thorpej
83edf0b6cd - oops, fix a missing space in a printf
- allow whitespace before a command, and if there is only whitespace,
  don't print the help message (seeing a help message after just
  tapping return can be a shade annoying).
1997-03-22 09:00:41 +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
thorpej
5bd8a86d23 Link installboot statically so that it can be used on install floppies
and in emergency situations.
1997-03-22 00:16:56 +00:00
is
6c55a345c6 Make this compile with NetBSD-1.2D (if_ether.h location changed). 1997-03-20 16:15:15 +00:00
is
5df51f68f4 Make this compile with 1.2D (if_ether.h location changed) 1997-03-20 16:14:22 +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
e097564463 From Matthias Drochner:
add definition prototype for PCI ROMs
add optional definition for serial console support
1997-03-15 22:16: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
perry
492449d27a From Matthias Drochner:
calculate 16-bit checksum
support for ROMs ala PCI specification
1997-03-15 22:14:02 +00:00
thorpej
a276c4ee15 - Some cosmetic changes to whitespace
- make the command parser table-driven
1997-03-14 06:56:27 +00:00
thorpej
6ed34bacd9 Purely cosmetic whitespace changes. 1997-03-14 06:55:07 +00:00
mycroft
e96f48563b Add netboot.bin to CLEANFILES. 1997-03-14 05:07:27 +00:00