Commit Graph

23473 Commits

Author SHA1 Message Date
soda d5046f18c7 note "vm_page_zero_enable = FALSE" 2000-08-08 21:17:15 +00:00
bjh21 b642a6e612 ANSIfication and general cleaning. 2000-08-08 21:16:59 +00:00
soda 7f4849dc04 disable page zero in the idle loop on untested machines and pica for now.
this kluge fixes a problem that commands dump core on NEC Image RISCstation
which seems to be OEM of pica.
2000-08-08 21:11:46 +00:00
tv 91537bce4a sizeof(fmtstring) + 8 wasn't enough for the string; that won't cope with the
printed version.  Make a little more room for the bitmask_snprintf() call.
2000-08-08 19:59:41 +00:00
ragge d254a73539 Remove some unneccessary TBIA's. Keep track of wired pages.
Fix PR#8503 (refcount error).
2000-08-08 19:06:52 +00:00
ragge a8b7c77ff8 Be sure that cache is enabled. 2000-08-08 17:54:46 +00:00
soren 026723bccd Update for counter interrupt PSL change. 2000-08-08 16:56:03 +00:00
ragge 73bb1e9018 Write code to handle unimplemented instructions trapped via SCB vector 0x18.
This may happen on machines missing parts of the instruction set (like
some floating point formats).
Only one new instruction added; POLYD, so that the libm assembly files can
be used on architectures missing that instruction.
Also; include emulation code if compile-time option INSN_EMULATE is defined
instead of trying to match on which cputype it is.
N.B. POLYD isn't fully implemented, just enough to make libm happy.
2000-08-08 16:48:12 +00:00
scw a92a92c554 Avoid calling printf() when we're either in DDB, or about to call
Debugger(). Use db_printf() instead.

This fixes a problem whereby it was impossible to enter the debugger
if the CPU was spinning in lockmgr() for the proclist lock, because
printf() calls logwakeup(), which eventually calls proclist_lock_read(),
which then spins in lockmgr() yet again...

[Note: This change was prematurely committed to the 1.5 branch by
       mistake. Since it would've been pulled up anyway, I won't
       be sending a pullup request.]
2000-08-08 08:26:21 +00:00
mark 3dc04c2b47 Fix compile problem. Fixes PR 10670. 2000-08-08 08:19:38 +00:00
msaitoh 468e8d8cef unused file (use 'makeoptions LDSCRIPBASE="shl.x"' for little endian) 2000-08-08 05:24:28 +00:00
jdolecek 3d73ef5a2b convert to use conf/newvers_stand.sh, minor Makefile adjustments 2000-08-07 22:38:10 +00:00
bjh21 e74a0fd322 Major formatting cleanups. If I'm going to work on this driver, I want to be
able to read it.
2000-08-07 22:21:44 +00:00
tv 0b7e5ad5a0 %b -> bitmask_snprintf() 2000-08-07 18:46:30 +00:00
leo a9d83b6c6f Add ahdilabel to SUBDIR. 2000-08-07 14:30:39 +00:00
mrg 44b648a013 make "make depend" work. 2000-08-07 13:50:55 +00:00
leo 3f496a2588 AHDI label editor 2000-08-07 09:23:40 +00:00
shin f0803f8192 protect doubleword register from interrupt. 2000-08-06 12:30:36 +00:00
shin 04e4950cbb detect and eliminate phantom keys. 2000-08-05 05:55:27 +00:00
tsutsui de31126ed6 Fix keyboard related panic when ite device is configured
but not attached, per port-hp300/10750.
Approved by thorpej.
2000-08-04 17:22:09 +00:00
hannken 8e764c2ae5 Add missing `#ifdef SUN4U', `FTYPE_LNG' is only defined on sparc64. 2000-08-04 14:44:40 +00:00
augustss 6ee3189cb6 Alphabetize. 2000-08-04 11:51:37 +00:00
enami bdd9be2dc3 Don't print newline here since it is supposed that more message is printed. 2000-08-04 04:52:37 +00:00
hubertf 54c5777f78 sync with GENERIC rev. 1.72 2000-08-04 02:23:22 +00:00
hubertf 97ec6e11d8 Explain what the strip pseudo-device is for 2000-08-04 02:17:46 +00:00
soda 9baf1fff99 NEC RISCserver 2200 support by bob meader <bob@cci.net>.
Now NetBSD works with RISCserver 2200.
2000-08-03 23:58:23 +00:00
nathanw b3e0af3d32 Fix a problem uncovered by rev 1.5 of pcibios.c:
Avoid interpreting the upper 32 bits of 64-bit BARs as a 32-bit BAR.
Otherwise, the code would assume that the value 0 was incorrect and either:
(a) [on bus 0] "fix up" the address to some nonzero value, thus placing
    the decoded address range outside of 32-bit address space, or
(b) [elsewhere] completely disable the device.

The fact that this behaviour depends on the bus number of the device is
already XXX'd.

XXX: This will need revisiting if and when we ever want to handle a PCI bus
XXX: with more than 32 bits of address space on an i386.

The onboard Adaptec 7890 on my Dell Precision Workstation 410 works again.
2000-08-03 20:10:45 +00:00
eeh dd5c54d05c Add fpu emulation instrumentation and fixup FCMP and FCMPE emulation for v9.
And rename the 128-bit `x' routines to `q' to match v9 terminology:
	i - 32-bit int
	x - 64-bit int
	s - 32-bit fp
	d - 64-bit fp
	q - 128-bit fp
2000-08-03 18:32:07 +00:00
msaitoh ac06675f56 add COMPAT_14 2000-08-03 11:30:30 +00:00
msaitoh 9b50348e47 set internal register correctly (SH4) 2000-08-03 08:19:26 +00:00
nathanw e8b50cf289 Use the same idiom for iterating over allproc as everywhere else in the kernel. 2000-08-02 22:47:44 +00:00
eeh 7abe1d5edf Garbage collection. 2000-08-02 22:26:35 +00:00
eeh 345d748512 PDB_BOOT and PDB_BOOT1 should not be the same value. 2000-08-02 22:25:45 +00:00
eeh 7ec33e899f Get kernel profiling to work. Now if only gprof worked.... 2000-08-02 22:24:38 +00:00
wiz 81b49011ff uvm_inherit.h was removed, and doesn't seem to be needed here. 2000-08-02 15:24:40 +00:00
ragge cf62d07e82 Fix bug that trashed the SPT if any copy* function were used before
the first swtch().
2000-08-02 12:13:22 +00:00
msaitoh e049977033 check _BYTE_ORDER instead of BYTE_ORDER 2000-08-02 11:32:41 +00:00
tsubai 2c691df1ec uvm/uvm_inherit.h was removed. 2000-08-02 09:06:56 +00:00
tsubai eef346a5ec Don't try to change subordinate bus number if pchb != grackle (for now). 2000-08-02 09:02:46 +00:00
soda d6945520db Use cpu_intr() definition from mips/cpu.h instead of local one
like other mips ports.
2000-08-02 08:57:15 +00:00
jeffs 8d300a3b14 setregs() cache sync turns out not to be needed with kern_exec 1.104
(which was 2 weeks after our internal trees full sync).
2000-08-02 06:46:47 +00:00
soda 0cbe0d600f fix oversight introduced in previous my commmitment (revision 1.4),
pointed out by Michael Shalayeff <mickey@openbsd.org>.
2000-08-02 02:54:41 +00:00
eeh dfe3516515 Include NONPLUS and just set the extras we need for 64-bit kernels. 2000-08-02 02:23:58 +00:00
jeffs e1cf55c8a8 Make mips3_FlushICache() convert a0 into a KSEG0 + virtual index like
the _2way and mips3_FlushDCache(). This lets all mips3 cache ops accept
user virtual addresss w/o a tlb miss.  Since this is now done in both
ICache flush routines, no need to do it in pmap.c.  Fixed R4400
stability problems with setregs() cache flushing.
2000-08-01 23:38:26 +00:00
jeffs e6bdec31fd Fix vmapbuf() to call uvm_km_valloc_perfer_wait() call, but trunc_page()
to the prefer arg so we free the correct page.
2000-08-01 22:45:05 +00:00
eeh a8cd48f9e6 `mem' is now a pointer, not an array. Fixes kernel coredumps. 2000-08-01 16:49:47 +00:00
briggs 8d6c85d001 Remove hack for unswapped read/write_multi in swapped space.
Driver now uses read/write_multi_stream_2.
2000-08-01 13:08:39 +00:00
tsubai 43b5c0039c Enable rnd. 2000-08-01 08:23:37 +00:00
augustss 37ae63598b Add midi at clcs. 2000-08-01 08:16:54 +00:00
uch ae581ace81 reserve AGP space to avoid resource conflict. 2000-08-01 05:23:59 +00:00