Commit Graph

7481 Commits

Author SHA1 Message Date
ad c8a5b7d261 Fix traceback through interrupts. This isn't complete but at least it's
displaying useful output again:

db{0}> bt
cpu_Debugger(c1aa4800,c1aa8b1c,c1aa803c,1,c1aa48ec) at netbsd:cpu_Debugger+0x4
comintr(c1aa4800,cf38fc04,0,0,0) at netbsd:comintr+0x65c
DDB lost frame for netbsd:Xintr_ioapic_edge4+0xa8, trying 0xcf413ff4
Xintr_ioapic_edge4() at netbsd:Xintr_ioapic_edge4+0xa8
--- interrupt ---
--- switch to interrupt stack ---
cpu_idle(cf421e00,cf421e00,0,c0264950,cf421e00) at netbsd:cpu_idle+0x30
idle_loop(cf421e00,0,c01002d2,fbff,c01002d2) at netbsd:idle_loop+0x7a
2007-08-05 19:27:45 +00:00
ad 474db80a05 Keep alignment small for _STANDALONE. 2007-08-05 14:56:10 +00:00
ad 17be89c2d5 - trace_enter/trace_exit/ktrace don't need kernel_lock.
- Use a RISC-style copyin optimised for pulling system call arguments.
  In tests I have done on Intel hardware this removes any measurable
  advantage to passing the syscall arguments in registers.
2007-08-05 10:56:52 +00:00
ad ebb5b4b828 Don't rely on the ci_self150 hack. 2007-08-05 10:51:03 +00:00
ad 9d841d6e31 - Remove crud.
- Don't use the ci_self150 hack.
2007-08-05 10:50:26 +00:00
ad 2818ab2bd1 - Align assembly routines on 32-byte boundaries.
- Don't bother doing anything special for CPUVAR() when !MULTIPROCESSOR.
2007-08-05 09:56:48 +00:00
jmcneill fa02ff9185 Pull in i82489var.h in the NLAPIC > 0 case, from Geoff Wing. 2007-08-02 11:23:35 +00:00
jmcneill cedc871a24 Explicitly reinitialize lapic on resume; gets the clock ticking on the
Lenovo T60 and probably many others.
2007-08-01 22:41:59 +00:00
kiyohara 5fc45c72a5 Add ichsmb(4). 2007-07-28 11:06:23 +00:00
xtraeme bd8aee308c There's no need to check for cpu_vendor before calling est_init(), just
pass cpu_vendor to it.
2007-07-25 13:41:53 +00:00
agc 217f538f17 Add pcn device - useful for VMware guests, as VMware emulates a pcn. 2007-07-21 02:24:03 +00:00
rumble da6e256110 Comment FILECORE and add ADOSFS. 2007-07-20 22:26:12 +00:00
daniel bcb48b7bb5 Add VIA_PADLOCK. 2007-07-17 16:40:21 +00:00
dsl de11d360a1 Add the FILECORE filesystem so it gets test compiled. 2007-07-15 19:36:53 +00:00
ad 63811f5275 Generic soft interrupts are mandatory. 2007-07-14 21:48:17 +00:00
kiyohara 0f2145f0b3 Alphabetical reorder. 2007-07-14 16:16:17 +00:00
kiyohara 05e3df98c5 Add nfsmb(4). 2007-07-11 08:01:50 +00:00
ad 88ab7da936 Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
2007-07-09 20:51:58 +00:00
ws a3d6358dce Fix "Fix a garbage in previous commit." in 1.10.
Hi, junyoung!
2007-07-08 11:44:08 +00:00
pooka 0bc323f5cd Initialize the link context in a signal frame to the receiving lwp's
link context instead of NULL.  Otherwise, if we got a signal while the
lwp had a link context set, the link context would be set to NULL upon
return from signal delivery.

christos@tech-kern: "I think you are right."
2007-07-08 10:19:21 +00:00
jmcneill 887c79e434 Enable gcscehci(4) 2007-07-08 03:01:19 +00:00
jmcneill 424b422ccd Add gcscehci(4), an EHCI glue driver for the AMD CS5536 companion
controller. This driver enables USB 2.0 high speed support on the
Soekris net5501 (comBIOS ver. 1.31m).
2007-07-08 01:13:26 +00:00
tsutsui 69dbd2e45e Move x86 common cpu_counter functions into <x86/cpu_counter.h>. 2007-07-07 17:38:26 +00:00
christos 2c9f17f0fc Fix VIA Esther from Heron Gallegos 2007-07-07 17:35:18 +00:00
tsutsui 6a8a584d1a Remove leftover netns stuff. 2007-07-07 05:13:14 +00:00
isaki 265ca0b1f3 Add cache information of, at least, Celeron M (no processor number).
Reviewed by tsutsui@ on port-i386.
2007-07-05 13:51:37 +00:00
christos 2d14013f2c Support for VIA Esther (From FreeBSD) 2007-07-03 17:07:54 +00:00
xtraeme 41fe337f40 Add support for the VIA C7-M and Eden processors in the
Enhanced Speedstep driver.

Tested by Heron Gallegos <gallegos at csxxi dot net dot mx>
2007-07-01 20:12:35 +00:00
xtraeme 4ae780df6b Move gcscide(4) to INSTALL_LARGE. 2007-07-01 11:29:22 +00:00
xtraeme 2efc038f73 Enable gcscide(4). 2007-07-01 11:15:14 +00:00
jmcneill 1a446b6f11 Move ral@pci from INSTALL to INSTALL_LARGE, as requested by Manuel Bouyer. 2007-06-30 12:30:34 +00:00
jmcneill cbc58c76f0 Enable ral@pci by default in the INSTALL kernel. 2007-06-30 03:11:03 +00:00
rumble 6912898dc8 Add read-only support for SGI's Extent File System.
Reviewed by pooka@.
2007-06-29 23:30:16 +00:00
xtraeme 5cd016ef40 For 586 based National Semiconductor CPUs, use amd_cpu_cacheinfo to
print cache information.

My AMD Geode GX2 500/1W reports good values:

cpu0 at mainbus0: (uniprocessor)
cpu0: National Semiconductor Geode (586-class), 365.26 MHz, id 0x552
cpu0: features 80a13d<FPU,DE,PSE,TSC,MSR,CX8>
cpu0: features 80a13d<PGE,CMOV,MMX>
cpu0: "Geode(TM) Integrated Processor by National Semi"
cpu0: I-cache 16 KB 32B/line 4-way, D-cache 16 KB 32B/line 4-way
cpu0: ITLB 8 4 KB entries fully associative
cpu0: DTLB 8 4 KB entries fully associative
2007-06-28 21:02:40 +00:00
alc c82e20912d - add ichlpcib to XEN2 config file
- few cosmetics

tested with XEN2 and XEN3 kernel
ok bouyer@
2007-06-28 20:07:00 +00:00
tsutsui 5c0f3569db Add file-system SYSVBFS. 2007-06-28 12:16:36 +00:00
xtraeme 4164d36e4c Set the PIO mode to the correct drive not for drive1 always. 2007-06-28 10:22:52 +00:00
xtraeme 1f66ef355d Improve a comment. 2007-06-28 07:50:11 +00:00
xtraeme 6222d8a84a Fix a typo and remove unneeded assignments. 2007-06-28 01:21:59 +00:00
xtraeme c9b55c43b1 Do not disable the TSC in the AMD Geode GX2 500. It's known to work. 2007-06-27 23:28:41 +00:00
xtraeme 6733d7ba62 Add gcscide(4). 2007-06-27 23:12:03 +00:00
xtraeme a5ac7ff5aa Import i386/gcscide(4). A driver for the IDE Controller of the
AMD CS5535 Companion device found in the decTOP.

gcscide0 at pci0 dev 15 function 2
gcscide0: National Semiconductor/AMD CS5535 IDE Controller (rev. 0x00)

Supports Ultra DMA mode 4, Pio Mode 4 and MDMA mode 2.

"Go for it" jmcneill@.
2007-06-27 23:02:52 +00:00
briggs a336d0a8d5 When collecting memory regions from the BIOS, ignore regions that are less
than a page size.  This assists a decTOP Geode-based system that reports
memory regions:
        start      end         size       type
	0x00000000 0x0009e000  0x0009e000 1 (Memory)
	0x00100000 0x06be3c00  0x06ae3c00 1 (Memory)
	0x06be3c00 0x06be6000  0x00002400 3 (ACPI)
	0x06fff800 0x06fffc00  0x00000400 1 (Memory)
	0x06fffc00 0x07000000  0x00000400 4 (NVS)
2007-06-26 20:11:12 +00:00
dsl 5a8c98bcf8 Use x86_set_ldt1() instead of the stackgap. 2007-06-23 16:50:23 +00:00
tsutsui f168fff654 Add some more AMD64 CPUID entries. 2007-06-19 14:16:56 +00:00
ad bd348e7971 -options I2OVERBOSE. 2007-06-16 12:35:54 +00:00
jmcneill 16316e7848 Enable glxsb(4) 2007-06-15 23:05:28 +00:00
jmcneill f269d91119 Import driver for the AMD Geode LX AES Security Block, from OpenBSD. The
glxsb(4) driver provides random numbers and AES acceleration.
2007-06-15 23:02:20 +00:00
pavel 5ad4bc1528 Remove some options which are not likely to be useful in INSTALL: PTRACE,
RFC2292 (previous version of IPv6 Advanced socket API). Disable SSP.
2007-06-14 21:14:49 +00:00
kiyohara 8f6cd34a62 Add zyd(4). 2007-06-09 11:34:01 +00:00