chs
6740bb5440
enable profiling of assembly functions.
2008-05-25 15:56:11 +00:00
chris
2b534265d6
Check for erratum 261 on AMD Family 10h Stepping 3 processors.
...
Also output any detected errata at verbose, rather than debug, level so
they can be seen with dmesg, and at least have a clue if a BIOS update
would fix the errata.
2008-05-25 15:52:07 +00:00
chris
a868834e61
Add detection of errata for AMD Family 10h steppings A and 2. Covering
...
errata:
254: Internal Resource Livelock Involving Cached TLB Reload
261: Processor May Stall Entering Stop-Grant Due to Pending Data
Cache Scrub
298: L2 Eviction May Occur During Processor Operation To Set
Accessed or Dirty Bit
309: Processor Core May Execute Incorrect Instructions on
Concurrent L2 and Northbridge Response
2008-05-25 15:19:22 +00:00
chris
52c485503f
Fix pxeboot's load tftp:miniroot.i386.kmod to work again.
...
We now wrapper the open call for a module with module_open. It first
attempts to open the module_path munged path, if this fails it then tries
to open the original path.
This allows tftp files to be located correctly.
2008-05-25 11:54:33 +00:00
phx
436768b562
Better call it HID0_BTCD, as in prep, mvmeppc and rs6000 locore.
2008-05-25 10:52:08 +00:00
phx
9728e10361
Added HID0[BTAC] bit for the 604.
2008-05-25 10:16:04 +00:00
hamajima
fa8ddac44a
fix gpio port direction for i2c_wait_for_scl(). Armadillo9 works again.
2008-05-25 04:03:31 +00:00
hamajima
87c715ebc7
fix countdown of "remaining" variable in delay(). Armadillo9 works again.
...
speed up an initial value calculation of "remaining" variable in delay().
2008-05-25 03:57:22 +00:00
jmcneill
10f75496ad
MI implementation of AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.
2008-05-24 22:16:20 +00:00
jmcneill
43c510d39b
Replace asm implementation of ACPI global lock functions with C equivalents.
2008-05-24 22:02:31 +00:00
phx
be85d6f928
Make oea_init() support systems with high-vector configurations (i.e exception
...
vectors at 0xfff00000), and trap_subr.S allows the kernel to be in a memory
region which is not reachable by absolute branch instructions (ba and bla).
High-vector support can be enabled by option PPC_HIGH_VEC, and long-branches
to the kernel are enabled by the option DISTANT_KERNEL.
2008-05-24 21:39:01 +00:00
he
77b766af04
Back out the removal of md(4) in order to permit this port to complete
...
a release build again. The GENERIC kernel is used to build install media
in distrib/ibmnws/netboot/kernel, and without the md(4) area in place,
mdsetimage becomes unhappy.
Pointed out to rjs (who removed md(4) in revision 1.31), but now
committed due to feedback time-out, and because I've verified that
this fixes the build.
2008-05-24 19:24:48 +00:00
kiyohara
cd22853503
Fix some bugs for bebox.
2008-05-24 17:34:02 +00:00
bouyer
c8e9dd1af4
G/C dead code: remove now-unused softintr-related code.
2008-05-24 15:10:50 +00:00
bouyer
d491d792fd
Remork the C implementation of spllower() in evtchn_do_event(), so that
...
callbacks are always called in decreasing IPL order. Although it's not
strictly a bug, it makes the code easier to read, and avoids processing
the whole IPL range several times.
2008-05-24 15:09:34 +00:00
jnemeth
96f8d450e2
add siisata(4) -- SiI SteelVine SATA2
2008-05-23 21:17:39 +00:00
tsutsui
31d6cdf996
Add simple help messages for MD machine commands on ddb(4).
...
PR port-mips/38306
2008-05-23 17:01:32 +00:00
isaki
5fc34baa9d
Catch up with device_t/device_xname changes on MI USB part.
2008-05-23 13:27:40 +00:00
isaki
aedad66a44
Initialize IPL_SERIAL. Analysed by tsutsui@.
...
Fixed kern/38684 (and other many panics).
2008-05-23 13:07:44 +00:00
hauke
215d0dd444
Fix NetBSD version tag.
2008-05-23 10:46:10 +00:00
rjs
299a890abf
Add call to pic_init(). Spotted by garbled.
2008-05-22 20:56:24 +00:00
hauke
f5ede5dc2e
Added driver for the Creative Systems Inc. Hurdler CPI parallel printer card.
...
Timecounter support for the Z8536 counters A + B is not complete, yet.
Reviewed by Martin Husemann.
2008-05-22 19:49:43 +00:00
ad
d9b262b49d
Mark x86_curlwp() with __attribute__ ((const)), so gcc can CSE it and know
...
that it does not clobber global data.
2008-05-22 13:55:51 +00:00
ad
1e62ed170b
Remove unneeded playing about with kernel_lock.
2008-05-21 14:07:29 +00:00
ad
2a64c855d7
Fix build failure.
2008-05-21 13:36:45 +00:00
ad
76f1ed8cb3
PR port-amd64/38708 lkm_map issues on amd64
...
Don't plonk lkm_map right on top of the ISA ROM/video hole.
2008-05-21 03:50:42 +00:00
ad
22af427bf0
PR port-amd64/38708 lkm_map issues on amd64
...
lkm_map should not be marked pageable.
2008-05-21 03:04:35 +00:00
ad
94b6b18770
- Stop the twiddler going awry.
...
- Clear screen if on a glass tty (!).
2008-05-21 01:51:34 +00:00
ad
b79cb03e74
Do the errata patchup after identifying the CPU, to avoid badly formatted
...
output.
2008-05-21 01:18:00 +00:00
ad
ca4aa34cf5
Be a bit less pointed with the errata warning.
2008-05-21 01:16:20 +00:00
ad
abeeffe66f
aprint_debug for the lapic ESR reports during startup.
2008-05-21 01:15:16 +00:00
ad
e91baf0908
verbose -> debug for # page colours
2008-05-21 01:14:17 +00:00
ad
41fb29c26c
cpuctl shows the power management features.
2008-05-21 01:13:07 +00:00
uwe
3b6480932b
Add semicolon that was lost some 5 years ago.
...
Reported missing by proper do-while macro hygiene in systm.h.
2008-05-20 20:43:30 +00:00
phx
ae1187f656
amiga/amiga/isr.h must not be included for __m68k__ only.
...
At the moment it is required by amigappc as well.
2008-05-20 18:28:56 +00:00
ad
e69aa3297c
Take $MACHINE into account when looking for modules.
2008-05-20 16:04:08 +00:00
ad
79df4e6dbd
PR kern/38694 module dependencies do not work as expected
...
If a given module name/path does not start with '/', assume it's a module
name and choose a default path based on the kernel version.
2008-05-20 14:46:54 +00:00
cegger
a8dd75a7ea
correct comment copied from aiboost(4): envsys(4) wants uK
2008-05-20 14:45:22 +00:00
cegger
b112375268
envsys(4) expects values in mK and not the top of the range of possible temperature values.
...
Needed some time to figure this out after I saw negative temperature values on Griffin.
2008-05-20 13:58:32 +00:00
nakayama
d3e62669e3
Put "powered down" message in case of RB_POWERDOWN for consistency.
...
Useful for a serial console.
2008-05-20 11:44:14 +00:00
dogcow
49a3eaf487
due to changes in KERN_UNLOCK_ALL, now always define hold_count.
2008-05-20 09:29:33 +00:00
reinoud
6225111ee5
Remove double copyright message by me
2008-05-19 15:30:51 +00:00
martin
ee9ac5c71f
Explicitly pass a "mpsafe" arg down to intr_establish, as at that point
...
we do not have the original ipl passed in around to check for mpsafeness.
Fixes PR port-sparc64/38673. Thanks to Andrew for pointing at the problem.
2008-05-18 22:40:14 +00:00
cegger
33e33b567c
acpidalb(4): Driver for PNP0C32 Hotkeys aka "Direct Application Launch Buttons".
...
"awesome" jmcneill
2008-05-18 22:05:59 +00:00
mlelstv
1ea289c164
put back NetBSD tag
2008-05-18 13:18:19 +00:00
phx
1edc11edbf
No longer used.
2008-05-18 12:14:08 +00:00
bjs
8e3ed2e6db
second instance of PCI_INTR_FIXUP -> PCI_ADDR_FIXUP, change comment to
...
match.
2008-05-18 03:52:17 +00:00
jmcneill
865f9859cf
Add commented out entries for PCI_BUS_FIXUP and PCI_ADDR_FIXUP
2008-05-18 02:10:10 +00:00
jmcneill
9709f2afe2
Add support for PCI_BUS_FIXUP and PCI_ADDR_FIXUP on amd64.
2008-05-18 02:06:14 +00:00
macallan
21ef3a53d1
more device_t-ification
2008-05-17 18:11:32 +00:00