martin
9a2bbccfc7
Load the next cpu_info pointer with LDPTR instead of ld.
2008-01-06 17:22:15 +00:00
christos
5f01dfbd0d
PR/37708: A.Leo.: getservbyname, segetaddrinfo sefgfaults when user has no
...
rights for reading ``/etc/services''
2008-01-06 16:34:18 +00:00
jmcneill
bf49138bfc
Fix off-by-one in kobj_read range checking for case KT_MEMORY
2008-01-06 15:13:07 +00:00
ad
b9e6d93835
- Allow loading ELF objects from memory. Based on a patch from jmcneill.
...
- Allow for changing object name later, once known.
- Split open/load of the objects.
2008-01-06 14:47:26 +00:00
ad
dff5d8444c
Only do the xcall if !cold.
2008-01-06 14:33:27 +00:00
dsieger
55cdd729c2
Fix a typo: s/Kgdb_dev/kgdb_dev/
2008-01-06 13:54:01 +00:00
martin
2a8b08575b
We can not mutex_init() before setting up the per-CPU mappings needed
...
by curcpu() - a LOCKDEBUG kernel will die otherwise.
2008-01-06 13:41:28 +00:00
kent
9602a50eb5
recognized the names of Sigmatel STAC9227-9230
2008-01-06 13:33:21 +00:00
ad
67cc6c4e0d
Update curcpu()->ci_idepth, not the (left over) local.
2008-01-06 13:28:17 +00:00
dsl
b6e6554ace
include sys/simplelock.h
2008-01-06 13:25:22 +00:00
dsl
f3df4c2289
include sys/simplock.h
2008-01-06 13:18:19 +00:00
kent
86e51d72d1
fix a bug of S/PDIF audio format selection
...
PR/36493 by Arcady Antipin
2008-01-06 12:56:20 +00:00
bouyer
4507f75dd0
Fix fallout from vmlocking2: in xbdback_co_io_loop(), return the right object.
2008-01-06 12:43:42 +00:00
chris
941409f5f4
curcpu()->ci_depth is now updated in irq_dispatch.S, remove duplication
...
from footbridge.
2008-01-06 12:17:13 +00:00
agc
d77f56d46b
Add documentation on setting up the iSCSI target, and on how to use the
...
NetBSD iSCSI initiator together with cgd to provide encrypted iSCSI
storage.
2008-01-06 11:00:49 +00:00
he
eb14906cb2
Include <sys/device.h> explicitly to pull in needed definitions.
2008-01-06 10:33:24 +00:00
yamt
f4a8d6e7c6
s/processor/CPU/ to increase chance to fit within 80 chars.
2008-01-06 06:55:08 +00:00
matt
d9322458cc
Truly kill current_intr_depth once and for all.
2008-01-06 03:45:26 +00:00
matt
940cdbb355
current_intr_depth is dead. Make sure we don't use it anymore.
2008-01-06 03:11:42 +00:00
matt
ace1262f40
current_intr_depth is dead. kill it off for good.
2008-01-06 03:01:59 +00:00
martin
258a4b78cf
With the new IPL world, things are easier for us: if we can get the
...
nell hardware interrupt handler run at IPL_VM, we can call the socket
drivers interrupt handler directly.
This is always possible on sparc64, but on sparc we might have to fall
back to the old softint bounce. Since this uses arbitrary IPLs, we
can not use the new softint_* for this - we'll have to use the old
sparc_softintr_* functions.
2008-01-06 02:29:58 +00:00
matt
0c0de8072e
Cleanup softint lossage.
2008-01-06 01:37:53 +00:00
matt
3ef8cd67cc
Increase SYMTAB_SPACE because of more kernel bloat.
2008-01-06 01:35:34 +00:00
matt
e7574fcb84
Make sure interrupt handler is updating curcpu()->ci_depth
2008-01-06 01:19:42 +00:00
ad
503fb6483e
A quick hack to make cpu_intr_p() work on shark. Needs to be fixed
...
properly by someone who does arm assembly.
2008-01-06 00:56:18 +00:00
ad
e5942a85c1
Missing lock acquire.
2008-01-05 23:54:24 +00:00
ad
58dc3540b0
Add fgetdummy/fputdummy: allocate and free dummy 'struct file' entries
...
to be used when traversing filehead.
2008-01-05 23:53:21 +00:00
yamt
1f8910c5fa
mention SIZEOF_PTR
2008-01-05 22:54:49 +00:00
martin
798130646c
Add missing include
2008-01-05 22:50:12 +00:00
yamt
af7b67af68
PR/37662 was fixed.
2008-01-05 22:49:59 +00:00
yamt
bb81964965
allocate dedicated stacks for NMI. PR/37662.
2008-01-05 22:48:31 +00:00
martin
d5681ba54e
Add missing include.
2008-01-05 22:45:22 +00:00
yamt
55ac8a439e
remove a stale comment.
2008-01-05 21:59:33 +00:00
yamt
f98ad43750
remove no longer necessary cpu_maxproc.
2008-01-05 21:52:01 +00:00
yamt
35f1be57b4
- make amd64 use per-cpu tss.
...
- fix iopl syscall for amd64+xen.
2008-01-05 21:47:18 +00:00
yamt
f44110bb2a
move IOMAP_INVALOFF from cpu.h to tss.h
2008-01-05 21:45:00 +00:00
yamt
e9a50f2e86
g/c unused members
2008-01-05 21:40:57 +00:00
yamt
a0958af97a
g/c ci_idle_pcb_paddr
2008-01-05 21:37:25 +00:00
jdc
4e9db724cc
Note support for Sun SX fibre cards for gem(4).
2008-01-05 21:05:49 +00:00
jdc
f42ce09a9c
Add bmtphy* (for gem*).
2008-01-05 20:38:31 +00:00
jdc
bb4a0543ee
Updates from OpenBSD:
...
-- r1.15
Add some DSP init code for BCM5221's.
Values derived from Apple's GMAC driver, same init
code also exists in Linux's sungem_phy driver.
tested by miod@ pedro@ and otto@ on a few systems.
-- r1.16
Always explicitly set IFM_HDX for half-duplex.
From brad@
--
2008-01-05 20:33:29 +00:00
jdc
20409ec3a8
Mention SX fibre card support.
...
Mention Sun GEM documentation.
2008-01-05 20:31:18 +00:00
jdc
6055efa604
Add support for Sun PCI X1141A (SX fibre) cards.
...
Add support for GEM cards on non-OFW machines.
2008-01-05 20:30:22 +00:00
jdc
196789ac55
Add support for Sun PCI X1141A (SX fibre) cards, based on the GEM
...
documentation, experimentation and a previous patch from John Heasley.
Add improvements to the driver based on the GEM documentation and
from FreeBSD if_gem.c (rev 1.45).
2008-01-05 20:27:44 +00:00
christos
adf68778f6
Add PaX stuff for testing.
2008-01-05 20:14:01 +00:00
christos
9780e68402
warns=4
2008-01-05 20:00:49 +00:00
bouyer
f8a26c5d3c
Wrap test for debug_port in __predict_false()
2008-01-05 19:29:26 +00:00
apb
4ee202cfe2
If a menu line in boot.cfg has an empty description, then re-use the
...
command as the description. For example,
menu=:boot netbsd -s
now works like
menu=boot netbsd -s:boot netbsd -s
2008-01-05 19:29:16 +00:00
christos
bba8223c2b
it is pointless to print the cpuid on a single processor machine.
2008-01-05 19:29:12 +00:00
bouyer
81873269e4
Make sure debug_port isn't used before initialized by setting it to -1.
2008-01-05 19:16:07 +00:00