Commit Graph

91815 Commits

Author SHA1 Message Date
tnn
51f964a289 softdep_freefile: don't acquire ufsmount lock twice. 2008-01-07 05:20:25 +00:00
uwe
e97e9077cc Note landisk import date. 2008-01-07 05:02:38 +00:00
uwe
f38b1e35de Now that sh3 has didicated interrupt stack we can check for cpu_intr_p
with simple sp comparison, so we can drop ci_idepth.
2008-01-07 05:00:12 +00:00
uwe
b786c078f9 Add endif comment for __HAVE_FAST_SOFTINTS. 2008-01-07 04:43:54 +00:00
uwe
1e0e088d60 cpu_intr_p - we can simply check if we are running on the interrupt stack. 2008-01-07 04:41:40 +00:00
ad
d534bbfa2e Really, remove last vestiges of simplelock debugging. 2008-01-07 01:55:15 +00:00
ad
907a6a54db Fix dodgy assertions. From Anders Hjalmarsson. 2008-01-07 00:43:27 +00:00
ad
b439191858 Remove vestiges of simplelock debugging. 2008-01-07 00:27:35 +00:00
ad
de5c0b29ed Build kobj_machdep.c if MODULAR. 2008-01-07 00:26:32 +00:00
bjs
521d96c676 The stamp mutex is not unsafe, so remove this comment so people don't get the wrong idea. ok ad@ 2008-01-07 00:25:19 +00:00
ad
9202b67eca Overzealous; pull in machine/lock.h again. 2008-01-07 00:20:18 +00:00
uwe
d8f0d4be74 Catch up with new option to dev/pckbport/wskbdmap_mfii.c 2008-01-07 00:19:08 +00:00
ad
80f35bef49 #include <sys/mutex.h> 2008-01-06 20:53:06 +00:00
christos
d879c8360a defflag one moe variable. 2008-01-06 19:42:33 +00:00
christos
d1b79165fa clamp min/max values properly. 2008-01-06 19:42:03 +00:00
mhitch
c04c9a55d0 Add timecounter support and borrow counter-based delay from i386.
From joerg;  testing and final tweaks by me.
2008-01-06 18:50:29 +00:00
martin
890508dbe9 argh, I did not intend to remove all declarations of physmem. 2008-01-06 18:35:24 +00:00
martin
ae4518d415 Remove superflouse extern decls. 2008-01-06 18:24:06 +00:00
martin
fb8f17133f Move the mutex_init of pmap_lock even later into pmap_init().
This makes LOCKDEBUG kernels work again.
2008-01-06 18:07:16 +00:00
ad
0805a9416a Add MODULAR option. Include kernel linker stuff if MODULAR. 2008-01-06 18:03:58 +00:00
martin
9a2bbccfc7 Load the next cpu_info pointer with LDPTR instead of ld. 2008-01-06 17:22:15 +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
he
eb14906cb2 Include <sys/device.h> explicitly to pull in needed definitions. 2008-01-06 10:33:24 +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
martin
798130646c Add missing include 2008-01-05 22:50:12 +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