Commit Graph

18739 Commits

Author SHA1 Message Date
chs
39a7993efb update resident_count and wired_count properly in pmap_kenter_*()
and pmap_kremove().
1999-05-05 05:21:13 +00:00
thorpej
fc645b996a - Always config_found() PCI busses, so we know if present PCI busses
aren't configured.
- Grab the bus's memory space tag from the pci_bridge structure for
the bus.
1999-05-05 04:40:00 +00:00
thorpej
654b0fff46 - Completely rewrite how bus space tags for PCI space are set up. Instead
of hard-coding them, decode the "ranges" property of the PCI bus node in
OpenFirmware.
- Do a little cleanup, and share some more code between the Bandit/Chaos
and MPC106.

XXX The bus_space(9) implementation for macppc really needs to be
rewritten.
1999-05-05 04:37:19 +00:00
thorpej
c448c97f2b - Add come comments.
- Do a little cleanup.
- Protect the entirety of pci_conf_{read,write}() with splhigh()/splx().
1999-05-05 04:32:28 +00:00
thorpej
341f87673b Add a bus space tag for PCI memory space to the pci_bridge structure. 1999-05-05 04:26:48 +00:00
thorpej
742e477ae0 Fix msgbuf handling. 1999-05-05 00:03:10 +00:00
thorpej
dbe4c0c061 Make this compile again. 1999-05-04 23:55:27 +00:00
thorpej
c2c47b0da9 Toss contents, and just pull in <powerpc/pmap.h>. 1999-05-04 23:49:18 +00:00
thorpej
da4b05fa8e Pull in <powerpc/reg.h>. 1999-05-04 23:46:32 +00:00
christos
caa41a7d21 Fix panic and panicstr to use _C_LABEL.
Statuc: ELF kernel loads symbols properly, hangs in syscall while running init.
1999-05-04 17:29:22 +00:00
fvdl
4fbaa0b272 Restrict "out of CHS range" check to harddisks. 1999-05-04 17:14:55 +00:00
leo
38029cf240 If the floppy has no label, fake one. 1999-05-04 14:29:44 +00:00
christos
62a2dac0d8 whitespace... 1999-05-04 13:57:19 +00:00
christos
361f7917c8 clean up old GCC.1 stuff; move common definitions to the top. 1999-05-04 13:36:44 +00:00
christos
7d5c65239e clean up old GCC.1 stuff. 1999-05-04 13:36:10 +00:00
pk
f499d38511 Gain one instruction.. 1999-05-03 20:56:11 +00:00
scottr
a4adbf2f86 Move initialization of the iomem extent struct from mac68k_set_io_offset()
to mac68k_init(), so that we're through frobbing the MMU in special ways
by the time we get there.  While it doesn't actually cause a problem with
the current structure of our initialization code, it probably would have
in the future.
1999-05-03 19:10:54 +00:00
pk
a554ffdde0 Better pad the artificial header to exactly 32 bytes. 1999-05-03 18:59:08 +00:00
christos
c596c324e3 Define __builtin_*() for lint 1999-05-03 16:30:31 +00:00
christos
b70c3eb0ca Define __extension__ if __GNUC__ < 2
Define __builtin_*() for lint
1999-05-03 16:21:28 +00:00
christos
f890155a87 Define __extension__ if __GNUC__ < 2
Define __builtin_* for lint.
1999-05-03 16:20:28 +00:00
christos
6207471740 remove unused msgbufaddr 1999-05-03 16:17:57 +00:00
christos
3c86ce132b s/\<0x4000\>/PROM_LOADADDR
remove unused cputypvallen, and _msgbufaddr
1999-05-03 16:17:08 +00:00
christos
b0c181d290 move PROM_LOADADDR from promlib.h to param.h and remove its cast. 1999-05-03 16:14:02 +00:00
christos
6fc35c7fc8 Casts for PROM_LOADADDR which is not casted anymore. 1999-05-03 16:13:16 +00:00
tsubai
fdabab77f2 PT_{STEP,GETREGS,SETREGS} support. 1999-05-03 10:02:19 +00:00
matthias
6a9785dfc6 Fix symbol loading. esym is passed as an offset to loadaddress. 1999-05-03 09:19:29 +00:00
pk
bc1a121cfe Missing initialization of getbootfile() method for `old' monitors. 1999-05-03 07:32:50 +00:00
tsubai
28b7777fd0 Provide CACHELINESIZE when _STANDALONE is defined too. 1999-05-03 05:19:59 +00:00
kleink
5cbe23baad Garbage-collect VM_MBUF_SIZE leftover. 1999-05-02 18:12:32 +00:00
ragge
a5ce96e985 EEEK! The signal changes a while ago caused the user struct to be
on top of the "red zone" in the kernel stack. This phenomenon has
caused many unexplainable things to happen the last year.
1999-05-02 17:28:43 +00:00
scottr
b997ba8fa3 g/c some useless calculation on avail_remaining after its last reference. 1999-05-02 17:26:14 +00:00
scottr
2f45ab494c Remove a (harmless) duplicated line. 1999-05-02 17:23:07 +00:00
pk
e3a15d4321 * Add missing label.
* Avoid harmful delay-slot instruction, if we did not get a `bootinfo' thing.
* Compute correct location of `esym' for all three methods of debug
  symbol loading we support.
1999-05-02 14:47:33 +00:00
christos
797c581bbc Add bootinfo.h 1999-05-02 13:50:17 +00:00
fvdl
ec559f688b Be more careful with saving registers around the "out of CHS range" check. 1999-05-02 12:44:34 +00:00
kleink
d34d0ccf51 * Change multiple inclusion protection symbols to use the standard naming
convention (not that it should matter for assembly).
* Provide an additional set of _C_LABEL() macros for ELF.
* Provide a PIC_PLT() macro for the benefit of ELF.
1999-05-01 19:20:52 +00:00
kleink
69845becd3 Use _C_LABEL() for [fs]ubail symbols. 1999-05-01 19:17:06 +00:00
kleink
3d292e1a35 Fix a label name botch introduced in rev. 1.92; Ignatios owes me a non-beer. 1999-05-01 19:11:34 +00:00
drochner
e26f758e69 ed* -> we*, PR port-i386/7503 by Andrew Gillham <gillhaa@ghost.whirlpool.com> 1999-05-01 17:19:52 +00:00
ragge
fc6020e344 Real-time clock is started on the same way on all CPUs, there is no
need for a special CPU-dependent hook for this.
1999-05-01 16:13:43 +00:00
pk
e4bc3af22c No need to disable MII devices in previous. 1999-05-01 14:18:35 +00:00
tsubai
8e885e921e Check "mac-io" and "/pci/mac-io". 1999-05-01 10:37:57 +00:00
tsubai
8dbaa0169e Find "mac-io" and "/pci/mac-io". 1999-05-01 10:36:08 +00:00
tsubai
5fff3dafe9 Use "compatible" property to match. 1999-05-01 10:23:42 +00:00
tron
890fa9e9be Regen from "GENERIC". 1999-05-01 10:21:22 +00:00
tron
3420cb646c Add ext2 filesystem. 1999-05-01 10:20:01 +00:00
scottr
009cda3fb2 Fix a problem with bounds_check_with_label(), noted by Greg Oster: we
had been returning (-1) as an error instead of 0.  This is the result of
not keeping up with its i386 ancestor, which it was originally derived
from back in 1993.  Re-sync.
1999-05-01 09:26:32 +00:00
scottr
9e69eadd92 Rewrite read_mac_label() and friends, simplifying the code considerably
in the process.  Less is truly More.
1999-05-01 09:12:47 +00:00
cgd
34fde29505 update comment re: COMPAT_OSF1 1999-04-30 23:34:08 +00:00