scw
ca8c391c95
s/bcopy/memmove/
...
The kernel's bcopy (actually a wrapper around memcpy) is not guaranteed to
handle overlapping regions, even though the old ARM version did.
This fixes a problem where the kernel reported more available memory
than actually existed.
2003-11-05 10:09:10 +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
junyoung
dfb82ca484
rindex() shouldn't be used in the kernel. Use strrchr() instead.
2003-11-05 05:46:32 +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
christos
82812c7677
remove malloc.h (we don't need it)
2003-11-05 04:03:43 +00:00
christos
293ab5b508
limit malloc so that corrupted executables don't allocate a lot of memory.
2003-11-05 04:03:21 +00:00
uwe
81468ece49
Register definitions for SH7709 DAC.
2003-11-05 03:08:13 +00:00
uwe
7dac2eaa7a
Add closing parenthesis missed in previous.
2003-11-05 01:43:16 +00:00
itojun
60dac07656
use hash table for in6_pcbbind(). similar to in_pcb 1.89 -> 1.90
2003-11-05 01:20:56 +00:00
uwe
758b6ed7d7
ispell comments.
2003-11-05 00:28:34 +00:00
fvdl
60a5dfd880
Add and enable igphy.
2003-11-04 23:38:41 +00:00
he
6a3911e9ce
Make this compile, at least.
2003-11-04 23:19:12 +00:00
christos
808f08e986
Try to make this work. Havard will test it.
2003-11-04 23:01:13 +00:00
scw
5d63abe1f1
Fix a braino introduced in r1.37. Thanks to Tom Spindler for spotting it.
2003-11-04 22:20:50 +00:00
aymeric
a60cfa8cd7
. ANSIfy, make compile
...
. get rid of kbd_intr() and low-level keyboard handling
2003-11-04 19:18:05 +00:00
mycroft
c6589d2082
Ignore a CRCTO error on a SETUP transaction in combination with STALLED or NAK.
...
This fixes problems with the GL641.
2003-11-04 19:11:21 +00:00
thorpej
73fea8467b
Enable i82541 and i82547 chips - it works well enough to get broader
...
testing. Update the TODO list.
2003-11-04 19:09:39 +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
190473c7b3
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).
(pad fields left in struct proc to avoid kernel bump)
Somehow this file escaped the earlier commit (in spite of being in the cvs diff
I did beforehand!)
2003-11-04 16:19:52 +00:00
scw
7f80949f0d
Use the same trick as powerpc to resolve the 24-bit pc-relative
...
branch limitation.
2003-11-04 14:50:27 +00:00
pk
1fac26c0a5
* Set ksi_code to SI_NOINFO where we used to return zero.
...
* Fill in ksi_errno if we have an error code to report.
2003-11-04 14:24:25 +00:00
pk
bf835f94c2
Remove !__HAVE_SIGINFO transitional code.
2003-11-04 14:14:28 +00:00
jdolecek
f96eb7635f
yield to the strchr() prototype from libkern.h
2003-11-04 14:04:04 +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
itojun
57b5c736df
suppress -Wuninitialized
2003-11-04 05:50:54 +00:00
uwe
0af2a03977
Provide wskbd* at j6x0tp? attachment that maps taps on the "HP hard
...
icons" (along the right edge of the screen) to key presses.
2003-11-04 03:43:12 +00:00
uwe
399158308d
Redo a quick hack for intc_intr_disable() and intc_intr_enable() to have
...
a saner interface/semantic.
2003-11-04 03:13:48 +00:00
simonb
1c7a9a7183
Indentation nit.
2003-11-04 02:19:28 +00:00
simonb
d576cd5c19
Fix tyop in previous - a "$" before a make variable works wonders.
2003-11-04 02:18:49 +00:00
kleink
272041c199
Compact previous a little, making better use of _NETBSD_SOURCE.
2003-11-04 00:00:36 +00:00
kleink
331b96d4cf
* define S_IFSOCK as an XSI extension,
...
* define S_ISLNK() for POSIX-2001, and
* define S_ISSOCK() for POSIX-2001.
The latter addresses standards/22902.
2003-11-03 23:55:02 +00:00
cl
66c8bc7693
Reimplement VP donation such that multiple unblocked upcalls can be
...
combined. Also prepare for adding VP repossession later.
- kern_sa.c: sa_yield/sa_switch: detect if there are pending unblocked
upcalls.
- kern_sa.c: sa_unblock_userret/sa_setwoken: queue LWPs about to invoke
an unblocked upcall on the sa_wokenq. put queued LWPs in a state where
they can be put in the cache. notify LWP on the VP about pending
upcalls.
- kern_sa.c: sa_upcall_userret: check sa_wokenq for pending upcalls,
generate unblocked upcalls with multiple event sas
- kern_sa.c: sa_vp_repossess/sa_vp_donate: g/c, restore original
sa_vp_repossess
2003-11-03 22:34:51 +00:00
manu
10d03389ac
mach_port_get_attributes (incomplete and untested)
2003-11-03 22:17:42 +00:00
manu
90b3ec4640
First attempt at mach_make_memory_entry. Untested
2003-11-03 20:58:18 +00:00
jdolecek
ed1e458331
vaddr_t is not a pointer
2003-11-03 20:32:17 +00:00
petrov
334dcc0296
Do not set HMEDEBUG as default mode.
2003-11-03 20:30:14 +00:00
mycroft
64bd03aa66
Remove acpiec locking from the list.
2003-11-03 20:16:46 +00:00
mycroft
823720b33d
Rework slightly so we use acpi_match_hid() in pckbc_acpi_attach() too.
2003-11-03 19:11:41 +00:00
mycroft
3ee522bd34
Match all PNP03?? IDs.
...
Also match more PNP0F?? IDs (e.g. the one the HP OmniBook reports). There's
also no need to check IBM3780 any more, as the IBM and Acer machines which
returned it also return a CID of PNP0F13.
2003-11-03 19:04:56 +00:00
mycroft
cec77f23d6
Match all PNP04?? IDs.
2003-11-03 19:03:54 +00:00
mycroft
c992c0b1e9
Match all PNP07?? IDs.
2003-11-03 19:03:40 +00:00
mycroft
8a8efa0ccf
Use pmatch() so that we can use patterns.
2003-11-03 18:51:31 +00:00
mycroft
d4f7d52915
Add a SMC ID.
2003-11-03 18:25:56 +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
mycroft
01558f7ee2
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:24:22 +00:00
mycroft
72ae89b69a
Fix locking protocol, and use _GLK appropriately. From kochi, with some
...
modifications.
2003-11-03 17:23:38 +00:00
thorpej
05225cfc05
Add two new boot flags:
...
-x Boot with debugging messages (AB_DEBUG)
-z Boot silently (AB_SILENT)
2003-11-03 16:39:07 +00:00
cube
78677ac649
Regen.
2003-11-03 15:58:48 +00:00
cube
bda71e9e81
Add some IDs for the EPIA-M 10000 motherboard.
2003-11-03 15:57:46 +00:00