Commit Graph

38910 Commits

Author SHA1 Message Date
christos
f68663bc91 kill duplicate code. 2004-07-07 22:02:12 +00:00
drochner
96623fecad also add <machine/joystick.h> to alpha and amd64, to allow compilation
of certain multimedia applications
2004-07-07 18:03:51 +00:00
he
9285117b64 If a playstation2 kernel config does "options KLOADER_KERNEL_PATH",
it now also needs to do "options KLOADER", ref. the new playstation2
machdep.c, so fix these kernel configs accordingly.
2004-07-07 18:03:42 +00:00
mycroft
0230f9fefd Move spc into the MI area. 2004-07-07 08:41:34 +00:00
mhitch
fcdbc29795 After sending the IPI to halt other CPUs, clear cpus_paused to ensure that
the other CPUs resume execution.  If the halt was initiated from DDB, the
CPUs will not have been resume execution and will never halt.  If one of the
paused CPUs is the primary CPU, the system will hang.  Fixes PR#26159.
2004-07-07 02:46:14 +00:00
mycroft
d539198300 Minor adjustment so that it is safe for an interrupt handler to unregister
itself.  Fixes a potential problem with PCMCIA IRQ probing.  See PR 9928.
2004-07-07 01:03:57 +00:00
rumble
84931191d5 Fix a typo in zsms0's parent. 2004-07-07 00:58:43 +00:00
sekiya
c279001857 Oops. Remove reference to phantom variable. 2004-07-07 00:11:11 +00:00
sekiya
79fdbacde6 Add ih_next to the data structure. Part of Steve Rumble's interrupt-sharing
scheme.
2004-07-07 00:08:43 +00:00
sekiya
eadba4d41f Add commented-out entries for grtwo wscons support (and fix the entries for
serial keyboard/mouse).
2004-07-06 23:59:48 +00:00
sekiya
432805bb11 Add the following to the int driver:
* if the driver hasn't been properly initialized, spin for a bit in wait_fifo()
  rather than try to access the local0 status register.
* allow interrupt sharing (from Steve Rumble; necessary for IP20 glass TTY
  support).
2004-07-06 23:56:13 +00:00
sekiya
9c873da232 Many fixes to the grtwo wscons driver:
* fills seem to be broken.  Avoid filling large vertical regions; instead,
  attempt to break it up into managable chunks.  This doesn't work perfectly
  either, so clear the screen row-by-row (which does work).
* Characters are now right-side-up
* the driver now uses screen coordinates properly.

With the exception of column erases (which fall prey to the fill issue), the
driver is now usable.
2004-07-06 23:51:40 +00:00
mycroft
c8a3263cbf Remove XSERVER and XSERVER_DDB from all config files. wscons does not use
these, and pccons is rapidly heading for the guillotine.
2004-07-06 22:53:36 +00:00
uch
3ecef458d2 remove CPU infomation message. (cpu0 print it) 2004-07-06 16:21:05 +00:00
uch
52ffaa09fb don't attach cpu twice. 2004-07-06 16:20:43 +00:00
manu
9ff70d0082 Assembly versions of commpage functions for Powerpc, by Peter Grehan.
bigcopy is still missing
gettimeofday is implemented as a system call, whereas on Darwin, it reads
the data from the commpage (the kernel updates it).
2004-07-06 14:11:49 +00:00
mhitch
66828ce55c Ooops - buspin is what should be used. 2004-07-06 13:36:19 +00:00
uch
f4dabb523f MI part of kloader moved to dev/kloader.c from arch/hpc/hpc/
dreamcast and playstation2 port are changed to use this.
2004-07-06 13:28:39 +00:00
uch
3a292b1beb MI part of kloader moved to dev/kloader.c from arch/hpc/hpc/
dreamcast and playstation2 port are changed to use this.
2004-07-06 13:09:18 +00:00
mhitch
a01c5c07dc When calculating the mcpcia irq, include bus pin to account for devices
behind a PCI-PCI bridge.  Fixes PR#25831 (and the duplicate PR#26031).
Verified by Chuck Silvers.
2004-07-06 04:15:50 +00:00
mycroft
1e3cb7e7ec Back out part of the changes in rev 1.86. Remove npxdna_notset(), and instead
have the DNA trap handler point to npxdna_empty() by default.  This way, if
there are no npx devices found and MATH_EMULATE is not configured, we go back
to the old behavior of issuing a SIGKILL and printing:
pid XXX killed due to lack of floating point
rather than panicking.
2004-07-06 01:30:08 +00:00
abs
1a06ef7694 Remove accidently added UMASS_DEBUG. Thanks to kimmo for spotting. 2004-07-05 22:30:38 +00:00
mycroft
6ad727416a Attempt to handle unknown ServerWorks chips, although I wouldn't bet on it
working cleanly.
2004-07-05 19:15:05 +00:00
yamt
201fdee01b for uniprocessor, splvm() is enough to protect tlb flush queue. 2004-07-05 11:19:46 +00:00
pk
aaf3dc5c61 Enable the `nell' pcmcia bridge. 2004-07-05 10:50:35 +00:00
pk
134c600216 Use bus_space_tag_alloc(). 2004-07-05 08:51:19 +00:00
pk
a7c40722d8 Call inittodr() from main(). Let file system code set the recorded `last
update' time (if any) through the new function setrootfstime().
2004-07-05 07:28:45 +00:00
martin
41de8a7a66 Options FULL_SPARC_BUS_SPACE is gone. 2004-07-05 06:31:36 +00:00
uwe
75c9bda0e0 GENERIC config is used as a starting point for custom configs so make
it more rich: reinstate debug options (commented out), add a bunch of
MI options, file systems, pseudo devices (commented out), sort some
entries, add more comments and clean up existing comments.
2004-07-05 00:09:45 +00:00
uwe
9df8b71dbf Express LED operations using standard macros.
Same object code is generated.
2004-07-04 23:19:36 +00:00
uwe
7d07bda558 Add major for audio. 2004-07-04 22:56:14 +00:00
uwe
7393885072 Fix the comment for KGDB - it is a remote debugger. 2004-07-04 22:02:04 +00:00
manu
67cf1bc043 MacOS X.3 introduces a new sigreturn for PowerPC, with a usercontext
versionning argument. For now we only implement the X.2 flavor.
2004-07-04 21:03:55 +00:00
christos
7c328d9858 add a skeleton that defines the symbols we need; no implementation 2004-07-04 15:24:30 +00:00
christos
a3eca3bd01 Add USRSTACK definitions 2004-07-04 15:22:29 +00:00
christos
0122ef6740 add darwin_commpage_machdep.S [does nothing for now, and the name is too long] 2004-07-04 15:22:03 +00:00
chris
d954e32a8f Update to match pseudo devices and other options in the GENERIC kernel. 2004-07-04 13:35:08 +00:00
tron
16e9e90a52 Add re(4). There are laptops with an onboard Realtek 8169 Gigabit LAN. 2004-07-04 13:16:56 +00:00
chris
2d3a6b46c9 Use a define, rather than hard coded number, for the interrupt to claim.
Make use of the ability to parse the cs's eeprom for values, rather than
ignoring the eeprom.
2004-07-04 13:12:58 +00:00
chris
91825be689 Add more defines for the available IRQ's on a 7500. 2004-07-04 13:11:43 +00:00
pk
ce03cf29a9 cpu_simple_lock: on spin out, check whether we've already panicked. If so,
just take the lock on the assumption that in panic mode, we run on a single
CPU anyway.
2004-07-04 09:54:20 +00:00
pk
edd81fa220 Fix typo in CHECK_SP_REDZONE() which has been there since the beginning of time. 2004-07-04 09:11:33 +00:00
mycroft
2b9d3e39a0 Fix confusion between index numbers in one table and node numbers in another
table, that was causing PNPBIOS to fail on some machines.  Should fix PR 18610.
2004-07-04 06:18:26 +00:00
mycroft
58a7151020 Update Serverworks chip names, and add a few more. 2004-07-04 05:53:55 +00:00
mycroft
88bac700e0 Be more careful about what ServerWorks devices we attempt to map PCI buses
behind.
This should address PR 21458 and PR 25670.
2004-07-04 04:55:18 +00:00
mycroft
cd5dfd5c5c Rebuild. This primarily updates NGDT. 2004-07-04 03:35:01 +00:00
mycroft
15eb49718a s/PAGE_SIZE/NBPG/ to make this compile again. 2004-07-04 03:21:53 +00:00
mycroft
66760f9d8c Change MAXDRV to 0x8f, to fix El Torito booting problems on some machines.
See PR 22647.
2004-07-04 00:38:51 +00:00
mycroft
a8f51b14b9 b -> B 2004-07-04 00:21:55 +00:00
mycroft
5f1cbe539c If apm_set_powstate() fails, make sure we run apm_resume() so that run any
powerhooks we have.  From PR 13671 (but applied to both standby and suspend).
2004-07-03 22:29:13 +00:00