Commit Graph

47895 Commits

Author SHA1 Message Date
ad
4a0f8c8fcf Since breakpoints don't work, dump basic info about the trap before
entering the debugger. Sometimes ddb only makes the situation worse.
2008-05-30 10:38:21 +00:00
ad
c51560fae0 Don't try to resolve pagefaults from interrupt mode; it can result in a
LOCKDEBUG panic, or the machine getting really confused. Instead, panic
at the earliest oppertunity.
2008-05-30 10:36:20 +00:00
joerg
f608e44ab1 Add a function to extract the primary bus number of PCI host bridges,
as far as specific code for this already existed.
2008-05-30 09:49:07 +00:00
mrg
04f2afbef7 convert the rest of my licenses to 2-clause, extracting myself out
from a group as necessary.

bozohttpd remains, but it will get fixed next time i update it.
2008-05-30 02:29:37 +00:00
mrg
c2b95373bf remove clause #3 from my license where there are no other
copyright holders involved.
2008-05-29 14:51:25 +00:00
tsutsui
8578fbdffa - also put a boot failure message to LCD
- fix botched (and unused) macro
- use struct lcd_message consistently
2008-05-29 14:25:00 +00:00
tsutsui
07c5a11f73 Include files.bluetooth. 2008-05-28 14:05:14 +00:00
tsutsui
0e88f65e18 Print boot banner and a loading kernel name onto LCD,
for users who don't have serial console.  Bump version.
2008-05-28 14:04:07 +00:00
ad
788aa3a3b0 Give it a private X86_MAXPROCS def. XXX 2008-05-28 12:48:21 +00:00
ad
0c8e56007e Remove X86_MAXPROCS. There is still a 32-cpu limit, but it's now using
the MI constants.
2008-05-28 11:50:01 +00:00
ad
1d6047e0d2 Another use of X86_MAXPROCS. 2008-05-28 11:45:15 +00:00
ad
3e01024d3f Kill use of X86_MAXPROCS. 2008-05-28 11:44:18 +00:00
hauke
9dd4931827 Add LOCKDEBUG option, commented out, so that people know it's there. 2008-05-28 10:20:02 +00:00
dyoung
71f2cf5b71 Make this compile again: don't use USBDEVNAME().
While I'm here, use device_t, device_private(), aprint_error_dev().
2008-05-27 21:24:15 +00:00
dyoung
975e7d5e74 Enlarge embedded symbol table. 2008-05-27 19:27:17 +00:00
nakayama
94692eb6bc Change my mail address to NetBSD's one. 2008-05-27 18:01:34 +00:00
explorer
d4ffc0c2dd print out the xen hypervisor's version number when attaching 2008-05-27 17:01:07 +00:00
hamajima
78c41e4bd3 - convert inline asm umull to C
- add "-march=armv4 -mtune=arm9" to CPUFLAGS

Relevant mailing list threads:
http://mail-index.netbsd.org/source-changes/2008/05/25/msg195537.html
http://mail-index.netbsd.org/port-arm/2008/05/26/msg000228.html
2008-05-27 14:31:36 +00:00
ad
8642ae8daf cpu_lwp_fork: set tf_trapno=T_ASTFLT in case the LWP gets an aston() before
returning to userspace for the first time.
2008-05-27 14:25:11 +00:00
ad
b18c28f549 PR kern/38763 "hanging in tty" bugfix breaks the build for vax (and
probably others)
2008-05-27 14:13:41 +00:00
hauke
409e8d93e6 Switch files I authored to two-clause BSD license. 2008-05-26 17:58:37 +00:00
kiyohara
33aaae50a1 Split boot/boot_com0/boot_vga.
boot supports framebuffer.
  boot_com0 supports com0.
  boot_vga supports vga, not frambuffer.
2008-05-26 16:28:39 +00:00
tsutsui
40f5425d58 Remove all initialization of obsolete ci_divisor_recip in
mips struct cpu_info and related macroes.
The member was prepared for a hack in MD microtime(9) implementation
but it has been superseded by MI timecounter(9).
2008-05-26 15:59:29 +00:00
ad
c0daf9414f Disable OSI networking. 2008-05-26 13:21:08 +00:00
he
e9c0b94535 Bump ramdisk size from 1.5M to 1.6M to compensate for recent bloat. 2008-05-26 12:25:34 +00:00
nisimura
540dfe3a95 - assign 2 clause TNF license to the files cited as my ownership.
- abandon and remove my copyright notice from the three files were
copied in order to adapt HW I don't have; pvr.c, pm.c and stic.c
2008-05-26 10:31:22 +00:00
jmcneill
35f1d3e7d0 Add uberry. 2008-05-26 00:33:37 +00:00
christos
6facb070dd Add uberry. 2008-05-26 00:25:32 +00:00
tsutsui
99f94fd98d Some KNF and cosmetics. 2008-05-25 23:37:05 +00:00
ad
5e4b324300 Properly fix the "hanging in tty" bug that was worked around with cv_wakeup()
some time again.
2008-05-25 19:22:21 +00:00
agc
2481b1e8b9 Re-enable INCLUDE_CONFIG_FILE in the GENERIC kernel config files for
i386, amd64 and usermode - it is necessary for retrieving information
on kernel configuration for running kernels - cf config -x.
2008-05-25 19:05:16 +00:00
joerg
ae85e6b957 Random underdocumented CPU facts:
AMD K8 and newer will trap when enabling the NX support outside PAE
paging mode. The AMD64 wake code was restoring the MSR EFER to switch to
Long Mode and naturally didn't have paging enabled at that point.
While this works fine with Intel CPUs, it resulted in an immediate
reboot with AMD processors.

Fixed by a joint brain storming session of jmcneill@, cegger@ and
myself, based on some input from the hardware developers.  This fixes
PR 38587.
2008-05-25 17:20:29 +00:00
kiyohara
4b5fb67334 Integrated to powerpc-mkbootimage. Obsoleted. 2008-05-25 16:27:56 +00:00
kiyohara
5039d4063f Integrated to powerpc-mkbootimage. Obsoleted. 2008-05-25 16:21:07 +00:00
jmcneill
43af10dd5c Remove unnecessary rdmsr when modifying MSR_EFER. 2008-05-25 16:17:37 +00:00
bouyer
02ac2b8d02 Add a KASSERT(): Xspllower() will reenable interrupts, so make sure it's
not wrong to do so.
2008-05-25 16:09:30 +00:00
bouyer
0fab1fb884 Fix pasto: CLI -> STI 2008-05-25 16:08:41 +00:00
chs
736ec52d87 remove unused macros. 2008-05-25 16:01:29 +00:00
chs
dfe6756df5 add IBM970MP (used in the last model of powermac G5). 2008-05-25 16:00:52 +00:00
chs
b2e9f679cb recognize the variant found in the last model of powermac G5. 2008-05-25 16:00:11 +00:00
chs
eedfb3cc28 fix profiling compilation. 2008-05-25 15:57:50 +00:00
chs
b9a7f48546 enable profiling of assembly functions, except for x86_pause().
profiling that one causes the system with profiling on to become so slow
that we get spinlock timeouts.
2008-05-25 15:56:57 +00:00
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