Commit Graph

38684 Commits

Author SHA1 Message Date
mark fcc1093bee Define bus_space_map flags BUS_SPACE_MAP_CACHEABLE and BUS_SPACE_MAP_LINEAR.
Comment arm32_bus_dma_segment structure members.
Remove the _dm_loadlen field from the arm32_bus_dmamap structure.
1998-04-19 04:13:24 +00:00
mark 47ec8f3afc Validate the source address in db_read_bytes() to avoid faulting when
reading invalid addresses.
1998-04-19 04:05:24 +00:00
mark 9bbde6c952 Overhaulled cpu_reboot(). Junked all the boot action garbage and just use
howto to dictate what operations to perform.
Removed support for calling the deprecated kshell stuff.
Cleaned up a few bits of dead code and renamed rpc_sa110_kickstart() to
rpc_sa110_cc_setup().
1998-04-19 03:59:19 +00:00
mark 33b4b52949 Define the prototypes for rtc_read() and rtc_write() here rather than
in machine/rtc.h
Update the rtc_read() and rtc_write() functions to take a private pointer
as the first argument (currently unused).
1998-04-19 03:55:44 +00:00
mark 1f5455aaaf Update the softc to hold the rtc_{write,write}() argument and update
the function pointer prototypes.
Pass the rtc_arg field as the first parameter when calling the todclock
rtc_{read,write} function pointers.
1998-04-19 03:54:24 +00:00
mark c4f9d5c4b0 Add a rtc argument field to the todclock_attach_args structure.
Update the ta_rtc_{read,write}() functions in the todclock_attach_args
structure to take an argument attach time defined argument field as the
first argument.
1998-04-19 03:51:44 +00:00
mark 15901d1be3 Remove rtc_read() and rtc_write prototypes. 1998-04-19 03:49:17 +00:00
mark effb702da4 Don't explicitly call the debugger on a reset exception. Just print
trap frame address and panic.
1998-04-19 03:41:14 +00:00
jonathan d4a24f85d6 Support shared Decstation 3100 and Decsystem 5100 baseboard devices
using a virtual "ibus" for  baseboard devices.
1998-04-19 02:52:45 +00:00
jonathan 53c671e26c Add locore assembler functions to read mips3 cycle counter, and
read and write compare register (controls cycle-driven periodic interrupt).

Use cycle counter for microsecond time on mips3, but for now only on
3min motherboards (5000/150).  the MAXINE baseboard microsecond
counter is more stable and I don't ave no 5000/260 to test.

XXX clkread() is a mess, it should be rewritten.
XXX should add nanotime() to give inkernel nanosecond resolution,
    and then microtime() reworked to use nanotime().
1998-04-19 01:48:34 +00:00
jonathan 4ea6444493 Decsystem 5100 (aka mipsmate aka kn230) support:
* dec_5100.c: sysconf, interrupt, and  motherboard (drain writebuffer)
   support for 5100.
 * support for hardware kludge in 5100: sii DMA buffer is hardware
   padded to alternate 32-bit words, not alternating 16-bit  halfwords.
 * 5100 has no framebuffer, console is wired to serial port 0.

With ibus support, boots as far as exec'ing init, and hangs.
1998-04-19 01:27:02 +00:00
cgd fea06d4c21 add back in the old NetBSD changes. Also, add in a PIC GOT
offset fix from the snapshot.
1998-04-19 01:05:27 +00:00
cgd f502d8c9f4 sync with EGCS 1.0.2 1998-04-19 01:01:20 +00:00
cgd 51183f1bb3 re-import egcs 1.0.2 ARM bits. trying to use the snapshot's bits was a
nice idea, but caused more problems than it was worth.
1998-04-19 00:56:34 +00:00
pk c1a4f8c8ed Define `xbox'. 1998-04-18 19:03:00 +00:00
cgd 92c6f02e55 consistency the rest of the NetBSD/arm32 toolchain: make TYPE_OPERAND_FMT
be "#%s".  This generates assembly consistent (w.r.t. .type directive)
with asm.h and what the existing compiler generates.  (The old definition
was "%%%s", and the assmbler choked on the %'s.)
1998-04-18 19:02:13 +00:00
pk 90b5c246c6 Skeleton code for the SBus expander box. 1998-04-18 19:00:17 +00:00
tv 1882b7131d You cannot check SHLIB_{MAJOR,MINOR} without <bsd.lib.mk>, but LINKS is
needed before <bsd.lib.mk>.  Instead, check for shlib_version file.
1998-04-18 15:46:22 +00:00
tv 6958fe8d9a Get the NO* variables from bsd.own.mk, and then set LINKS accordingly 1998-04-18 15:26:20 +00:00
drochner fb43bb5f19 Add danish keymap.
From Soren S. Jorvang (PR kern/5312).
1998-04-18 10:57:13 +00:00
drochner 13c6d27696 Fix spelling of my name.
Being here, remove BROKEN_INDIRECT_CONFIG.
1998-04-18 10:35:48 +00:00
drochner d58832579d Fix botched DMA tag initialization. 1998-04-18 10:26:56 +00:00
drochner 302692bf8d Namespace protection: give key description table a more private name. 1998-04-18 09:51:20 +00:00
drochner 1745de275b -Set keyboard (and/or controller) to XT scancode in early console
initialzation. Closes PR port-alpha/5303 (Jason Thorpe).
-Namespace protection: give key description table a more private name.
-Make sure "struct pckbd_internal" is completely initialized.
-Improve locator comparition in probe().
-Remove BROKEN_INDIRECT_CONFIG.
1998-04-18 09:49:58 +00:00
drochner a099e8dda5 Initialize the command byte and its shadow register in early console
setup so that the keykoard driver can deal with scancode translation
in its console initialization function.
1998-04-18 09:42:20 +00:00
thorpej 2b6154a68c Add PCI IDE. 1998-04-18 01:19:40 +00:00
thorpej 792e89a201 Add PCI IDE goop. 1998-04-18 01:19:08 +00:00
thorpej 4fc79b8fd3 First cut at PCI IDE compat interrupt support for the EB164 systype.
PCI IDE is found on the AlphaPC 164SX's Cypress PCI-ISA bridge.
1998-04-18 01:18:37 +00:00
thorpej 574b87a792 Initialize the PCI IDE compat interrupt PCI method to NULL; PCI IDE
compat interrupts are not currently supported on these platforms.
1998-04-18 01:12:23 +00:00
thorpej 78c7ebb2d0 Add a second Alpha-specific pci_chipset_tag_t method for establishing
PCI IDE compat interrupts.  Note that this function is optional, and
platform-specific code may initialize the pointer to NULL.
1998-04-18 01:10:54 +00:00
thorpej a5f006fb5f Fix a typo. 1998-04-18 01:09:20 +00:00
ross fd0336a792 Add uvm/uvm*.h. 1998-04-18 01:09:08 +00:00
thorpej 783382095c Machine-dependent bits for PCI IDE. This redirects PCI IDE compat interrupt
goop to the appropriate platform-dependent code.
1998-04-18 01:08:52 +00:00
ross 49e96f3b65 LP64 sweep to compile. Enable build in Makefile. 1998-04-18 00:48:18 +00:00
cgd 4a1dac1736 don't warn about PIC code being unsupported, because that always-warn
situation with -fpic will always break NetBSD builds (which use -Werror).
PIC code generation seems ... less than perfect, at this time; it still
aborts occasionally.
1998-04-18 00:39:43 +00:00
cgd ce07f954d8 define SYS_SIGLIST_DECLARED in a way that's consistent with config.h 1998-04-18 00:37:33 +00:00
cgd 6a4f33b13a merge changes from 980411 snapshot import. a couple of macros got new
arguments, so mark them as XXX and make them compatible with 1.0.2.
1998-04-18 00:32:28 +00:00
cgd 39de2f4adb Import EGCS 980411 snapshot's gcc/config/arm bits. 1998-04-18 00:22:33 +00:00
thorpej ef3c228075 Fix the definition of TARGET_VERSION. 1998-04-17 23:54:03 +00:00
thorpej 7f756d0c18 Rewrite this file (again). Copy the Linux Alpha config, and tweak it
to work with NetBSD.  Use as many NetBSD common definitions as possible.
1998-04-17 23:50:03 +00:00
ross 00e90d68da Descend into libexec on alpha, now that uucp will build. 1998-04-17 23:41:55 +00:00
ross 390112ef89 LP64 (64 bit) sweep to make these compile. 1998-04-17 23:39:29 +00:00
hubertf c81c51c2f8 add pkgsrc 1998-04-17 21:22:57 +00:00
matthias d3d91d4d63 ns32k specific changes for "our" gcc ported over to egcs by Ian Dall. 1998-04-17 19:41:18 +00:00
mark f9042ff05b Guard the PS/2 mouse attachment and ARM7500 IOC check with the
CPU_ARM7500 macro.
1998-04-17 18:44:09 +00:00
drochner 928943b2ff Keep all relevant state information in a "pci_softc" so that it is
accessible at runtime (for LKMs in particular).
Remove BROKEN_INDIRECT_CONFIG.
1998-04-17 18:40:31 +00:00
cgd e3e48e335a undef ASM_WEAKEN_LABEL, because the NetBSD/arm32 assembler (or, at least
the one that I have) doesn't seem to do the right thing with weak
references, which causes libgcc c++ function lossage.
1998-04-17 18:24:12 +00:00
veego 8a9498f09a Don't use an 'register char' as an array index, change it to an int. 1998-04-17 17:57:08 +00:00
veego d15b06459b Add missing int after an register. 1998-04-17 17:38:14 +00:00
cgd b01eedb761 kill "warning: variable `erred' might be clobbered by `longjmp' or `vfork'"
found on arm32 with egcs.
1998-04-17 15:56:14 +00:00