Commit Graph

6173 Commits

Author SHA1 Message Date
tsutsui 112c91d583 Use #if defined(_KERNEL_OPT) to protect #include "opt_xxx.h"
from building LKM etc. Suggested by mrg.
2003-11-09 05:29:59 +00:00
dsl fcb78a6640 Remove depencency of vers.c on ${LIBLIST} - it messes up the depends and
I'm not sure why I added it now!
Default NWEVERSWHAT back to "BIOS Boot" - look better on boot banner page.
2003-11-08 00:02:02 +00:00
dsl a7e45c127a stand/lib/crt/rom is no more, no need for it in .PATH 2003-11-07 23:44:56 +00:00
dsl 80e537250b Make 'dependall' generate the dependencies 2003-11-07 23:39:27 +00:00
dsl 6074f35279 Change getextmem2 to return 'configured' values from cx/dx if ax/bx zero,
make absolutely high the top 16bits of returned values are zero.
Ralf's list says that some BIOS need %eax = 0x0000e820 in getmementry.
Add a few comments.
Might fix problems with memory size detection on some systems.
2003-11-07 11:34:28 +00:00
dsl a8af374602 Adjust location of 'extmem2' diagnostic print. 2003-11-07 11:30:39 +00:00
tron 0ad4493632 Update comment for wm(4) attachment because the driver supports more
than the Intel 82543 and 82544.
2003-11-05 07:51:12 +00:00
mycroft 06eb56a853 So, on other platforms we use the BOOTP/DHCP file name for the boot program
and use a default file name of "netbsd" for the kernel.  Do the same thing
here, as it hardly makes sense any other way.
2003-11-05 04:18:26 +00:00
fvdl 60a5dfd880 Add and enable igphy. 2003-11-04 23:38:41 +00:00
mycroft 94d9caaae4 Re-add ServerWorks IDE support, as "rccide". Note: this is untested, as I no
longer have a ServerWorks-based motherboard.
2003-11-04 16:57:57 +00:00
dsl 2ffbd2ab99 Remove p_nras from struct proc - use LIST_EMPTY(&p->p_raslist) instead.
Remove p_raslock and rename p_lwplock p_lock (one lock is enough).
Simplify window test when adding a ras and correct test on VM_MAXUSER_ADDRESS.
Avoid unpredictable branch in i386 locore.S
(pad fields left in struct proc to avoid kernel bump)
2003-11-04 10:33:15 +00:00
mycroft 4ac0e3e5c6 More cleanup:
* Use ACPI_FAILURE() and ACPI_SUCCESS().
* Output exception strings in a few more places.
2003-11-03 18:07:10 +00:00
mycroft b910c03a32 Clean up some messages:
* Use AcpiFormatException() in a bunch of places.
* acpi_resource_parse() already prints an error, so don't do it in the callers.
2003-11-03 17:54:39 +00:00
kochi 84795bd3fd * now the size of ACPI_DEVICE_INFO is variable:
it can now accomodate multiple _CIDs
  sizeof(ACPI_DEVICE_INFO) should not be used
* make ad_devinfo member in acpi_devnode a pointer
* implement acpi_match_hid() to simplify matching devices;
  _CIDs are also taken into account now as well as _HID
2003-11-03 06:03:47 +00:00
yamt c8d12c1c35 retire PG_ZERO zero-fill checks. uvm_pagefree now check it for us. 2003-11-03 04:02:13 +00:00
jdolecek ec23fd5f28 properly initialize local variable in pnp_debugdump() 2003-11-02 11:32:03 +00:00
yamt fe3e5aa0b8 as we know PTPs are zero-filled when being freed,
mark them PG_ZERO so that they'll be used to serve UVM_PGA_ZERO requests.
2003-11-01 15:21:02 +00:00
yamt e36739df67 use explicit "l" suffixes.
(xor -> xorl)
2003-11-01 15:14:27 +00:00
yamt f41e60e6a0 as there shouldn't be any mappings when pmap_destroy() is called,
assert there is no remaining PTPs at that point.
2003-11-01 09:07:11 +00:00
mycroft a4061d6dec Update for structure changes. 2003-10-31 21:49:39 +00:00
cl ef56cc40ab Reduce code duplication by adding mi_userret() in sys/userret.h
containing signal posting, kernel-exit handling and sa_upcall processing.

XXX the pc532, sparc, sparc64 and vax ports should have their
XXX userret() code rearranged to use this.
2003-10-31 16:44:34 +00:00
hannken ef301d7a07 Remove memset prototype. Already present in sys/lib/libsa/stand.h. 2003-10-31 10:49:25 +00:00
nisimura 51cdfee682 Added stpcide(4) driver for STMicroelectronics STPC IDE controllers. 2003-10-31 06:49:58 +00:00
simonb 6d85c5e0d5 Don't pass the (unused) return value args to the
trace_enter()/systrace_enter() functions.
2003-10-31 03:28:12 +00:00
fvdl 7d342b5852 * keep track of PCI buses that aren't known by firmware, but are found
by NetBSD
* use this info in in intr_find_mpmapping
* get rid of the last argument to intr_find_mpmapping, it was redundant
2003-10-30 21:19:54 +00:00
simonb b6abb6ab1d Remove some assigned-to but otherwise unused variables. 2003-10-30 01:58:17 +00:00
mycroft a246f3b7a5 Reorder slightly to eliminate bogus initializers. 2003-10-29 02:02:05 +00:00
mycroft 659649b149 The previous change was wrong. The variables were legitimately uninitialized.
This code was broken on 2002/10/22 by christos.
2003-10-28 23:10:02 +00:00
mycroft 6ad04f2a27 XXX: gcc 2003-10-28 23:04:26 +00:00
mycroft 3aae7144ea Eliminate bogus initializer. 2003-10-28 22:52:53 +00:00
yamt a059d6caf4 appease gcc "uninitialized" warning. 2003-10-28 14:49:53 +00:00
drochner 46e330c669 quell a gcc3 "uninitialized" warning by putting some more dead code
inside "#ifdef PNPBIOSEVENTS"
2003-10-28 11:17:14 +00:00
junyoung 68a06a8528 Fix indent level. 2003-10-28 04:59:18 +00:00
junyoung 2c4f6d0128 Nuke __P(). 2003-10-27 14:11:46 +00:00
junyoung 8f1ba94956 Nuke __P(). 2003-10-27 13:43:48 +00:00
christos 7f7c7b7d99 Back out the libretto related hacks I accidentally committed. They are
in CVS in case one wants them :-)
2003-10-27 04:10:43 +00:00
yamt 8122bbfb62 issue PAUSE during ipi rendezvous even with DIAGNOSTIC. 2003-10-26 11:09:13 +00:00
yamt f16e031e00 don't grab kernel lock for SYCALL_MPSAFE syscalls. 2003-10-26 10:48:08 +00:00
lukem f85d2d1c14 Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
dyoung 4b8cd4a6ea Make the tags: target create tags for the ath(4) HAL. 2003-10-26 00:17:46 +00:00
christos b92846c162 Fix uninitialized variable warnings. 2003-10-25 21:34:07 +00:00
mycroft ca57a40612 Remove bogus initializers. 2003-10-25 19:38:18 +00:00
mycroft 8fd2d44a41 Add a missing default. 2003-10-25 19:37:47 +00:00
christos 65235b9eb5 Fix uninitialized variable warnings 2003-10-25 18:40:37 +00:00
mycroft 0965dd2ada Recognize ESS1879. 2003-10-23 14:28:55 +00:00
chs 65d5587ddd rename pv_next to pv_node. use SPLAY_RIGHT() instead of expanding it inline. 2003-10-23 08:30:21 +00:00
provos 6a583bc5cb changed linked list in pmap_remove_pv to a splay tree; approved: fvdl@ 2003-10-23 03:03:20 +00:00
kleink 5d1a2f48d2 Use a common <machine/math.h> for amd64 and i386. 2003-10-22 11:54:23 +00:00
cl ed9c2d7075 don't uvm_swapout LWPs which are LSONPROC on another cpu.
uvm_swapout_threads will swapout LWPs which are running on another CPU:
- uvm_swapout_threads considers LWPs running on another CPU for swapout
  if their l_swtime is high
- uvm_swapout_threads considers LWPs on the runqueue for swapout if their
  l_swtime is high but these LWPs might be running by the time uvm_swapout
  is called

symptoms of failure: panic in setrunqueue

fixes PR kern/23095
2003-10-19 17:45:35 +00:00
lukem 184141db07 Use one 'atabus* at ata?' instead of multiple 'atabus* at FOOide? channel ?' 2003-10-18 08:12:07 +00:00