CVS commit: src/sys/arch/usermode/dev

2011-08-13 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Aug 13 10:58:32 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ld_thunkbus.c

Log Message:
call lddone from a softint instead of the signal handler, now reading from
disk works:

ld0 at mainbus0: /home/jmcneill/test.fs (33554432)
ld0: 32768 KB, 65 cyl, 16 head, 63 sec, 512 bytes/sect x 65536 sectors
boot device: ld0
root on ld0a dumps on ld0b
root file system type: ffs
WARNING: no TOD clock present
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/usermode/dev/ld_thunkbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-08-13 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Aug 13 12:18:54 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
no need to print copyright/version/memory info, just call banner()


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-08-13 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Aug 13 14:06:54 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
lwp0pcb should be struct pcb not ucontext_t, and initialize it in cpu_startup
instead of cpu_attach


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-08-23 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Aug 23 15:56:12 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ld_thunkbus.c

Log Message:
don't use kmem from softint context


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/usermode/dev/ld_thunkbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-08-23 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Aug 23 21:56:02 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: clock.c

Log Message:
call hardclock from a softint instead of signal handler


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/usermode/dev/clock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-08-24 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Aug 24 19:55:35 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
make room for a small msgbuf


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-08-25 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu Aug 25 19:08:35 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ld_thunkbus.c

Log Message:
When this debug printf is enabled, please also tell WHAT address one is using
for read/write.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/usermode/dev/ld_thunkbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-08-27 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Aug 27 20:49:36 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
CPU_DEBUG: remove printf in cpu_signotify, and print pid/lid in cpu_switchto


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-08-27 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Aug 27 21:15:07 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Print when the cpu_trampoline is called()


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-08-28 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Aug 28 19:41:35 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Jump to `userland' or the other function specified in the pcb's ucontext


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-08-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug 28 21:21:05 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ttycons.c

Log Message:
turn off input echo and buffering


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/usermode/dev/ttycons.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-08-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Aug 28 21:31:41 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
cpu_reboot: only call thunk_abort if RB_DUMP is set


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-09-03 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Sep  3 12:25:31 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Oops forgot to commit this one


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-09-03 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Sep  3 19:07:32 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ld_thunkbus.c

Log Message:
add a workaround for kern/45327


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/usermode/dev/ld_thunkbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-09-03 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Sep  3 20:02:34 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ld_thunkbus.c

Log Message:
Now that pr45327 is fixed, remove BROKEN_SIGINFO code.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/usermode/dev/ld_thunkbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-09-04 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Sep  4 20:14:37 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ld_thunkbus.c

Log Message:
Space around | (style)


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/usermode/dev/ld_thunkbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-09-05 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Sep  5 11:25:29 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ld_thunkbus.c

Log Message:
Disable SIGALRM from interfering with this signal handler


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/usermode/dev/ld_thunkbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-09-05 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Sep  5 12:22:19 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Disable kernel preemption in the critical section of cpu_switchto()


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-09-05 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Sep  5 12:40:38 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Move kpreempt_enable/disable to splsched()


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-09-05 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Sep  5 18:17:08 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: clock.c ld_thunkbus.c

Log Message:
use sigaltstack


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/usermode/dev/clock.c
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/usermode/dev/ld_thunkbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-09-05 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Sep  5 18:52:14 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: clock.c

Log Message:
Check SIGALRM handler setup success or failure


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/usermode/dev/clock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-09-05 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Sep  5 19:28:32 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Restore errno just before switching to the new context and NOT after it got
back again


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-09-08 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Sep  8 11:11:18 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: clock.c

Log Message:
use HZ to calculate interval for setitimer


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/usermode/dev/clock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-09-08 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu Sep  8 12:08:13 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
White space


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-09-08 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Sep  8 12:10:13 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: clock.c cpu.c

Log Message:
get rid of clock softintr and move setitimer call to cpu_initclocks


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/usermode/dev/clock.c
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-09-08 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu Sep  8 12:37:28 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Cleanup syscall context creation


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-09-08 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu Sep  8 14:47:17 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Link syscall to userland so on exit is automatically goes to userland.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-09-09 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Sep  9 16:24:45 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Clean up cpu_trampoline and link the context so we dont have to manually do
that.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-09-09 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Sep  9 20:14:33 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Make the trampoline only jump once!
All next calls are directed directly to the func specified.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-09-10 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Sep 10 10:37:06 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Make cpu_lwp_trampo only jump once and make successive jumps go to the func
only


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-09-12 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Sep 12 12:25:45 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: clock.c ld_thunkbus.c

Log Message:
Move the clock device and the ld device to the new spl interrupt PIC


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/usermode/dev/clock.c
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/usermode/dev/ld_thunkbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-09-13 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Sep 13 10:40:26 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ld_thunkbus.c

Log Message:
Remove excess signal stack declarations and remove the clock and ld signals
from the signal stack since they are only issued shortly.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/usermode/dev/ld_thunkbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-09-13 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Sep 13 10:42:34 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: clock.c

Log Message:
Forgot the clock


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/usermode/dev/clock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-09-14 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Sep 14 18:30:13 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Make stacksize of newly spawn lwp's bigger than one page. Actually use the
variable stack_size now


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-09-15 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu Sep 15 19:32:28 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ld_thunkbus.c

Log Message:
Check reentry to prevent double use of the aiocb structure


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/usermode/dev/ld_thunkbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-09-16 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Sep 16 16:24:01 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: clock.c

Log Message:
Like the others, let the clock signal restart calls


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/usermode/dev/clock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-09-16 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Sep 16 16:30:51 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ld_thunkbus.c

Log Message:
Remove the blockage of SIGALRM here too


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/usermode/dev/ld_thunkbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-09-17 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Sep 17 21:38:15 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: clock.c

Log Message:
Transform the clock signal to a sigaction so we have the info i.e. the
context! and thus a good definition for a clockframe!


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/usermode/dev/clock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-11-27 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Nov 27 20:08:23 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ld_thunkbus.c

Log Message:
Implement the choice between using AIO or not.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/usermode/dev/ld_thunkbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-11-27 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Nov 27 20:57:28 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ld_thunkbus.c

Log Message:
Fix in-code declaration of the sigaction structure.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/usermode/dev/ld_thunkbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-11-27 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Nov 27 21:22:28 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ld_thunkbus.c

Log Message:
Use AIO by default


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/usermode/dev/ld_thunkbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-09 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Dec  9 09:27:14 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ttycons.c

Log Message:
Remove empty lines in ttycons_consinit


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/usermode/dev/ttycons.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-09 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Dec  9 17:21:45 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ld_thunkbus.c

Log Message:
Disable aio usage in thunkbus_ld since mixing ucontext_t and threads is a NONO
according to the manpage.

Why is AIO using a pthread?


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/usermode/dev/ld_thunkbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-09 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Dec  9 17:23:33 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: clock.c

Log Message:
Restructure dev/clock to run from the signal stack since its safe to do now.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/usermode/dev/clock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-11 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Dec 11 20:43:03 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ttycons.c

Log Message:
make sure to set cn_dev and cn_pri in our consdev struct


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/usermode/dev/ttycons.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-11 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Dec 11 20:45:14 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Free the systemcall and pagefault stacks on lwp destroy.

XXX what about the main ucps stackspace that is used for the trampoline?


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-12 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Dec 12 12:20:30 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
No need for such big stack spaces on lwp_fork() with the new setup.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-12 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Dec 12 16:06:15 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ttycons.c

Log Message:
use spl_intr from signal handler instead of calling softint_schedule directly


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/usermode/dev/ttycons.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-12 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Dec 12 17:07:43 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ttycons.c

Log Message:
install a SIGINT handler and use it to emulate ^C


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/usermode/dev/ttycons.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-13 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Dec 13 12:25:42 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Just in case ease up the stack space a bit more


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-13 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Dec 13 13:32:16 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ld_thunkbus.c

Log Message:
- 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


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/usermode/dev/ld_thunkbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-13 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Dec 13 15:50:17 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ld_thunkbus.c

Log Message:
No need for the bounce-buffer anymore since pmap bahaves like it ought to


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/usermode/dev/ld_thunkbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-13 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Dec 13 15:53:47 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ld_thunkbus.c

Log Message:
Remove dead code. The error variable was no longer used.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/usermode/dev/ld_thunkbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-14 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Dec 14 21:22:24 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ld_thunkbus.c

Log Message:
set ld maxxfer to MAXPHYS


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/usermode/dev/ld_thunkbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-14 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Dec 15 02:09:15 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
allocate msgbuf with kmem_zalloc instead of thunk_malloc, now dmesg works


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-20 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Dec 20 21:35:16 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ttycons.c

Log Message:
check return value of write, make sure we send the whole buffer to stdout


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/usermode/dev/ttycons.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-21 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Dec 21 10:02:45 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ttycons.c

Log Message:
Increase printing buffer of ttycons from 80 to 1024 significantly increasing
console output on large dumps.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/usermode/dev/ttycons.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-21 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Dec 21 11:53:07 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ttycons.c

Log Message:
move the (now 1024 byte) printing buffer off the stack


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/usermode/dev/ttycons.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-24 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Dec 24 12:23:25 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Implement cpu_getmcontext() and cpu_setmcontext()


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-26 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Dec 26 14:51:20 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: if_veth.c

Log Message:
veth_start: copy data from mbuf into a buffer and pass that to thunk_write(),
now this driver works as expected


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/usermode/dev/if_veth.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-26 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Dec 26 21:09:22 UTC 2011

Added Files:
src/sys/arch/usermode/dev: vaudio.c

Log Message:
add vaudio(4) audio device driver


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/usermode/dev/vaudio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-26 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Dec 26 23:50:43 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: vaudio.c

Log Message:
mark vaudio callout and softint handler as mpsafe


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/usermode/dev/vaudio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-27 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Dec 27 20:59:45 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: ttycons.c

Log Message:
support ^Z


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/usermode/dev/ttycons.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-30 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Dec 30 08:49:53 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: vncfb.c

Log Message:
send framebuffer updates for cursor changes too


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/usermode/dev/vncfb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-30 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Dec 30 09:31:44 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: vncfb.c

Log Message:
take nrows into account when calculating the update rectangle in vncfb_copyrows


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/usermode/dev/vncfb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-30 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Dec 30 12:14:44 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: vnckbdmap.c

Log Message:
map Fn keys, make vt switching work


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/usermode/dev/vnckbdmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-30 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Dec 30 14:22:41 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: vncfb.c

Log Message:
no need to poll for pending drawing ops if no client is connected


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/usermode/dev/vncfb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2011-12-30 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri Dec 30 19:32:32 UTC 2011

Modified Files:
src/sys/arch/usermode/dev: vncfb.c

Log Message:
add mmap support


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/usermode/dev/vncfb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2012-01-01 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Mon Jan  2 00:20:30 UTC 2012

Modified Files:
src/sys/arch/usermode/dev: vncfb.c

Log Message:
fix range check for mmap


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/usermode/dev/vncfb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2012-01-03 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Jan  3 12:10:04 UTC 2012

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Use M_WAITOK instead of M_NOWAIT for the stack allocations


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2012-01-04 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Jan  4 14:53:58 UTC 2012

Modified Files:
src/sys/arch/usermode/dev: vncfb.c

Log Message:
implement cngetc and cnpollc


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/usermode/dev/vncfb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2012-01-04 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Jan  4 15:14:57 UTC 2012

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Zero the memory we claim for the stacks


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2012-01-04 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Jan  4 15:18:58 UTC 2012

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
No reason why to have a larger pagefault stackframe for lwp0


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2012-01-06 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Jan  6 20:40:51 UTC 2012

Modified Files:
src/sys/arch/usermode/dev: ld_thunkbus.c

Log Message:
Enhance debugging printfs to also report the functionname


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/usermode/dev/ld_thunkbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2012-01-09 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Jan  9 14:56:35 UTC 2012

Modified Files:
src/sys/arch/usermode/dev: ld_thunkbus.c

Log Message:
sizeof_t is allways >=0 and the check for >=0 thus allways is true and amd64
complains about this. This might explain the odd write errors that could
sometimes be reported. Those are/were probably a side effect of this.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/usermode/dev/ld_thunkbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2012-01-09 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Jan  9 20:39:39 UTC 2012

Modified Files:
src/sys/arch/usermode/dev: if_veth.c

Log Message:
Don't directly call softint_shedule() when we might be in an SPL level too
high.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/usermode/dev/if_veth.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2012-01-09 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Jan  9 21:01:31 UTC 2012

Modified Files:
src/sys/arch/usermode/dev: ld_thunkbus.c

Log Message:
Re-implement aio for ld_thunkbus. It seems to work fine though its not set by
default; define LD_USE_AIO or uncomment its setting at the top of the
sourcefile to enable it.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/usermode/dev/ld_thunkbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2012-01-12 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu Jan 12 13:28:54 UTC 2012

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Remove old comment about space not being freed; it is now done correctly so
remove it to avoid confusion later.


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2012-01-14 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Jan 14 21:24:52 UTC 2012

Modified Files:
src/sys/arch/usermode/dev: clock.c

Log Message:
Cleanup clock.c removing unneeded function


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/usermode/dev/clock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2012-01-14 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Jan 14 21:42:52 UTC 2012

Modified Files:
src/sys/arch/usermode/dev: clock.c

Log Message:
Revert back to IPL_SOFTCLOCK so its lower than IPL_SHED


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/usermode/dev/clock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2012-01-15 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Jan 15 10:45:03 UTC 2012

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
sync disks and unmount at shutdown, and run shutdownhooks + pmf shutdown
handlers


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2012-01-15 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Jan 15 10:51:13 UTC 2012

Modified Files:
src/sys/arch/usermode/dev: if_veth.c vaudio.c

Log Message:
close file descriptors at shutdown


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/usermode/dev/if_veth.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/usermode/dev/vaudio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2012-01-18 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Jan 18 19:17:02 UTC 2012

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Create an atomic switchto() that has SIGALRM and SIGIO signals blocked that
might otherwise disrupt the setting of curlwp to match the lwp context.


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2012-06-25 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Jun 25 14:43:54 UTC 2012

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Implement dummy `cpu_mcontext_validate' to make it compile again. This
function needs to be implemented in the target secton one day for extra
security.


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2018-01-13 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Jan 13 10:08:35 UTC 2018

Modified Files:
src/sys/arch/usermode/dev: ld_thunkbus.c

Log Message:
Add the missing strategy argument of ldattach()


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/usermode/dev/ld_thunkbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2018-01-13 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Jan 13 10:27:58 UTC 2018

Modified Files:
src/sys/arch/usermode/dev: ld_thunkbus.c

Log Message:
Keep up with changes in ld(4): adding ioctl handling on the ld(4) instead of
using the old dedicated ldflush() function.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/usermode/dev/ld_thunkbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2018-05-17 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu May 17 19:00:39 UTC 2018

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Refactor for easier debugging and while here add some more signals


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2018-05-24 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu May 24 19:39:04 UTC 2018

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
First try at TLS support and getcontext/setcontext/swapcontext support.


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2018-05-29 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue May 29 07:09:22 UTC 2018

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Only set requested parts of the mcontext in cpu_setmcontext()
Make the atomic switcher `atomic' by using splhigh()


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2018-05-29 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue May 29 09:25:01 UTC 2018

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Only report the things we've passed in the mcontext and leave out flags that
are not reported in the mcontext anyway!


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2018-06-01 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Jun  1 07:26:15 UTC 2018

Modified Files:
src/sys/arch/usermode/dev: cpu.c

Log Message:
Pass the address of the array, this fixes issues with i386 compilation


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/sys/arch/usermode/dev/cpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2018-06-04 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Jun  4 20:06:52 UTC 2018

Modified Files:
src/sys/arch/usermode/dev: ld_thunkbus.c

Log Message:
Its a hack, but make sure the pages are paged in


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/usermode/dev/ld_thunkbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2014-03-26 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Mar 26 08:29:41 UTC 2014

Modified Files:
src/sys/arch/usermode/dev: vaudio.c

Log Message:
fix sprintf


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/usermode/dev/vaudio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2020-02-04 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Wed Feb  5 07:18:16 UTC 2020

Modified Files:
src/sys/arch/usermode/dev: if_veth.c

Log Message:
Adopt 


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/usermode/dev/if_veth.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/usermode/dev

2018-06-13 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Jun 13 19:59:14 UTC 2018

Modified Files:
src/sys/arch/usermode/dev: vatapi.c

Log Message:
Split out error reporting and make it compile without SCSIVERBOSE


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/usermode/dev/vatapi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.