Commit Graph

16703 Commits

Author SHA1 Message Date
pk e6bbfcc58a Move [gs]etcontext() and [gs]etpte() to pte.h 1998-10-08 21:47:34 +00:00
is 6662b5ed74 - define framework for >8bit transfers
- implement 16 bit contiguous and 16 bit interleaved, both big-endian
1998-10-08 21:46:39 +00:00
thorpej 67b94a13ed Add the Intel 82443BX PCI host bus adapter. From Soren S. Jorvang, PR #6250. 1998-10-08 20:04:32 +00:00
ws 3e28defef4 No point in making the fake partition that large.
This smaller one will (hopefully) make 0-start
installations work on more machines.
1998-10-08 14:25:42 +00:00
eeh b6fd7187e0 Fix more syscall32 and signal breakage. 1998-10-08 02:31:39 +00:00
mark 8d41878215 Add pckbc device, keyboard and mouse and wskbd and wsmouse via pckbc. 1998-10-08 01:59:22 +00:00
mark d21eb4802d Rename the pckbd attribute to avoid clashing with the pckbd device
from dev/pckbc/*
Include files.pckbc
1998-10-08 01:50:28 +00:00
thorpej 010b1e5215 Erg, frame -> trapframe in last. (thanks to john kohl) 1998-10-07 21:25:35 +00:00
ross b6553585ab g/c leftover `{' in #if notdef; it confuses ctags(1) 1998-10-07 19:09:53 +00:00
thorpej b38544d99e Oops, back out a buglet I didn't intend to commit in the last change. 1998-10-07 18:29:26 +00:00
matthias 4b23112e21 Add empty definition of __warn_references for lint. 1998-10-07 08:54:59 +00:00
leo d833f66c0c Copyright stuff. 1998-10-07 07:22:32 +00:00
tsubai d976f73513 Enable interrupt AFTER autoconfiguration. 1998-10-07 06:24:58 +00:00
scottr 8c9bf4e881 Use the size field to distinguish between ADDX and ADDA. Fixes a problem
pointed out by Paul Goyette.
1998-10-07 06:08:47 +00:00
scottr 651280426e Fix a problem pointed out by Paul Goyette: print_reglist() forgets that
it had a range of registers to print if A7 is among them.
1998-10-07 05:27:13 +00:00
tsubai 31314a2d26 Mask clock interrupt properly if >= splclock. 1998-10-07 04:58:23 +00:00
tron 8362affa14 Add a few "nop" instructions to make the memory size probe more reliable. 1998-10-06 22:26:42 +00:00
thorpej d374462dfc Move the code that does the deferred (post-autoconfiguration) buffer
cache allocation to its own function, and call it at the end of configure().
1998-10-06 21:42:08 +00:00
thorpej abaeca8063 Move the calls to hwrpb_restart_setup() and cpu_run_spinup_queue() to the
end of configure().
1998-10-06 21:19:05 +00:00
thorpej 2038eb830c Split hwrpb_restart_setup(), putting the code that initializes the vtpb
and primary hwpcb into hwrpb_primary_init().  Call the latter before
performing autoconfiguration().
1998-10-06 21:10:46 +00:00
thorpej 5a687aeb55 cold is already set to false at the end of configure(). 1998-10-06 20:55:38 +00:00
thorpej d681cf055a configure() prototype is in <sys/device.h> 1998-10-06 20:50:15 +00:00
thorpej fedd39b57d Provide configure(), rather than open-coding it in cpu_startup(). 1998-10-06 20:46:01 +00:00
pk 2727683a09 more DIAGNOSTIC sanity checks 1998-10-06 19:24:03 +00:00
thorpej 0729240c88 Move the "XXX re-zero proc0 user area" to the end of configure(), before
interrupts are enabled.
1998-10-06 18:58:09 +00:00
leo 3e8b7d3139 Only return COMPLETE when polling. 1998-10-06 09:32:44 +00:00
leo 05ebc10205 Disable SCSI interrupts while polling for the transfer to finish. This
fixes spurious panics while booting my Hades. This bug could also occur
on a TT030.
1998-10-06 09:29:44 +00:00
leo 8a20859c2e Some DEBUG fixups 1998-10-06 09:22:01 +00:00
leo e3704a8e0b Fix DEBUG printf 1998-10-06 09:19:36 +00:00
perry e7340f0ed3 Fix a potential Y2K bug on some clock chips: we were loading invalid
BCD into the year field of the RTC in years > 1999. It seems to have
worked just fine on my old broken down test machine, but apparently
some others actually get hurt. Suckage. We now make sure that we load
valid BCD.

Other ports should check for variations on this theme.
1998-10-06 05:52:23 +00:00
eeh cd0dd24713 It seems taht 64-bit kernels need bigger stacks. 1998-10-06 05:18:55 +00:00
eeh d0d18d5a83 Fix PIC code initialization. 1998-10-06 05:16:34 +00:00
matt 75f5ffdf21 Change backplace0 to mainbus0 (for consistency with other ports).
Remove unused function protocols from ka410.h and ka43.h
Fix some ka46 missing references
1998-10-06 04:04:30 +00:00
sakamoto 72e565d9b1 Fix unassigned minaddr for uvm_km_suballoc.
Eliminate space at end of line, and so on.
1998-10-06 03:48:12 +00:00
mark 6465aead84 Use braces instead of brackets to surround the SET_ICUS macro. 1998-10-06 02:43:26 +00:00
mark de39833622 Add wsdisplay, wsmouse and wskbd devices. 1998-10-06 02:41:22 +00:00
mark 2bcc60adc6 Add declarations for wsdisplay, wsmouse and wskbd. 1998-10-06 02:40:13 +00:00
mark edbbf502ab Add wscons devices and options. 1998-10-06 02:39:00 +00:00
mark 8a012b843b Include files.wscons
Add files.pckbc (commented out, pending fixing SHARK configs).
1998-10-06 02:37:59 +00:00
matt af8a94ec80 Code references should use movab, not moval. Fix gas-2.9.1 complaints
with intvec.s
1998-10-06 02:07:30 +00:00
mark 08fbcdd506 Fix bug with the return value in filecore_label_locate(). This bug caused
an assertion to fail in disksubr.c if a label was written to a disk with
a filecore partition at the start of the disk.
1998-10-06 01:47:53 +00:00
rvb 71a653d388 Add Coda 1998-10-06 01:44:11 +00:00
thorpej 5006dbf868 cpu_set_kpc() prototype is already in <sys/systm.h>. 1998-10-05 22:11:15 +00:00
pk 40beab6ad6 If a lock is held do not spin in a read/write loop but just read the lock
until it is released. This is easier on the bus cache coherency logic.
1998-10-05 19:58:19 +00:00
mark b4dba57069 Footbridge based kernels do not need constab. 1998-10-05 16:03:04 +00:00
mark e605a01dce Footbridge based kernels don't use dev/cninit.c 1998-10-05 15:41:19 +00:00
christos 550ee6b308 rename getprop routine to avoid conflict with the one in bsd_openprom.h 1998-10-05 07:13:07 +00:00
ross ddde128de9 Track compat/linux/arch/* reorg. 1998-10-05 05:55:35 +00:00
nisimura 8778509c45 * Make cpu_identify() routine table-driven.
* MIPS3 sanity check now allow MIPS1 models to boot.
1998-10-05 05:26:00 +00:00
ross b9fef4b8ad The 2-disk install floppy allows us to add:
* 3000-series CPU support, plus all the tc devices
	* 4100-series CPU support
	* misc SCSI HBA support (removed earlier for space reasons)
1998-10-05 05:04:46 +00:00
mark 5d9338a24b Don't put the fcom device in constab. 1998-10-05 02:46:31 +00:00
mark 664d0f374c Base configuration for CATS kernels. 1998-10-05 02:43:43 +00:00
mark 35f31dce6e Implement consinit() here instead of using the arm32/machdep.c version.
Use information passed from via the boot arguments to determine which
device to use as the console.
Add support for initialising the CATS ISA subsystem.
During the early bootstrapping use fcomcnattach()/fcomcndetach to enable
debug and diagnostic information to be sent to the diagnostic serial
port. This is only used during the early part of initarm() until things
have been relocated and the real console can be initialised().
1998-10-05 02:40:26 +00:00
mark 8909a4e529 Define both EBSA285 and CATS bootinfo structure magic numbers. 1998-10-05 02:36:49 +00:00
mark 4d8d0f4e6d Define fcomcnattach() and fcomcndetach() functions for the diagnostic
serial port.
Disable the old probe and init functions as we no longer use constab and
cninit().
1998-10-05 02:36:02 +00:00
mark 0d3d74ceeb Footbridge based systems don't use cninit() so don't use the version of
consinit() defined here.
1998-10-05 02:33:46 +00:00
sakamoto c9937d0234 cleanup. 1998-10-05 02:01:57 +00:00
sakamoto 9f317a1a9d Add syncicache after text loading. 1998-10-05 01:58:03 +00:00
mark 86a0875460 Add dsrtc device and associated file. 1998-10-05 01:21:39 +00:00
mark f452e15aff Add a driver for the Dallas Semiconductor RTC found on CATS motherboards. 1998-10-05 01:20:57 +00:00
mark 18ccba3b4e Make sure ISA interrupts have been setup prior to configuring devices.
This is not nice and a better solution is needed. Really this should be
done when the PCI-ISA bridge is discovered but it is possible that
some PCI interrupts may be routed via the ISA interrupt controller
and thus this needs setting up first.
1998-10-05 01:17:55 +00:00
mark 91eeeff347 Add support for interrupts that are actually routed via an ISA interrupt
controller.
(I'm not happy with this approach but it works so I'll use it for the
moment until I complete run-time selection of the interrupt handling based
on recognised hardware).
1998-10-05 01:09:38 +00:00
mark 197c78db08 Prototype isa_intr_alloc() (Needed by ISA PnP code) and sysbeep(). 1998-10-05 01:05:00 +00:00
mark 100a13e50a Add ISA legacy mode support. Currently this is used by CATS kernels
which routes the PCI IDE interrupts in a similar fashion to i386 machines
(i.e. on ISA irq14 & 15).
1998-10-05 01:03:52 +00:00
mark dda219af66 Add file arm32/isa/isa_cats_machdep.c.
Build isa/isa_io.c and isa/isa_io_asm.S for both SHARK and ISA systems.
1998-10-05 01:01:43 +00:00
mark c2d2dca344 Initial commit of ISA bus support for CATS machines (DC21285 based
motherboards).
1998-10-05 01:00:57 +00:00
mark 60e0cbbab8 Use sysbeep() rather than beep_generate for consistancy and the sysbeep
device.
KNF a chunk of this file.
1998-10-05 00:53:47 +00:00
mark 67d78e486f Remove beep related stub code now we have a sysbeep device. 1998-10-05 00:51:21 +00:00
matt 4a1b880605 Add files.usb. It should work. 1998-10-05 00:49:15 +00:00
mark 8eca271694 Add sysbeep device. 1998-10-05 00:49:13 +00:00
mark ae4624b175 Add sysbeep device with ISA and VIDC attachments. 1998-10-05 00:44:45 +00:00
mark 6f5d4c52a1 sysbeep device attachments for vidc based audio systems. 1998-10-05 00:42:41 +00:00
mark 5f37409d37 Implement sysbeep device for ISA systems. This just hooks into the pcppi
code.
1998-10-05 00:41:31 +00:00
mark 20122120a2 Add arm32/isa/joy_isa.c and arm32/isa/joy_isapnp.c 1998-10-05 00:39:44 +00:00
mark 5fe09f2a80 Add ISA and ISAPNP attachments for joysticks. 1998-10-05 00:35:40 +00:00
thorpej ec897ee047 Fix a problem reported by Michael Hitch. Basically, our libc relies on the
non-standard way of invoking sigreturn, specifically a side-effect that I
overlooked.  Thus, longjmp's return value was getting clobbered.

Sigh, so burn trap #3 just as sigreturn.

XXX We need an SVR4-style {get,set}context(2) to avoid wasting new
XXX trap vectors in the future.
1998-10-05 00:00:17 +00:00
thorpej c1e5866bbe Fix a typo in a comment. 1998-10-04 23:56:17 +00:00
thorpej c01f29bdf1 Sigh, we are going to have to burn a vector for Just Sigreturn again,
for now, until we have a more generic {get,set}context().  Update the
comment for trap #3 accordingly.
1998-10-04 23:38:55 +00:00
mark 7a9e6fd3f7 Remove dead FPE option. 1998-10-04 19:03:37 +00:00
fvdl e6145e36a2 Correct Linux compat include file names. 1998-10-03 23:38:32 +00:00
fvdl 2b727ad9e9 The linux compat i386 "files" file moved into arch/ 1998-10-03 23:17:03 +00:00
scw acce9b3b1b Make this compile again when DEBUG is defined. 1998-10-03 21:58:52 +00:00
thorpej 49a45fed9b If the memory range of the machine is such that no bouncing is necessary,
or if the device is capable of 32-bit DMA (specified by ISABUS_DMA_32BIT),
clear the map's bounce threshold at map creation time.
1998-10-03 21:53:04 +00:00
thorpej 01a1588265 Initialize the DMA map's bounce threshold to the tag's at map creation time,
and use the map's threshold when loading the map.
1998-10-03 21:38:48 +00:00
thorpej 10557b15d7 Add a private bounce threshold to the DMA map, initialized in a bus-dependent
fashion.
1998-10-03 21:24:00 +00:00
christos c0f54daf70 Add em_alpha_exp 1998-10-03 18:17:14 +00:00
christos e24d09740e call gate for solaris-2.6 syscalls [from frank] 1998-10-03 18:08:39 +00:00
christos 36f308f4cc Add an LDT for Solaris-2.6 syscalls [from Frank] 1998-10-03 18:05:25 +00:00
jtk 787fcfeac7 copyright has been assigned to TNF, update notice 1998-10-03 02:14:30 +00:00
is 66d6e30a1b Yet another workaround for pmap bugs. Several reports on the port-amiga
list claim this helps with some big-machine situations.
1998-10-02 19:29:49 +00:00
drochner 41c0179c3c use old sigmask in sigcontext and old sigreturn syscall in Ultrix
emulation mode
1998-10-02 19:25:33 +00:00
drochner 18a5d4ffc6 set up old style sigmask on COMPAT_ULTRIX too 1998-10-02 18:59:56 +00:00
drochner 5bcf824ff0 change debugging output in compat_13_sigreturn to distinguish from native
sigreturn
1998-10-02 18:49:00 +00:00
drochner a366b483ec compat_13_sigreturn is needed for compat_ultrix too 1998-10-02 18:46:58 +00:00
drochner 4345019cc0 implement a separate ultrix_sigcode[] 1998-10-02 18:44:32 +00:00
leo a30987cbf6 Re-arrange networking options a bit (Julian Coleman) 1998-10-02 12:50:35 +00:00
sakamoto c5aade90a8 Oops, ofppc don't have wscons. 1998-10-02 07:12:25 +00:00
thorpej ab915f7483 Oops, missing immediate qualifier, pointed out by Chas Williams. 1998-10-02 02:02:46 +00:00
matt e19b4629ab Use wd.h, not wdc.h -- we are checking for the presence of disks, not
controllers.  (there may be a controller which has only an atapibus
but no wd disks).
1998-10-02 01:37:51 +00:00
ross 78492e307a If not MULTIPROCESSOR then identify the interrupt target cpu by hwrpb id (%d)
rather than attachment name, and hence avoid referencing `cpus'.
1998-10-01 22:57:30 +00:00