drochner
7f15295bde
Define _STANDALONE for standalone programs.
1997-06-26 19:03:32 +00:00
perry
73de3e34b8
"fake" disklabels should make the whole thing the 'c' partition, not
...
the 'a' partition. Sanity checked by thorpej.
This, incidently, may have been causing user errors in initializing
new disks, as described in (now closed) pr-2729 from Scott Reynolds,
because users typically don't try to edit their c partitions to be
"correct".
1997-06-26 05:40:30 +00:00
thorpej
0404c01c46
#define DB_AOUT_SYMBOLS
1997-06-26 01:26:56 +00:00
mellon
021ee70ed5
Adjust options statements so that if they are commented out or uncommented, it doesn't screw up indentation.
1997-06-25 04:41:15 +00:00
thorpej
9fefca0657
Update for repaired Triton MX PCI ID.
1997-06-24 06:21:22 +00:00
fvdl
9270fc61c1
Turn some bus_space_write_2s back to bus_space_write1s, like they should
...
be. Seemingly leftover from bus_io -> bus_space transition.
Fixes PR 3780, from Thorsten Frueauf
1997-06-23 23:46:40 +00:00
mrg
ea3d699c3c
remove pcvtdoc.
1997-06-23 03:50:54 +00:00
mrg
38e40629b9
really nothing left here now.
1997-06-23 03:50:39 +00:00
mrg
90a52da37a
move man pages into share/man.
1997-06-23 03:30:19 +00:00
mrg
1c91d7d00f
nothing here anymore
1997-06-23 03:27:11 +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
cgd
75979242d2
clean up spacing before a few DPRINTFs. Also, make the no-32-bit-support
...
cases uniformly DPRINTF'd and also distinguished by using slightly different
strings for each.
1997-06-17 06:06:25 +00:00
mycroft
78408dc12d
Make sure we can't open a device that doesn't exist.
1997-06-14 11:38:30 +00:00
mycroft
e7a3f1ab43
Pass only a subregion of the I/O space to the joy driver, which covers the
...
normal single port.
1997-06-14 11:35:37 +00:00
perry
28fd103fd9
Temporarily disable wds driver. The driver statically allocates a huge
...
bounce buffer, which breaks installs on 4Meg machines using the new
ramdisk install system. We'll bus_dma the driver and then it should be
fine to put back in to the normal INSTALL kernel.
1997-06-14 06:23:47 +00:00
perry
9c487327a3
Update for new RAMDISK based install system.
1997-06-14 02:07:08 +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
thorpej
9e69444bbd
Nuke __VM_PMAP_HACK.
1997-06-12 23:57:26 +00:00
mrg
1258c8d25b
remove now obsolete "swap on..." lines.
1997-06-12 18:41:58 +00:00
mrg
552af779d2
bring mrg-vm-swap2 onto mainilne.
1997-06-12 15:46:19 +00:00
mrg
dc6a98e92c
bring mrg-vm-swap2 onto mainilne.
1997-06-12 15:09:23 +00:00
veego
dc2c2bf304
Use '#options<SPACE><TAB>' for EXT2FS_SYSTEM_FLAGS and add the empty line
...
before '#options GATEWAY'.
1997-06-12 07:05:49 +00:00
perry
08cd1e4c5d
clean up the formatting of the ext2fs lines a bit.
1997-06-11 21:05:41 +00:00
bouyer
f5aa30a996
Add file-system ext2fs and related options.
1997-06-11 10:54:53 +00:00
perry
a630650d7f
Switch to building new boot blocks by default.
1997-06-07 00:35:42 +00:00
veego
ef7d5776d0
Add 'char machine_arch[] = "xxx";' for the new sysctl hw.machine_arch.
1997-06-06 23:29:25 +00:00
thorpej
63bad43fa4
Pull thorpej-bus-dma branch into mainline.
1997-06-06 23:28:40 +00:00
thorpej
7a15aef7ea
Pull thorpej-bus-dma branch into mainline.
1997-06-06 23:24:31 +00:00
thorpej
ea7351cb31
Pull thorpej-bus-dma branch into mainline.
1997-06-06 23:14:22 +00:00
thorpej
433c3cae0f
Pull thorpej-bus-dma branch into mainline.
1997-06-06 23:10:23 +00:00
thorpej
ab8dcc3eda
Add fxp* at pci? declarations.
1997-06-05 02:27:44 +00:00
jtk
d935ace5a0
1) When we cannot complete our attachment, don't just return 0 but also
...
disconnect from the BIOS
2) when text segment as claimed by BIOS is out of sensible range, punt
completely rather than trying to shrink it to fit the ISA hole. Some
BIOSes would crash with the previous behavior. Some won't have a
working APM with the new behavior, but their BIOSes are broken.
Suggested by Chris Demetriou, with very minor tweaks by me.
1997-06-04 03:34:43 +00:00
perry
d27bc903b5
trivial reformat -- one space to a tab
1997-06-02 00:26:49 +00:00
mycroft
f1b8a3c357
Make sure intrtype[] is set. (Curious where this got lost...)
1997-05-19 01:13:01 +00:00
thorpej
14078d838d
Remove comment about bus dma tag. I've been convinced otherwise.
1997-05-18 23:14:03 +00:00
thorpej
5e447974cb
Add a comment about why the bus dma tag is not provided to the child
...
bus attaching to the bridge.
1997-05-18 05:30:34 +00:00
thorpej
2b8a15aed4
Add a comment about why the bus dma tag is not forwarded from parent
...
to child if an auxillary PCI bus is attached to the bridge. Also,
remove an extra ';'.
1997-05-18 05:29:24 +00:00
gwr
e2a58b69f7
Add #define __VM_PMAP_HACK as a temporary measure.
1997-05-16 21:35:30 +00:00
jtk
fb2e379487
add pci* at pchb?
1997-05-13 22:48:33 +00:00
jtk
548e1683bf
add pcibus attribute to pchb, for Intel dual-bus host/PCI bridge chip
1997-05-13 22:48:02 +00:00
jtk
86bf57701c
add support for dual PCI bus Intel host/PCI bridge. Thanks to Chris Demetriou for his assistance in educating me about the vagaries of PCI and its configuration model.
1997-05-13 22:47:30 +00:00
fvdl
f99df8aa9c
rdsetimage -> mdsetimage in comment (enami tsugutomo, PR 3596)
1997-05-10 11:06:53 +00:00
mycroft
84bca5d679
Don't use _SUBDIRUSE outside of bsd.subdir.mk.
1997-05-07 17:28:47 +00:00
mycroft
53fb29bd67
We don't need a special clean: target here.
1997-05-07 17:16:05 +00:00
mycroft
5432d44374
Override the proginstall target to do our special hackery. (Yuck.)
1997-05-07 16:15:01 +00:00
mycroft
29ed66d6d3
Minor change.
1997-05-07 16:13:46 +00:00
mycroft
ba4cf66fbe
Add a missing .PHONY.
1997-05-07 08:26:04 +00:00
mycroft
19c4f04eeb
Sync with GENERIC, and nuke procfs and kernfs.
1997-04-30 06:06:02 +00:00
tls
c96effb7f8
don't allow i386_set_ioperm if securelevel > 1, either (and fix a really silly bug)
1997-04-26 21:33:42 +00:00
tls
3d9b09a843
If in highly-secure mode, don't ever allow access to IO ports
1997-04-26 20:30:02 +00:00
mycroft
bba8a4e9b1
GC.
1997-04-24 20:45:53 +00:00
mycroft
0b3a169a66
This is no longer needed.
1997-04-24 20:45:10 +00:00
mycroft
d1c236b1e4
Tweak to improve performance slightly on very small packets and headers.
...
Suggested by Jonathan Stone.
1997-04-24 05:46:20 +00:00
thorpej
6a2fc99857
STRIP -> STRIPFLAG
1997-04-17 07:27:46 +00:00
jtk
76ea50410b
handle bios requests differently: mark them in progress while waiting
...
for user input, or until the driver is ready to handle them itself.
Also, try to turn on power management if the BIOS says it's disabled at
connect time.
1997-04-15 01:45:11 +00:00
jtk
4ed6c3b834
add support for ACC Micro host bridges
1997-04-13 22:48:27 +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
mycroft
f50c40bad5
Eliminate redundant calls to vm_map_pageable() and vm_fault(), as suggested by
...
Chuck Cranor.
1997-04-09 23:35:07 +00:00
augustss
56f33727b5
Include OSS audio emulation.
1997-04-04 15:35:06 +00:00
perry
e32bb7d002
fix bad size calculation for kernel memory mappings, as in when
...
allocating 1 byte from a page alligned address.
reported (with fix) in pr-3441 from Matthias Drochner
1997-04-02 23:44:44 +00:00
christos
206e950042
Add netatalk netisr
1997-04-02 21:59:02 +00:00
mycroft
3018d16337
Enable wdc1 at IRQ 15.
1997-04-01 13:12:13 +00:00
christos
68b10e62c4
PR/3407: Koji Imada: Modern BIOS's can boot from higher than second hard disk
1997-03-29 21:40:19 +00:00
christos
519527d9cf
PR/3401 incorrect MANDIR after rule changes
1997-03-28 20:22:55 +00:00
thorpej
cb24b0200a
Don't allocate mclrefcnt[]; it's dead and gone.
1997-03-27 21:01:20 +00:00
mycroft
b9a022ebe6
Add EXEC_ELF32.
1997-03-27 06:18:31 +00:00
cgd
bf22891897
update for current system configuration
1997-03-27 06:04:39 +00:00
gwr
37b247edde
Renames: /dumpconf/cpu_dumpconf/, /boot/cpu_reboot/
1997-03-26 22:42:13 +00:00
gwr
71e43d14ab
Move findroot/setroot stuff from configure() to cpu_rootconf().
1997-03-26 22:38:40 +00:00
perry
51157fe131
Comment out the wt driver -- its rather dangerous to ed users, as it
...
turns out. Also, add a comment explaining this.
1997-03-26 01:16:23 +00:00
mycroft
46f55019b7
Optimize the case of writing to /dev/zero, and clean up the
...
surrounding code a bit. Partly suggested by gwr.
1997-03-24 21:16:59 +00:00
mycroft
136c4013aa
Expand the comment on the previous.
1997-03-24 01:36:43 +00:00
mycroft
bfcfadcf86
Reenable the keyboard controller reset hack.
1997-03-24 01:32:38 +00:00
mycroft
7d3520e146
Redo the way exceptions are set up, and add a handler for
...
exception 15, which the P6 local APIC may erroneously send us.
1997-03-22 16:56:00 +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
mycroft
1963665c7e
Add IPL_AUDIO.
1997-03-21 04:34:18 +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
mycroft
4cba0b41af
cpu_reset(): Improve the triple-fault code, and use it by default for now.
1997-03-19 22:39:25 +00:00
mycroft
da53c636bc
ether.h -> arp.h
...
NETHER -> NARP
1997-03-19 20:32:11 +00:00
sommerfe
62852f4d92
If we're "degraded", say just *how* degraded we are..
1997-03-19 18:18:02 +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
mycroft
ff6b9e27ce
Do not permit the user to set the nested task flag.
1997-03-19 03:52:02 +00:00
mycroft
139d254f6a
Handle user TSS faults.
1997-03-19 03:19:01 +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
is
07b064e02e
New ARP system, supports IPv4 over any hardware link.
...
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.
For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:09:08 +00:00
thorpej
92796a6d43
Add a mountroothook that prompts the operator to insert a file system
...
floppy, a'la the SPARC port.
1997-03-15 01:34:10 +00:00
mycroft
d0c586a17f
Put the genassym.sh output in a temp file, and mv -f it, in case
...
it fails spectacularly and doesn't clean up. Also, remove dependencies for
genassym.o (since it no longer exists).
1997-03-14 23:16:08 +00:00
thorpej
76c1d7a5b5
We don't even need to clear the BSS here; it's been done by the boot
...
program for a Long Time, and doing it (correctly :-) here means that
we wipe out, among other things, boothowto. (oops!)
1997-03-14 19:50:06 +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
thorpej
63a75dcdcf
Make this work with obj* dirs.
1997-03-14 04:59:34 +00:00
perry
627952867a
Ressurect (not quite, since this is in fact the new boot code Makefile
...
now).
1997-03-14 02:54:14 +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
perry
2eb5a59f71
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:29 +00:00
cgd
a15ede807a
add entries for isp, as isp* at pci? dev ? function ?, for Qlogic ISP 10x0
...
PCI SCSI controllers. Also, add the attached SCSI busses.
1997-03-13 04:15:24 +00:00
fvdl
7fb73fe0b2
Fix error in computation of BSS size when clearing it.
1997-03-12 19:49:11 +00:00
sommerfe
9460da5eb9
Implement trace/t ("thread" trace) allowing traceback by process-id
...
rather than by frame pointer (which it a bit harder to find).
1997-03-11 16:38:23 +00:00
fvdl
b754b514dc
Bring limits up to 'modern' standards.
1997-03-05 23:51:47 +00:00
mycroft
8c6fca26ee
Oops! Fix this to block all interrupts during configuration, after previous
...
interrupt priority changes.
1997-03-03 02:33:41 +00:00
mycroft
b2038a332d
Import interrupt priority changes from com patches:
...
* Make it a strict hierarchy. (It was close anyway).
* Add `serial' and rename `softtty' to `softserial'.
* Make soft interrupts a bit less special-case.
1997-02-28 16:24:03 +00:00
mycroft
2563167e16
There's no reason to use splhigh() here.
1997-02-28 04:44:08 +00:00
mycroft
2929dff5bd
Use genassym.sh, to support cross-compilation.
1997-02-26 23:50:04 +00:00
jonathan
a2ff9d9662
Protect MCLSHIFT definition so users can customize MCLBYTES.
1997-02-26 01:21:18 +00:00
fvdl
115b6d92fa
Define ALIGNED_POINTER
1997-02-24 23:16:53 +00:00
christos
7fb32152cc
Fix PR/3253: Don't try to probe the isapnp port in ioports already claimed
...
by other devices.
1997-02-24 22:13:55 +00:00
mrg
b10b2c5426
comment PFIL_HOOKS as it is redundant (as an option) when used with ipfilter.
1997-02-18 21:07:36 +00:00
perry
0c7dacfcec
All these files are ancient and haven't been used in years -- the
...
current boot blocks are in boot/; we need the thing cleaned out so we
can put the new libsa based boot stuff in its place.
1997-02-15 23:54:52 +00:00
is
85aab927f0
Fix obvious typo.
1997-02-14 13:06:28 +00:00
jonathan
a7b2815a55
Import Dennis Ferguson's i386 clock change request from PR 2785:
...
* Add table-driven assembly-coded microtime().
* add boot-time computation of the interpolation table,
allowing the hand-coded microtime() to work with locally-tuned
nonstandard values of HZ or TIMER_FREQ.
* delete old C version of microtime().
1997-02-13 00:59:12 +00:00
mikel
6131acb9c8
fix typos; from Erik Bertelsen in PR port-i386/2272.
1997-02-07 06:12:46 +00:00
gwr
ea3925f508
FIXUP_PC_AFTER_BREAK now takes an arg of type db_regs_t *
1997-02-06 21:16:28 +00:00
fvdl
0a4a706e84
Cast initialization of 2nd field in db_variable struct to (long *). Should
...
probably be register_t *
1997-02-04 19:52:55 +00:00