Commit Graph

18800 Commits

Author SHA1 Message Date
eeh
b4b570608d Add some more 32-bit emulation support. 1999-05-12 01:11:54 +00:00
drochner
998ac16bb7 add some casts for gcc -Wall, from David Rankin
<drankin@bohemians.lexington.ky.us> per PR port-i386/7554
1999-05-11 19:57:05 +00:00
drochner
6959d736df make sure the ./machine link is created early enough for specific targets,
fixes PR port-i386/7553 by David Rankin <drankin@bohemians.lexington.ky.us>
1999-05-11 19:43:09 +00:00
hpeyerl
09bb229d59 make this compile without 'options IRQSTATS'. 1999-05-11 12:41:15 +00:00
nisimura
a10adaf5aa - Utilities of DECstation PROM call were moved to 'promcall.c' and
take a bit care about findcons.c console support kitchen sink.
1999-05-11 05:15:54 +00:00
nisimura
d85f3411a7 - Have 'promcall.c' for various utilities by PROM calls.
- Adjust files.pmax.
1999-05-11 05:06:35 +00:00
eeh
564db48540 Don't clobber any input regs in __asm statements. 1999-05-11 05:06:17 +00:00
cgd
e9da918f1b add some more bits, mostly stubs 1999-05-11 00:04:52 +00:00
is
05ae5bbfc1 Add HyperCom 3+/4+ parallel port support 1999-05-10 22:18:47 +00:00
simonb
d5ce574eee Fix tyop in comment, and keep comment lines to less that 80 chars. 1999-05-10 12:36:16 +00:00
simonb
2105341c9f Back out part of previous commit - we really only support one px at
the moment.  From Andy Doran.
1999-05-10 12:18:57 +00:00
simonb
4cd55c6082 Change {cfb,mfb,sfb,px}0 to {cfb,mfb,sfb,px}*. 1999-05-10 04:52:34 +00:00
simonb
a70ad445f3 The comment says we support up to 3 framebuffers, make it so... 1999-05-10 04:49:24 +00:00
cgd
b0f5f854e4 have to take care to have a valid SP value in the unaligned fixup and
opdec (emulation) handlers.
1999-05-10 01:27:28 +00:00
cgd
9b9842a28b handle unaligned ldwu/stw instructions. While there, fix a bug in the
unaligned access handler and clean it up some.  Add support for emulating
the BWX instructions (ld{b,w}u, st{b,w}, sext{b,w}), which user software
can expect to be emulated.  (Thanks, Alpha Architecture!)
1999-05-09 19:43:58 +00:00
cgd
75f1157922 convert to DEC-style register names (but not yet done for
the internal PALcode instruction format structure).
1999-05-09 19:40:00 +00:00
cgd
79c181f2e2 convert to DEC-style register names. 1999-05-09 19:39:13 +00:00
cgd
c8cf931f56 convert to DEC-style register names. the attempt to use function-based
register names was confusing, and could not _be_ correct in some cases.
Also, add a couple of 'generic' instruction formats which should be used
when decoding instructions before the specific format is known.
1999-05-09 19:38:59 +00:00
eeh
e5dc5cec71 Fixup non-DEBUG kernels. 1999-05-09 19:24:19 +00:00
eeh
ae3fd5e972 I don't expect to ever have the need to finish the fcode boot code, so remove it. 1999-05-09 19:15:08 +00:00
eeh
914547e475 Move origin to 8MB; it seems that 16MB has problems at times. 1999-05-09 19:14:15 +00:00
eeh
adabbf4f0f Enhance the code that tries to locate a kernel to search for other possibilities. 1999-05-09 18:32:14 +00:00
eeh
197ee16c7a Move the origin to 1000000 to reduce the likelyhood of conflicts with other
bootloaders/kernels.
1999-05-09 18:31:21 +00:00
gwr
44844fc8f7 Fix warning 1999-05-08 18:46:17 +00:00
wrstuden
3c5aad8d3c For whatever reason, we just can't call pci_init() that early on Bandit
systems.  Why?  Who knows.  Firmware bugs, maybe.  In any case, moving
the call out of the ADB path works.  "Good enough for me."
1999-05-07 22:20:38 +00:00
tron
e39de367b4 Install "devmap.h" to "/usr/include/machine" so that the SHARK X11
server can be compiled.
1999-05-07 20:50:31 +00:00
wrstuden
1e90fa5723 BusLogic cards seem to work in my G3. :-) 1999-05-07 20:10:54 +00:00
thorpej
c7ad933ffa Add a second memory free list, which holds the first 8M of RAM. This is
so that devices which must allocate DMA memory in this range (e.g.
PixelStamp graphics boards) have a better chance of doing so, without
an awful hack.
1999-05-07 18:04:36 +00:00
drochner
fe310dd299 include <lib/libkern/libkern.h> for intoa()/inet_ntoa() 1999-05-07 16:19:27 +00:00
nisimura
4ce0e8e16f - Nuke '_splset' alternative entry point mistakenly added. 1999-05-07 06:18:56 +00:00
nisimura
9c2eefcae6 - Introduce MIPS processor interrupt control routines;
_splraise, _spllower, _splset, _splget, _setsoftintr, _clrsoftintr, _splnone.

They manipulate MIPS processor's 8 interrupt sources and are used
as building blocks for NetBSD spl(9) kernel interface.  Note that
MIPS processor doesn't enforce inclusive 'interrupt levels' found
in other processors, then the hierarchal nature of IPL must be
implemented by composing MIPS processor interrupt masks appropriately.

With the simplest target port in which small number of devices are
independently assigned with 6 external interrupt signal lines,
spl(9) kernel interface will be implemented with #define's of
processor interrupt controls mentioned above.  In more general
cases, in which target computers have many devices and 'system
registers' indicating pending interrupt sources at any moment,
spl(9) will be implemented with more complex machinary manipulating
processor interrupts and system registers in target port dependent
ways.

- Nuke unused code and reorder locore definitions.  XXX Following
routines will be replaced with C language version; setrunqueue,
remrunqueue, switchfpregs, savefpregs, MachFPInterrupt.
1999-05-07 01:30:26 +00:00
thorpej
20d1861d97 Revert previous. Um, Christos, why did you delete the body of this
file?  :-)
1999-05-07 00:28:22 +00:00
leo
2d3a4c7fd6 Add .../dev/mii/files.mii. Needed for support of the 3C590. 1999-05-06 20:27:57 +00:00
leo
bad559ed77 Remove dependency of vfs_conf.o, this file is no more. From Jonathan Stone. 1999-05-06 20:25:17 +00:00
wrstuden
fb7f9b828f Add pciide config info. 1999-05-06 19:28:20 +00:00
thorpej
680c3ddbd2 Completely rewrite how cninit() determines which keyboard to use with
the console.  New algorithm:

* if stdin == keyboard, and parent of keyboard == adb, use ADB.
* else, must be a USB keyboard.  Search backwards though the parents
until the USB controller is located.  Determine its location in the PCI
domain, and which type of controller it is, and tell that controller that
it has the console input device.  The USB code will then attach the first
USB keyboard as the console input device during autoconfiguration.

The iMac and Blue and White G3 consoles are fully functional now!
1999-05-06 19:24:47 +00:00
thorpej
ac9eee8693 Take all of the OpenFirmware "stdin" grovelling out of the ADB keyboard
driver, as the smarts for this all live somewhere else now.
1999-05-06 19:20:59 +00:00
thorpej
35df607966 Allow pci_init() to be called twice, once just to find the PCI-Host
bridges and determine the "pci chipset" values (for making PCI tags),
and again to actually map the configuration space registers.
1999-05-06 19:16:44 +00:00
christos
3cc711cbe0 Well we are functional enough to install from an NTFS volume, so why knot? 1999-05-06 17:12:26 +00:00
christos
d8463798c9 Add NTFS 1999-05-06 16:29:26 +00:00
christos
0c7931917a recognize ntfs mbr fsid 1999-05-06 15:45:51 +00:00
kleink
6290fed1b6 SVR4-related typo in previous. 1999-05-06 14:16:07 +00:00
kleink
fc1b5041ac Add a _C_LABEL() macro. 1999-05-06 13:54:06 +00:00
drochner
4479f71283 sync diagnostic printouts in opms_pckbc_probe() with dev/pckbc/psm.c:
pmsprobe() -- most notably: put a part inside #ifdef DEBUG
1999-05-06 09:10:51 +00:00
scottr
0179750b00 Correct two more problems of the same type as in rev 1.21: use the length
of the buffer you're copying from as the loop interator, not the length
of the buffer you're copying to.  Also, rewrite print_single() with
pointer instead of array operators.  Appears to correct some ADB-related
`hangs' during autoconfig.
1999-05-06 06:01:27 +00:00
tsubai
661ae33963 Remove unused codes. 1999-05-06 04:37:44 +00:00
thorpej
1f4085fb66 Fix spruious false matches in px_match(). 1999-05-06 01:50:56 +00:00
wrstuden
af849de633 MAke this cross-tools happy. 1999-05-06 01:04:48 +00:00
mycroft
e6548e54bd Enable interrupts *after* reading the fault address and status. This is
necessary because some interrupt handlers may cause additional faults (e.g.
through R/M emulation) and thereby trash the previous fault state.
From Richard Earnshaw.
1999-05-05 22:06:15 +00:00
pk
4cb2198a44 Declare `bootinfo' also if !DDB. 1999-05-05 15:32:33 +00:00