jkunz
c43db93399
hp700 has no PCI support yet. Enabling PCI devices breaks compilation, so disable all PCI devices for the moment.
2004-02-20 20:18:37 +00:00
drochner
972fe86c42
Provide a dummy cpu_exec_aout_makecmds() to make a kernel
...
with COMPAT_NETBSD32+COMPAT_AOUT link.
netbsd-1.3/i386 binaries are running now.
2004-02-20 18:11:16 +00:00
yamt
2becafcd79
don't assume that bus on intr_extra_buses has non-null pci_bridge_tag.
...
pchb's second bus doesn't have it.
ok'ed by Frank van der Linden.
2004-02-20 18:04:06 +00:00
yamt
d749a2d0b4
defer pmap switching until it's really needed
...
to avoid frequent loading of cr3 register, which involves tlb flush.
with some fixes/improvements from Stephan Uphoff and Bang Jun-Young.
2004-02-20 17:35:01 +00:00
drochner
b07c616019
did this ever work? The EXEC_32 flag must be set _before_
...
exec_aout_prep_*magic(), otherwise setup_stack() fails.
2004-02-20 17:04:27 +00:00
fvdl
a043ba6b66
Actually match the nforce3 as well..
2004-02-20 16:36:29 +00:00
drochner
f0423dfad5
-MID_SPARC->NETBSD32_MID_MACHINE
...
-check for zero BSS size, as in kern/exec_aout.c rev. 1.23
2004-02-20 16:14:38 +00:00
drochner
289fa68010
provide a definition NETBSD32_MID_MACHINE which tells for the a.out MID
...
to look for in 32-bit emulation
2004-02-20 16:11:44 +00:00
drochner
2982fa170d
use no-execute page permissions if supported
2004-02-19 17:18:38 +00:00
drochner
fdeec1f029
define AMD64's CPUID_NOX bit (I'm curious where Intel puts this bit in the
...
ia32 extension just announced)
XXX there should be a better separation between generic and vendor
specific feature flags
2004-02-19 17:09:39 +00:00
drochner
d2414542a3
-on instruction fetch fault from non-executable pages, signal
...
SIGSEGV/SEGV_ACCERR
-whitespace cleanup
2004-02-19 17:06:06 +00:00
drochner
893de0a21e
signal SIGSEGV/SEGV_ACCERR if non-executable stack is jumped to
2004-02-19 17:02:44 +00:00
yamt
635ee237b0
support h/w assisted vlan tag insertion.
2004-02-19 14:21:40 +00:00
yamt
9324f158e1
support h/w assisted vlan tag removal.
2004-02-19 13:34:51 +00:00
uebayasi
5d41e06074
Update some URLs.
2004-02-19 12:23:47 +00:00
ragge
9a3ec25f87
Add media type 10GbaseLR. Change ifmb_baudrate and ifmedia_baudrate()
...
to u_quad_t instead of int (common speed today exceeds 2Gbit).
2004-02-19 11:58:30 +00:00
thorpej
816a869868
s/WTC_DTYP_D/WTX_DTYP_D/
2004-02-19 05:19:52 +00:00
thorpej
881b8b9966
Fix typo in debug message. From Jeffrey Hsu.
2004-02-19 05:18:47 +00:00
atatat
42d379d041
Use new PTRTOUINT64() macro instead of local PTRTOINT64() macro.
2004-02-19 03:57:56 +00:00
atatat
caea20e952
Add PTRTOUINT64() and UINT64TOPTR() macros to sys/sysctl.h for use by
...
kern.proc, kern.proc2, kern.lwp, and kern.buf.
Define more MIB for kern.buf so that specific buffers can be selected
(only all/all is supported right now), and use a 32/64 bit agnostic
structure for communcating buffer information to userland.
Convert systat to the new kern.buf method.
Clean up the vm.buf* handling a little. There's no actual need to
record the dynamically assigned OIDs, since sysctl_data can tell us
what we're looking at.
Oh, and fix a typo in a comment.
2004-02-19 03:56:30 +00:00
matt
cb57c6f8e9
Move detection of a special symbol into a separate function. Add some more
...
special symbols.
2004-02-19 03:42:01 +00:00
thorpej
fd4acf29d4
Add missing txseg20 counter name. Pointed out by Jeffrey Hsu.
2004-02-19 02:13:23 +00:00
augustss
187630511a
Add a serial adapter. From PR 24482
2004-02-19 01:12:05 +00:00
augustss
84fc0b7421
Regen.
2004-02-19 01:11:13 +00:00
augustss
6f5601f100
Add a serial adapter. From PR 24482
2004-02-19 01:10:42 +00:00
bjh21
fb330ce71b
Remove pckbc_machdep_cnattach() -- it's no longer needed.
2004-02-19 01:03:45 +00:00
matt
f01501b2c6
Support really large LKMs. Find out how much space is needed for symbols
...
and then allocate it on demand. Rename some common symbols (__bss_start,
_edata, _end, __start_link_set_*, __stop_link_set_*) so that ".<module>"
is appended to them. This shrinks an amd64 kernel by 20KB of BSS.
2004-02-18 23:44:49 +00:00
matt
004f0d503a
s/sumbols/symbols/
2004-02-18 20:41:09 +00:00
hannken
c59d4851b8
Run pmap_deactivate() earlier in exit1(). Prevents a panic on sparc MP
...
where p->p_vmspace was 0xdeadbeef in pmap_deactivate().
Approved by: YAMAMOTO Takashi <yamt@netbsd.org>
2004-02-18 14:42:20 +00:00
matt
77effcd27e
Don't waste space on likely unused sysmon structure.
...
Instead malloc them as needed.
2004-02-17 22:03:52 +00:00
dyoung
8ecfa06341
Move the RF Microdevices RF3000 & Silicon Laboratories SI4126/SI4136
...
register sets into their own header files for re-use by future
drivers.
2004-02-17 21:20:55 +00:00
jdolecek
fc15b17c83
fix NT_OPEN_EXISTING to be really just 'open' and not include the 'create' bit
...
fixes the problem described in PR kern/22835 by Rob Quinn
2004-02-17 19:22:42 +00:00
kleink
e436929104
Fix a (non-dangerous) malloc size botch in eso_allocm();
...
from Stephen Ma in PR kern/18342.
2004-02-17 17:39:55 +00:00
kleink
d82820e03a
Audio 2's DMA current address register implements only the least
...
significant 20 bits, so make sure its memory allocation won't cross
a 1M boundary. From Stephen Ma in PR kern/18342.
2004-02-17 17:34:21 +00:00
simonb
d7ee872c5f
Don't shadow a function name with a parameter.
2004-02-17 11:36:01 +00:00
tron
7008209ace
Include "sys/systm.h" to get the prototype for panic() which is required
...
for diagnostic kernels.
2004-02-17 08:22:12 +00:00
rtr
8845b1e975
split off the evcnt code (which is unrelated to autoconfiguration)
...
into a separate file
approved by simonb@
2004-02-17 05:03:15 +00:00
enami
456851e71a
Some whitespace fix.
2004-02-17 01:45:34 +00:00
enami
d59c88c291
The vnode capability id is gone.
2004-02-17 01:35:33 +00:00
enami
6a268a570b
Rewind the `bp' advanced backward by cache_revlookup() if getcwd_getcache()
...
finally returns cache miss.
# Slightly modified from posted version so that it is cleanly patchable
# at least on 1.6 branch.
2004-02-17 01:29:39 +00:00
wiz
bb3980ab7a
Remove last traces of DUMMY_NOPS option that was removed some
...
time ago.
From Jeff Rizzo in PR 24442.
2004-02-16 17:11:26 +00:00
yamt
0e9e078e22
- raise ipl when calling buf_canrelease() because it traverses buffer queue.
...
- correct/add comments on buf_canrelease().
2004-02-16 09:34:15 +00:00
lukem
23743f47b8
Add some notes about the layout of the master/partition/floppy boot record.
2004-02-16 07:37:06 +00:00
thorpej
e1e9cfd40a
Comment out some SYSV* and *VERBOSE options to shrink these down so
...
they fit in the current boot floppies.
2004-02-16 02:43:53 +00:00
jdolecek
cb3ab0a872
unlock the descriptor table simple lock after fd_getfile() call in
...
procfs_readdir()
fixes procfs locking problems reported on current-users@, problem place
found by enami tsugutomo
2004-02-15 22:18:17 +00:00
jdolecek
6d8183e508
add rnd hooks
2004-02-15 09:40:32 +00:00
kochi
93ec3b2720
Merge ACPI-CA 20040211.
2004-02-14 16:57:24 +00:00
dsl
bcaf57b039
Fix prev. so it compiles
2004-02-14 16:40:22 +00:00
junyoung
ff24ed0023
device<tab>
...
attach<tab>
2004-02-14 16:38:06 +00:00
junyoung
4d4de5b780
device<tab>
...
attach<tab>
file<tab>
2004-02-14 16:35:58 +00:00