tsutsui
e5f9539882
Use (char *) where pointer arith is required.
2007-03-04 11:18:25 +00:00
tsutsui
a58c189444
- don't forget to add * to all params
...
- use (char *) where pointer arith is required
2007-03-04 11:15:04 +00:00
tsutsui
f6f3edac05
Move declarations of CADDR1 and CADDR2 from m68k/pmap_motorola.c
...
to <m68k/pmap_motorola.h>.
2007-03-04 11:09:39 +00:00
tsutsui
820ffe52e1
- void *CADDR1, CADDR2; -> void *CADDR1, *CADDR2;
...
- vmmap is declared as (char *) in <m68k/pmap_motorola.h>
2007-03-04 11:05:53 +00:00
tsutsui
e5d3d8c8fd
- remove unnecessary cast
...
- use (char *) on pointer arith
2007-03-04 11:00:01 +00:00
tsutsui
8c7e65a3e1
Replace (void *) with (char *) where pointer arith is required.
2007-03-04 10:56:21 +00:00
tsutsui
6f8d4c537b
Pass (char *) to mtod(9) on address calculation.
2007-03-04 10:53:32 +00:00
tsutsui
9fc72fad14
Add (char *) casts on pointer arithmetic.
2007-03-04 10:50:30 +00:00
tsutsui
b9fead901a
Remove a declaration for extiobase, which is in <machine/cpu.h>.
2007-03-04 10:46:23 +00:00
tsutsui
1032472464
Call uvm_pageidlezero() only if uvm.page_idle_zero is true.
2007-03-04 10:41:59 +00:00
tsutsui
4f709d5416
Make GENERIC really generic, remove GENERIC.in, and
...
use <no> keyword in model specific HDL-U and USL-5P files.
2007-03-04 10:39:43 +00:00
tsutsui
82d1d0d63e
Add pci(4) node for pcictl(8).
2007-03-04 10:35:19 +00:00
macallan
e7e67900ab
make this compile again
2007-03-04 10:26:25 +00:00
christos
5ebcdbe8b5
fix caddr_t fallout.
2007-03-04 10:21:25 +00:00
macallan
b47de51335
make this compile again
2007-03-04 10:18:03 +00:00
macallan
287d873bc3
make this compile again
2007-03-04 10:06:49 +00:00
tsutsui
2f5e95ec66
Merge #ifdef _KERNEL stuff into one place.
2007-03-04 10:02:42 +00:00
macallan
ba442162aa
make this compile again
2007-03-04 10:02:23 +00:00
tsutsui
e06ffd4f4e
Remove #ifdef _KERNEL since this file is no longer exported.
2007-03-04 09:59:10 +00:00
tsutsui
f6b24c6d1c
Stop installing <machine/intr.h> on hp300. Suggested by simonb.
2007-03-04 09:57:43 +00:00
he
6d6dd32947
Fix fallout from bool conversion.
2007-03-04 09:54:58 +00:00
macallan
6bc13d5024
make this compile again
2007-03-04 09:35:03 +00:00
macallan
9fcd02c858
make compile again
2007-03-04 09:32:39 +00:00
macallan
7aa79fdec8
fix more caddr_t removal fallout
2007-03-04 09:23:29 +00:00
macallan
66fec6b6ba
make this compile again
2007-03-04 09:22:04 +00:00
tsutsui
d7197c767a
Remove items about now obsolete spllowersoftclock() and CLKF_BASEPRI().
2007-03-04 09:09:10 +00:00
macallan
ee7346a209
shutup a compiler warning about pointer arithmetics on void *
2007-03-04 09:03:34 +00:00
tsutsui
7105072ba9
Stop installing <machine/intr.h> on news68k. Suggested by simonb.
2007-03-04 08:51:19 +00:00
christos
fffc9c66c9
fix fallout from caddr_t changes.
2007-03-04 07:54:07 +00:00
ragge
3ad77da985
cpu_simple_lock() calls are emitted in the UP case if DEBUG || DIAGNOSTIC.
...
This should probably be fixed somewhere else, but currently just include
it here. Fixes PR#35866 from Henry R. Bent.
2007-03-04 07:28:12 +00:00
matt
fa610d2cd3
Don't export to userland functions that will only be used in the kernel.
2007-03-04 06:51:53 +00:00
christos
2058fdeab3
add a lockpanic function that prints more detailed error messages.
2007-03-04 06:20:25 +00:00
christos
53524e44ef
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
2007-03-04 05:59:00 +00:00
tsutsui
1b20cebad5
Hide #include <m68k/softintr.h> inside #ifdef _KERNEL in <machine/intr.h>
...
to avoid exporting unnecessary files to userland.
Should fix build.sh failure, which was pointed out by isaki@.
XXX: which userland program would require contents of <machine/intr.h>?
2007-03-04 05:28:38 +00:00
uwe
526ec18492
G/c NOP_ON_4_4C_1 that used to be part of microtime.
...
Keep for reference but ifdef out the code to munge 4/4c nops
as there are none left.
2007-03-04 04:00:00 +00:00
isaki
321252311a
Delete old prototypes.
2007-03-04 03:25:33 +00:00
uwe
2c8356ade4
Don't mix code and declarations/defintions.
...
Use designated initialization for strict timecounter.
Misc cosmetics. Clean up whitespace.
2007-03-04 03:04:41 +00:00
tsutsui
52db0b4730
Add ld(4) and some RAID devices (to debug EISA stuff with mlx(4)).
2007-03-04 03:03:46 +00:00
uwe
45a792f485
Define MSIIEP_COUNTER_LIMIT
2007-03-04 03:01:07 +00:00
tsutsui
8c864d4bd5
Fix EEPP_INTMAP values, as per my ISA EtherExpress PRO/10.
...
(though it still has some other problem)
2007-03-04 02:59:07 +00:00
tsutsui
4007519959
Make this timecounter(9) ready. From kardel@.
2007-03-04 02:49:12 +00:00
tsutsui
4f4391e397
Move mkldscript.sh, which is used to create ldscript dynamically to
...
merge link_set_* sections into the text section for a.out kernels,
from sys/arch/arm/conf/ to sys/conf/ since there is no ARM specific
stuff in it and other ports would share it.
2007-03-04 02:35:49 +00:00
tsutsui
78ad5c2b07
Add MI softintr(9) support for luna68k with common m68k/softintr.c.
...
Compile test only.
2007-03-04 02:23:16 +00:00
tsutsui
75e46e71a6
Global ssir (similated software intnerrupt request?) is now declared
...
in softintr.c so remove it from locore.s.
2007-03-04 02:17:15 +00:00
tsutsui
72c70a3609
Add MI softintr(9) support for x68k with common m68k/softintr.c.
...
Tested by isaki@ and Yasushi Oshima.
XXX: x68k/dev/com.c should be rewritten to use MI com(4).
2007-03-04 02:08:08 +00:00
tsutsui
a3be972973
Make hp300 use common m68k/softintr.c.
2007-03-04 01:57:21 +00:00
tsutsui
b23f121559
Add common soft interrupt routines for m68k ports which use
...
hp300 derived simulated software interrupt with VAX REI emulation.
Just taken from hp300/hp300/softintr.c and sys/arch/hp300/include/intr.h.
2007-03-04 01:54:04 +00:00
uwe
82797f3bca
bandaid for a problem exposed by newlock2
...
the kernel enables interrupts and then sets up clocks. If we catch a timer
interrupt in between and call hardclock() we'll explode so for now just
bail when we get one while cold
2007-03-04 01:53:44 +00:00
jmcneill
963e8dd8ad
Regen.
2007-03-03 23:50:40 +00:00
jmcneill
edfe9e885a
Add pcHDTV HD-5500 HDTV video capture
2007-03-03 23:49:49 +00:00
macallan
175e90b6f0
shave a nop
2007-03-03 23:42:20 +00:00
tsutsui
5c8caf9e94
Add an entry to match hwrev RTK_HWREV_8100E_SPIN2 too.
...
XXX: should we use PCI_REVISION() rather than hwrev
for 8139C+ as OpenBSD does?
2007-03-03 17:23:12 +00:00
skrll
dfe7bffe46
G/C this file. *sigh*
2007-03-03 14:41:32 +00:00
skrll
bb026cb226
Remove hppa_{round,trunc}_page.
2007-03-03 14:37:54 +00:00
yamt
db7b717dea
revert an unreasonable whitespace change in rev.1.8.
2007-03-03 10:55:34 +00:00
skrll
830baead4e
Actually remove spinlock.h
2007-03-03 10:52:45 +00:00
itohy
d2585a8c91
Remove extra space so that symbol renaming works properly.
2007-03-03 10:08:18 +00:00
macallan
3e166b9534
found the last piece of crack, so
...
- now my sparcbook goes multiuser without LOCKDEBUG
- shaved a couple instructions
2007-03-03 09:21:19 +00:00
tsutsui
6d4ee08459
- move netintr() from isr.c to softintr.c and make it static
...
- remove redundant initialization in ipl2psl_table.
2007-03-03 07:36:11 +00:00
isaki
c57dd8f6e4
-Wconversion is too strict.
2007-03-03 07:10:30 +00:00
tsutsui
6c3a4a6a17
Remove unused autovectored ISR priorities.
2007-03-03 02:49:56 +00:00
jnemeth
7cab5bde24
add support devctl properties
2007-03-03 02:44:44 +00:00
tsutsui
d4fbe368ec
Apply fix for boolean_t -> bool changes on uvm.page_idle_zero access.
...
Thanks Tobias Nygren for help, ok'ed by thorpej, and tested on
1000A by Aaron J. Grier and on PC164 and 3000/300 by me.
2007-03-03 02:20:44 +00:00
salo
20af5e4fd5
Don't prepend rootvnode to the path in non-NULL case for exe links.
...
It breaks procfs in chroot.
from <christos>, tested by me.
2007-03-03 01:18:32 +00:00
macallan
1d3e6cfad2
unsmoke some more crack ;)
...
mutex_enter() and mutex_exit() should now work properly
2007-03-03 00:00:30 +00:00
jnemeth
d62719e541
Deallocate resources where possible when we fail to attach.
...
XXX Somebody needs to write bus_intr_disestablish().
2007-03-02 22:26:14 +00:00
ad
61a2eec6c3
_lwp_wakeup: set the cancellation pending if the LWP is not sleeping.
2007-03-02 21:06:27 +00:00
yamt
948e7684e3
make this compilable.
...
(p_flag -> p_sflag, P_WEXIT -> PS_WEXIT)
2007-03-02 17:42:00 +00:00
ad
398cd7c7b3
Define pcb_esp0.
2007-03-02 17:29:13 +00:00
ad
a97bdd1a7a
Shuffle the descriptor slots slightly to make the layout match what
...
sysenter/sysexit require. As far as I can tell this will not introduce
any incompatibility.
2007-03-02 17:27:26 +00:00
ad
e0323fbcf2
pmap_reference, pmap_destroy: update the pmap reference count using
...
_lock_cas. This is ugly and needs to be redone when atomic ops are
available, but for now it knocks about 5% contention off the kernel
lock in one test that I have done.
2007-03-02 17:10:58 +00:00
ad
4cbc498383
sys__lwp_park: explicitly drop the kernel lock, for the benefit of compat32.
...
XXX The stack gap stuff is not MP or MT safe and needs to go away.
2007-03-02 16:14:37 +00:00
ad
8a9f592723
sys__lwp_park: on a !MULTIPROCESSOR kernel the LWP is already locked.
2007-03-02 16:09:53 +00:00
skd
48b7dcdc13
Fix probable typo.
...
LW_UNPARKED conflicted with LW_PENDSIG.
Without this I see lots of threaded apps getting stuck in parked state.
Ok'ed by Christos.
2007-03-02 15:57:06 +00:00
itohy
cdbe0f0296
kern_mutex.c:190: macro `MUTEX_RECEIVE' used without args
...
kern_mutex.c:199: macro `MUTEX_RECEIVE' used without args
kern_mutex.c:206: macro `MUTEX_GIVE' used without args
2007-03-02 13:14:12 +00:00
yamt
6d6b100a95
kmem_backend_alloc: fix a null dereference.
2007-03-02 12:30:53 +00:00
jnemeth
3d61218161
add support for drvctl properties
2007-03-02 09:17:00 +00:00
jnemeth
d34b8a7014
merge remaining differences from sparc driver in
2007-03-02 07:17:19 +00:00
jmcneill
7f8a6c2923
Regen.
2007-03-01 22:15:08 +00:00
jmcneill
b792a5796f
Add Conexant CX2388X Audio/Video Decoder
2007-03-01 22:14:48 +00:00
martin
2fdb6bb1bd
Make this compilable from userland
2007-03-01 21:38:17 +00:00
martin
dd8b45ebc6
Split the disklabel checksum function into two, so we can pass the
...
length separately.
Use this for foreign-endianess labels in wedge autodiscovery, and
calculate the checksum of those before we swap various fields in the
label.
2007-03-01 21:30:50 +00:00
thorpej
ebd626809e
TRUE -> true, FALSE -> false
2007-03-01 17:31:35 +00:00
kiyohara
a7406f9d2d
Reorder.
2007-03-01 14:58:54 +00:00
kiyohara
11c9c998db
Add btuart(4).
2007-03-01 14:57:38 +00:00
ad
0bffc80584
Fix a couple of races with LWP park/unpark.
2007-03-01 14:55:06 +00:00
yamt
71380e5a2f
check_pa_acc: don't bother to use KAUTH_MACHDEP_UNMANAGEDMEM
...
if the address is known.
no functional changes, unless listeners do some kind of logging.
2007-03-01 11:49:26 +00:00
pooka
f7ed04a6ff
simplify previous a bit. no functional change.
2007-03-01 10:02:31 +00:00
bjh21
ed1dd83c02
Honour ATOMIC_SET_BIT_NONINLINE_REQUIRED, now that it can be unset on
...
acorn26.
2007-02-28 23:47:09 +00:00
bjh21
81b7c41b62
PROG26 version of __with_interrupts_disabled(), and hence of the various
...
functions in this file.
2007-02-28 23:46:17 +00:00
bjh21
d6e0a9e5aa
KNF
...
(waiting for a test kernel to compile...)
2007-02-28 23:26:10 +00:00
pooka
428270cc03
avoid lock leak in error branch of sys_fchdir()
...
thanks to Tom Spindler and Greg Oster in helping find the cure
2007-02-28 20:39:06 +00:00
macallan
57fb2c65f9
enable ioctl(OFIOCSET) so eeprom can actually change PROM settings on
...
OpenFirmware machines
2007-02-28 20:33:50 +00:00
macallan
12dd6f9c02
add OF_setprop()
2007-02-28 20:30:57 +00:00
tsutsui
a111aec3cd
Apply patches which may fix RX stall problem on nfe(4):
...
- make DMA descriptors volatile to avoid possible unintended reordering
which might cause some race conditions
- process interrupts until all NFE_IRQ_WANTED bits are handled
and also put misc fixes:
- return 1 and call nfe_start() in nfe_intr() only if any own interrupts
are actually handled
- use bus_dmamap_load_mbuf(9) for RX mbufs rather than bus_dmamap_load(9)
with mtod(9) and MCLBYTES
- check sc->txq.queued to see if TX descriptors are queued or handled
in nfe_start() and nfe_txeof()
- use proper BUS_DMASYNC_{PRE,POST} ops
- prepare and use NFE_[RT]X_NEXTDESC() macro
- rename NFE_TX_TCP_CSUM to NFE_TX_TCP_UDP_CSUM since it also enables
hardware udp4csum-tx for UDP4 packets
- some minor optimization
- misc KNF
Tested and confirmed by matthew green by
"to send >25MB/sec to nfe0 for over one hour,"
and also tested by me (with light TRX load on 100baseTX though)
for a month.
2007-02-28 17:40:11 +00:00
thorpej
09c5f9cc49
TRUE -> true, FALSE -> false
2007-02-28 04:21:51 +00:00
pooka
81bb031653
Make wait for the user file server PCATCHable. This makes it
...
possible to recover the system by just killing processes in case
a file server manages to recurse into itself either by fault of
file server implementation or by pilot error. The downside is that
the code is extremely hard to follow and practically screams out
for newlock2 (in addition to screaming "bug here"). The whole
PCATCH nonsense and induced megacomplexity can hopefully be avoided
in the future by tweaking other parts of the implementation.
2007-02-27 23:43:23 +00:00
degroote
768d7886ca
Initialize fast_ipsec entry in the protocol switch with structure
...
initializers as other entries.
2007-02-27 22:19:05 +00:00
he
5f00d6d5a0
Install pxeboot_ia32.bin as part of a "make release" on i386 and amd64.
2007-02-27 18:17:28 +00:00
ad
b89010bfa3
Destroy the hash locks on final unmount.
2007-02-27 16:11:51 +00:00