reinoud
6c96f88e1f
Update kmempages; how does this relate to kvmspace though?
2011-12-13 20:58:47 +00:00
reinoud
05145e1202
Remove old debugging cruft
2011-12-13 17:54:01 +00:00
reinoud
6d759c658e
Bump KVM size and add inet6 to surpress warnings from say postfix
2011-12-13 17:48:31 +00:00
reinoud
a99a767442
Remove dead code. The error variable was no longer used.
2011-12-13 15:53:47 +00:00
reinoud
753832375b
No need for the bounce-buffer anymore since pmap bahaves like it ought to
2011-12-13 15:50:17 +00:00
reinoud
a1f0e1d16f
Don't allow unmapping of WIRED pages!
...
Also on unwire, call pmap_update_page() though this propably is not needed.
2011-12-13 15:43:55 +00:00
macallan
2f86850787
define and use PWMCLOCK_DEBUG
2011-12-13 14:46:07 +00:00
macallan
b58e2e7c6b
only try to attach child drivers if they're actually present
2011-12-13 14:41:55 +00:00
macallan
e9495f5c0f
an alternative clock implementation for Loongson2F and SM502, mostly
...
Gdium-specific.
This supports Loongson2F frequency scaling. The problem is that Gdium has
no CPU clock independent high resolution timer we can use as a timecounter
so we use one of the SM502's PWMs to generate a 100Hz timer interrupt, use
the cp0 counter to measure time and adjust for frequency changes.
Other Loongson-based machines will need something similar but hopefully
less hackish.
2011-12-13 14:39:37 +00:00
macallan
e89302ed7b
add a hook to mips3_initclocks() to allow for time counters other than the
...
cp0 cycle counter
2011-12-13 14:23:43 +00:00
jmcneill
18b44f7f0f
- gc old aio implementation
...
- set busy before scheduling softint not after
- try not to write past end of backing file
- if B_PHYS flag is set, pread/write with bounce buffer and copyout/copyin
- use the correct offset in ld_thunkbus_dump
2011-12-13 13:32:15 +00:00
skrll
30d371dd7e
Fix DIR21L relocations where we missed a bit of 'b'
...
Add support for DPREL relocations.
Modulo debug information in modules /usr/tests/modules now passes all
tests on NetBSD/hp700 (with a MODULAR kernel)
2011-12-13 12:55:50 +00:00
reinoud
2347df410b
Implement a new TLB system. This fixes the TLB issues that has been plaguing
...
the pmap.
2011-12-13 12:29:19 +00:00
reinoud
844801d83d
Disable spl_intr() spamming when debug printing is enabled.
2011-12-13 12:27:06 +00:00
mrg
7e779232d5
- convert the audio softintr's to SOFTINT_SERIAL. right now they're on
...
the same priority level as USB and if an audio softintr is blocked
waiting for a usb event, they'll dead lock. also, audio being higher
priority is a fine idea.
- revert the previous audio.c changes as they were unsafe and this change
obviates the need for them.
XXX: convert the audio softint's to use a high priority thread or a
XXX: workqueue would be better again.
2011-12-13 12:26:32 +00:00
reinoud
4d2e3674d4
Just in case ease up the stack space a bit more
2011-12-13 12:25:42 +00:00
reinoud
41f2a95a7a
Diable DEBUG_EXEC to remove the spam :)
2011-12-13 12:24:15 +00:00
reinoud
1b181b4582
Fix typo TBL->TLB
2011-12-13 11:11:03 +00:00
kiyohara
ea91035967
Remove white-spaces.
2011-12-13 11:03:51 +00:00
kiyohara
a3b99a26f7
Fix the mistake in level and type.
2011-12-13 10:55:45 +00:00
riastradh
8145f528cb
Match adm1030 too in dbcool_ki2c_match.
...
PR port-macppc/41916: dbcool at ki2c should support adm1030
ok macallan
2011-12-13 08:16:40 +00:00
mlelstv
daef11a3e7
Use cprng stub functions also for _RUMP_NATIVE_ABI which is used
...
for archs that use native kernel modules with rump.
2011-12-13 08:00:36 +00:00
dholland
03f684ff54
We don't have 'Secure' RPC, and we aren't going to get it, so set
...
HasSecureRPC to NO rather than YES.
2011-12-13 04:32:32 +00:00
joerg
1b3763c684
Remove bogus check that (a) depends uninitialised memory (b) overflows a
...
buffer.
2011-12-12 23:54:18 +00:00
joerg
3d408b5932
Don't try to figure out how the stack grows at run time. It's not
...
portable and fails badly if the test function is removed...
2011-12-12 20:55:44 +00:00
reinoud
b868d1c2d4
Elaborate return value printing to include JUSTRETURN etc. instead of
...
reporting it as an error!
2011-12-12 19:59:21 +00:00
reinoud
7a65048668
Fix error flag (carry) setting if its a pseudo error of EJUSTRETURN etc. Just
...
in case.
2011-12-12 19:57:12 +00:00
njoly
973e485533
Start making fs read(2) fail with EISDIR if the implementation does
...
not allow read on directories (kernfs, rumpfs, ptyfs and sysvbfs).
Adjust man page accordingly, and add a small corresponding vfs
testcase.
2011-12-12 19:11:21 +00:00
mrg
9a4a666ff3
implement bdev_size(9) wrapper around d_psize() routine, so we can take
...
the device lock in relevant places. avoid doing so while actually dumping.
tested i386 crash dumps still work, and that all touched files compile.
fixes PR#45705.
2011-12-12 19:03:07 +00:00
joerg
3a9ee24e6b
Explicitly request TLS support for mknative.
2011-12-12 18:59:06 +00:00
jdc
0ed4e661dd
Fix:
...
panic: kernel diagnostic assertion "usec >= 0 && usec < 1000000" failed: file "/usr/src/sys/kern/subr_time.c", line 92
by using timeradd(), rather than our own code, in the timeout calculating
loop. Idea from joerg@.
2011-12-12 18:28:34 +00:00
jmcneill
94f0945b5c
install a SIGINT handler and use it to emulate ^C
2011-12-12 17:07:42 +00:00
joerg
a5a75c0cc8
Mark rumphijack_dlsym explicitly as weak to prevent optimisations based
...
on pointer (non-)identity of it and rumpclient__dlsym.
2011-12-12 16:53:53 +00:00
jmcneill
8a8d63a5cf
make sure to set O_ASYNC on stdin to enable ttycons "interrupts"
2011-12-12 16:39:16 +00:00
jmcneill
fa5f2f9461
use spl_intr from signal handler instead of calling softint_schedule directly
2011-12-12 16:06:15 +00:00
joerg
c7d626a65f
Don't use K&R syntax
2011-12-12 15:21:32 +00:00
reinoud
6b8b242a3b
Enhance system call prints by printing out the execve() arguments
2011-12-12 15:05:36 +00:00
reinoud
5ba71cfa8b
Fix typo
2011-12-12 15:04:51 +00:00
reinoud
918c20b3ee
Return ZERO to the child on fork!
2011-12-12 13:14:23 +00:00
reinoud
7c67c37130
Print lwp values on syscall entry
2011-12-12 12:36:48 +00:00
reinoud
c17cd0d3e3
No need for such big stack spaces on lwp_fork() with the new setup.
2011-12-12 12:20:30 +00:00
kiyohara
6b95348001
Remove white-spaces.
...
Indents.
2011-12-12 11:38:26 +00:00
kiyohara
b92cd83da0
Call bus_space_mallocok earlier. Moreover, don't bus_space_unmap call.
2011-12-12 11:31:46 +00:00
kiyohara
d55fa69c47
Fix arguments for initppc().
2011-12-12 11:28:04 +00:00
kiyohara
21ddec5fd3
Fix hangs-up. Remove "wrteei 1" in board's cpu_configure(). Interrupt
...
is enabled in powerpc-layer.
2011-12-12 11:23:57 +00:00
skrll
50e2e69cd2
Give the child more time to timeout, etc.
2011-12-12 10:56:46 +00:00
skrll
686829eb3c
Revert last change to elf32-hppa.c and pull across the fix to my binutils
...
PR 13476.
tests/lib/libc/tls on hppa still passes with this change.
2011-12-12 07:40:56 +00:00
jakllsch
4cea2e2cdc
Using BUS_DMA_NOCACHE for bus_dmamem_map() causes issues on (at least) sparc64.
2011-12-12 02:44:14 +00:00
christos
32ecf67b0b
remove duplicated code.
2011-12-12 01:25:29 +00:00
roy
32e4280f5f
Use RT_ADVANCE when available.
...
Fixes PR/44838
2011-12-12 01:11:33 +00:00