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

2019-04-09 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Apr 10 03:39:34 UTC 2019

Modified Files:
src/sys/arch/usermode/usermode: copy.c

Log Message:
 Add missing semicolon.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/usermode/usermode/copy.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/usermode

2018-08-05 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Aug  5 18:57:49 UTC 2018

Modified Files:
src/sys/arch/usermode/usermode: db_memrw.c

Log Message:
Advise to explicitly set flags +agm instead of only clearing them when set


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/usermode/usermode/db_memrw.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/usermode

2018-08-05 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Aug  5 16:51:59 UTC 2018

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
To avoid possible collisions between the NetBSD/userland kernel and possible
host kernel memory allocation schemes, allocate two dedicated pages for page
copying and page zeroing.


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/sys/arch/usermode/usermode/pmap.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/usermode

2018-08-02 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Aug  3 06:52:50 UTC 2018

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Fix physical memory size issue. It will now happily run on more than one gb.


To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 src/sys/arch/usermode/usermode/pmap.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/usermode

2018-08-01 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Aug  1 10:27:28 UTC 2018

Modified Files:
src/sys/arch/usermode/usermode: db_memrw.c

Log Message:
Remove yet another debug printf()


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/usermode/usermode/db_memrw.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/usermode

2018-08-01 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Aug  1 10:24:41 UTC 2018

Modified Files:
src/sys/arch/usermode/usermode: kgdb_machdep.c

Log Message:
Fix too long line


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/usermode/usermode/kgdb_machdep.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/usermode

2018-08-01 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Aug  1 10:23:55 UTC 2018

Modified Files:
src/sys/arch/usermode/usermode: kgdb_machdep.c

Log Message:
Remove debugging printf()


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/usermode/usermode/kgdb_machdep.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/usermode

2018-08-01 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Aug  1 10:22:20 UTC 2018

Added Files:
src/sys/arch/usermode/usermode: cpufunc.S db_memrw.c kgdb_machdep.c

Log Message:
Add the kgdb meat


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/usermode/usermode/cpufunc.S \
src/sys/arch/usermode/usermode/db_memrw.c \
src/sys/arch/usermode/usermode/kgdb_machdep.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/usermode

2018-08-01 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Aug  1 09:44:32 UTC 2018

Modified Files:
src/sys/arch/usermode/usermode: machdep.c pmap.c thunk.c trap.c

Log Message:
Oops, forgot a debug printf


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/sys/arch/usermode/usermode/machdep.c
cvs rdiff -u -r1.108 -r1.109 src/sys/arch/usermode/usermode/pmap.c
cvs rdiff -u -r1.90 -r1.91 src/sys/arch/usermode/usermode/thunk.c
cvs rdiff -u -r1.69 -r1.70 src/sys/arch/usermode/usermode/trap.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/usermode

2018-08-01 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Aug  1 09:43:17 UTC 2018

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Allow the usermode pmaps to also contain the kernel itself. This is needed for
the kernel pmap.


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 src/sys/arch/usermode/usermode/pmap.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/usermode

2018-07-28 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Jul 28 17:17:38 UTC 2018

Modified Files:
src/sys/arch/usermode/usermode: trap.c

Log Message:
Fix typo


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/sys/arch/usermode/usermode/trap.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/usermode

2018-06-11 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Jun 11 19:35:56 UTC 2018

Modified Files:
src/sys/arch/usermode/usermode: machdep.c

Log Message:
Now we use timestamp info, use direct console output instead of kernel
timestamped output for usage() reporting


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/sys/arch/usermode/usermode/machdep.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/usermode

2018-06-11 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Jun 11 19:23:21 UTC 2018

Modified Files:
src/sys/arch/usermode/usermode: trap.c

Log Message:
Prevent nested SIGIOs ruining the system stack


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/arch/usermode/usermode/trap.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/usermode

2018-05-18 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri May 18 20:24:16 UTC 2018

Modified Files:
src/sys/arch/usermode/usermode: trap.c

Log Message:
Replace the dynamically allocated signal stack to a static claimed one and add
diagnostic messages that can be enabled.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/arch/usermode/usermode/trap.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/usermode

2018-05-18 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri May 18 20:10:25 UTC 2018

Modified Files:
src/sys/arch/usermode/usermode: process_machdep.c

Log Message:
Second part for creating sensible coredumps


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/usermode/usermode/process_machdep.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/usermode

2018-05-17 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri May 18 05:51:24 UTC 2018

Modified Files:
src/sys/arch/usermode/usermode: thunk.c

Log Message:
Include our doctored types.h instead of the default


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/sys/arch/usermode/usermode/thunk.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Don't dynamically allocate memory we are only going to use once; so allocate
it on the stack.

While here, also include some more sanity checks.


To generate a diff of this commit:
cvs rdiff -u -r1.106 -r1.107 src/sys/arch/usermode/usermode/pmap.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/usermode

2018-01-13 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Jan 13 15:15:03 UTC 2018

Modified Files:
src/sys/arch/usermode/usermode: process_machdep.c

Log Message:
Implement dummy process_read_dbreg() and process_write_dbreg() used in x86


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/usermode/usermode/process_machdep.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/usermode

2015-12-21 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Dec 21 20:44:54 UTC 2015

Modified Files:
src/sys/arch/usermode/usermode: thunk.c

Log Message:
fix label and variable name.


To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/sys/arch/usermode/usermode/thunk.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/usermode

2015-12-21 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Dec 21 19:54:35 UTC 2015

Modified Files:
src/sys/arch/usermode/usermode: thunk.c

Log Message:
more checking


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sys/arch/usermode/usermode/thunk.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/usermode

2013-11-10 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sun Nov 10 19:51:00 UTC 2013

Modified Files:
src/sys/arch/usermode/usermode: thunk.c

Log Message:
define _KMEMUSER before including machine/vmparam.h


To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 src/sys/arch/usermode/usermode/thunk.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/usermode

2013-06-26 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jun 26 15:11:30 UTC 2013

Modified Files:
src/sys/arch/usermode/usermode: syscall.c

Log Message:
Use sy_invoke


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/usermode/usermode/syscall.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/usermode

2013-05-22 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed May 22 13:34:32 UTC 2013

Modified Files:
src/sys/arch/usermode/usermode: thunk.c

Log Message:
Including missing include file  that broke compilation.


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/sys/arch/usermode/usermode/thunk.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/usermode

2012-08-04 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Aug  4 14:53:32 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: trap.c

Log Message:
Fix IO lockups in NetBSD/usermode.

1) Don't block IO signals since the return path is not garanteed to enable the
signal again.
2) Since signals can get dropped, do a 2nd pass over the routines.


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/arch/usermode/usermode/trap.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/usermode

2012-07-24 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Jul 24 13:59:26 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Adding an assert that checks for struct pmap_l2 not being bigger than
PAGE_SIZE.

While here, also add possible bug allerts of temporary mmaps that might screw
up memory.


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 src/sys/arch/usermode/usermode/pmap.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/usermode

2012-07-02 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Jul  2 12:17:12 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: thunk.c

Log Message:
Fix missing  include that breaks the autobuild


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sys/arch/usermode/usermode/thunk.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/usermode

2012-03-03 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Mar  3 21:29:02 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: trap.c

Log Message:
Use the signal's signo instead of just returning SIGSEGV and add a comment


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sys/arch/usermode/usermode/trap.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/usermode

2012-03-02 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Mar  2 16:56:33 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Move from pool(9) to kmem_zalloc(9) for L2 page tables. A pool with PAGE_SIZE
elements is accepted but seems to panic now and then claiming it can't find
the header info.

XXX should this be PR'd?


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/sys/arch/usermode/usermode/pmap.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/usermode

2012-02-15 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Feb 15 15:20:53 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: trap.c

Log Message:
Prevent recursive IO signals. This prevents crashes when pieces of text are
pasted in say an Xterm. Each char might create a SIGIO running out of
stackspace very quickly!


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/arch/usermode/usermode/trap.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/usermode

2012-02-13 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Feb 13 19:15:59 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: syscall.c

Log Message:
Add cpu_spawn_return() as per other archs to make it compile. No tests done
yet.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/usermode/usermode/syscall.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/usermode

2012-01-22 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Jan 22 17:51:39 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: trap.c

Log Message:
Fix compilation issue for target amd64.


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/sys/arch/usermode/usermode/trap.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/usermode

2012-01-18 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Jan 18 12:39:45 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: trap.c

Log Message:
Another step towards unification of the signal handers: separate the printing
of details usefull for debugging / porting from the main code.


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/sys/arch/usermode/usermode/trap.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/usermode

2012-01-17 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Jan 17 20:50:39 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: trap.c

Log Message:
Do init the astpending variable.


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/arch/usermode/usermode/trap.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/usermode

2012-01-17 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Jan 17 19:46:55 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: trap.c

Log Message:
Clean up userret/ast handling. Now called ONLY when its 100% clear that it is
returning to userland.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/sys/arch/usermode/usermode/trap.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: thunk.c

Log Message:
if syscallemu returns -1 and sets errno = EACCES, it means it's already
enabled for this pid. don't treat this as a failure.


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/sys/arch/usermode/usermode/thunk.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: machdep.c

Log Message:
don't modify command-line parameters


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/usermode/usermode/machdep.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/usermode

2012-01-11 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Jan 11 12:40:26 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: trap.c

Log Message:
Cleanup trap.c and add a stop_all_signal_handlers(void) i: bluntly stopping
all known usages of signal handlers, to be used in shutdown.


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/arch/usermode/usermode/trap.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/usermode

2012-01-10 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Jan 10 12:07:18 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Use thunk_madvise() on the memory space hinting the kernel we are using it in
a random order and hint the kernel that we we need the memory.i

No measured effect on a memory file on tmpfs /tmp though.


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/sys/arch/usermode/usermode/pmap.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/usermode

2012-01-10 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Jan 10 10:09:49 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Explicitly protect the kernel image against tampering by marking it R-X


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 src/sys/arch/usermode/usermode/pmap.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: intr.c

Log Message:
If the spl list is full also notify on the ttycons since it might otherwise
not allways be possible to print the panic correctdue due to the spl level.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/usermode/usermode/intr.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
As ppn is a uintptr_t, it can never be negative so the check is invalid.


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 src/sys/arch/usermode/usermode/pmap.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/usermode

2012-01-07 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Jan  7 20:12:07 UTC 2012

Removed Files:
src/sys/arch/usermode/usermode: thunk_sdl.c

Log Message:
Remove unused thunk_sdl.c file


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r0 src/sys/arch/usermode/usermode/thunk_sdl.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/usermode

2012-01-07 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Jan  7 19:45:14 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: trap.c

Log Message:
Cleanup trap debug messages


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sys/arch/usermode/usermode/trap.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/usermode

2012-01-07 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Jan  7 19:44:13 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Change prototype of logical page number in pv_lookop and pv_enter and add
diagnostic checks to check for out-of-bounds.


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 src/sys/arch/usermode/usermode/pmap.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/usermode

2012-01-07 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Jan  7 18:07:57 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: intr.c

Log Message:
increase the max # of sigio handlers


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/usermode/usermode/intr.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: trap.c

Log Message:
printf()->thunk_printf() since its for debugging and should be printed outside
the kernel's printing system.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/arch/usermode/usermode/trap.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/usermode

2012-01-04 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Jan  4 16:20:42 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Enhance the page_deactivate() to have less side effects. While here also make
a variable local to the debug routine that uses it.


To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 src/sys/arch/usermode/usermode/pmap.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
don't try to unmap pv entries with munmap() that are / were already unmapped


To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 src/sys/arch/usermode/usermode/pmap.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/usermode

2012-01-04 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Jan  4 13:31:30 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: thunk.c

Log Message:
Add extra debugging info for the vncfb code


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/arch/usermode/usermode/thunk.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
This uint shouldn't be there


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/sys/arch/usermode/usermode/pmap.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/usermode

2012-01-04 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Jan  4 11:53:09 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
mmap ppl is always < 16 so make it an uint8_t


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/sys/arch/usermode/usermode/pmap.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Set the total memory length to be ALL the space *before* the kernel.


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/sys/arch/usermode/usermode/pmap.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/usermode

2012-01-02 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Jan  2 22:02:51 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: trap.c

Log Message:
Remove tests that are dubious and should be (re)moved anyway.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/usermode/usermode/trap.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/usermode

2012-01-02 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Jan  2 09:49:13 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Do release all l2 pages on destroy


To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/sys/arch/usermode/usermode/pmap.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/usermode

2012-01-01 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Jan  1 21:40:23 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Rewrite usermodes pmap to use indirect adressing significantly reducing pmap
memory usage. Typically a decimation. This is done using L1 and L2 mappings.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/sys/arch/usermode/usermode/pmap.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/usermode

2012-01-01 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Jan  1 13:52:51 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Fix typo in comment


To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/sys/arch/usermode/usermode/pmap.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/usermode

2012-01-01 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sun Jan  1 13:52:14 UTC 2012

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
According to the pmap manpage wired pages should not track RWM, so map them RW


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sys/arch/usermode/usermode/pmap.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/usermode

2011-12-31 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Dec 31 21:29:12 UTC 2011

Modified Files:
src/sys/arch/usermode/usermode: thunk.c

Log Message:
- fix syscall error returns
- fix clobbered errno
- use warn instead of perror
- use ssize_t consistently
- retry on EINTR and EAGAIN


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/sys/arch/usermode/usermode/thunk.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/usermode

2011-12-31 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Dec 31 12:57:12 UTC 2011

Modified Files:
src/sys/arch/usermode/usermode: thunk.c

Log Message:
Move the thunk_rfb_send_pending() up to where it belonged. It could disconnect
AND event could be NULL while it still would need to send... i.e. the barrier
in vncfbcopyrows()


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/arch/usermode/usermode/thunk.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/usermode

2011-12-31 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Sat Dec 31 12:38:56 UTC 2011

Modified Files:
src/sys/arch/usermode/usermode: thunk.c

Log Message:
Implement safe_recv() in analog to save_send() to make sure we don't miss
bytes along and mess up the protocol.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/sys/arch/usermode/usermode/thunk.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/usermode

2011-12-30 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Dec 30 21:14:58 UTC 2011

Modified Files:
src/sys/arch/usermode/usermode: thunk.c

Log Message:
Add template code for a client driven display update request. This is
currently not possible since its event parameter is not allways passed.


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/arch/usermode/usermode/thunk.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
provide pmap_phys_address


To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 src/sys/arch/usermode/usermode/pmap.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: thunk.c

Log Message:
print key event info if RFB_DEBUG


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 src/sys/arch/usermode/usermode/thunk.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/usermode

2011-12-30 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Dec 30 11:05:07 UTC 2011

Modified Files:
src/sys/arch/usermode/usermode: thunk.c

Log Message:
Rename variable Bpp to bytes_per_pixel


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sys/arch/usermode/usermode/thunk.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: intr.c

Log Message:
double SIGIO_MAX_HANDLERS


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/usermode/usermode/intr.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/usermode

2011-12-30 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Dec 30 11:00:02 UTC 2011

Modified Files:
src/sys/arch/usermode/usermode: thunk.c

Log Message:
Use a wrapper around the send() to make sure it will transmit EVERYTHING and
not just a part of the data


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/sys/arch/usermode/usermode/thunk.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/usermode

2011-12-29 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Fri Dec 30 06:59:54 UTC 2011

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Change verbose kernel printing of kernel memory layout to increasing addresses
for clarity.


To generate a diff of this commit:
cvs rdiff -u -r1.83 -r1.84 src/sys/arch/usermode/usermode/pmap.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: thunk.c

Log Message:
implement thunk_signal using sigaction so we ensure all of our signal
handlers run on the alternate signal stack


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/arch/usermode/usermode/thunk.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: machdep.c

Log Message:
update usage message:

$ ./netbsd -h
-h: unknown flag
usage: ./netbsd [-acdqsvxz] [tap=,] [audio=] []
   (ex. "./netbsd tap=tap0,00:00:be:ef:ca:fe audio=audio0 root.fs")


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/usermode/usermode/machdep.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: thunk.c

Log Message:
don't need O_NONBLOCK for tap


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/arch/usermode/usermode/thunk.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: machdep.c

Log Message:
Make signals work for NetBSD/usermode[i386] !


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/usermode/usermode/machdep.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: thunk.c

Log Message:
thunk_pollchar: use read instead of getchar


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/usermode/usermode/thunk.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/usermode

2011-12-20 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Tue Dec 20 15:43:52 UTC 2011

Modified Files:
src/sys/arch/usermode/usermode: machdep.c

Log Message:
Add int $80 and sysenter opcodes to the x86 SIGILL opcode detector


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/usermode/usermode/machdep.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/usermode

2011-12-15 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Dec 15 11:23:52 UTC 2011

Modified Files:
src/sys/arch/usermode/usermode: syscall.c

Log Message:
add required trace_enter/trace_exit calls in syscall() to make ktrace work


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/usermode/usermode/syscall.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/usermode

2011-12-14 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Dec 14 19:40:02 UTC 2011

Modified Files:
src/sys/arch/usermode/usermode: machdep.c

Log Message:
Cleanup i386 register printing and opcode extraction


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/usermode/usermode/machdep.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/usermode

2011-12-14 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Dec 14 17:06:28 UTC 2011

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
OK, this is a temporary patch so usermode can run on 5.1 or old 5.99's. The
workaround mentioned here is not needed on newer 5.99 since it has just been
patched.


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/sys/arch/usermode/usermode/pmap.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: machdep.c

Log Message:
Print the signal we are supposed to deliver!


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/usermode/usermode/machdep.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: trap.c

Log Message:
Remove old debugging cruft


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/arch/usermode/usermode/trap.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Don't allow unmapping of WIRED pages!

Also on unwire, call pmap_update_page() though this propably is not needed.


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/arch/usermode/usermode/pmap.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Implement a new TLB system. This fixes the TLB issues that has been plaguing
the pmap.


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/sys/arch/usermode/usermode/pmap.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: intr.c

Log Message:
Disable spl_intr() spamming when debug printing is enabled.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/usermode/usermode/intr.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Fix typo TBL->TLB


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/arch/usermode/usermode/pmap.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/usermode

2011-12-12 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Dec 12 19:59:21 UTC 2011

Modified Files:
src/sys/arch/usermode/usermode: syscall.c

Log Message:
Elaborate return value printing to include JUSTRETURN etc. instead of
reporting it as an error!


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/usermode/usermode/syscall.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: machdep.c

Log Message:
Fix error flag (carry) setting if its a pseudo error of EJUSTRETURN etc. Just
in case.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/usermode/usermode/machdep.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/usermode

2011-12-12 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Dec 12 15:05:36 UTC 2011

Modified Files:
src/sys/arch/usermode/usermode: syscall.c

Log Message:
Enhance system call prints by printing out the execve() arguments


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/usermode/usermode/syscall.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/usermode

2011-12-12 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Dec 12 13:14:23 UTC 2011

Modified Files:
src/sys/arch/usermode/usermode: syscall.c

Log Message:
Return ZERO to the child on fork!


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/usermode/usermode/syscall.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: syscall.c

Log Message:
Print lwp values on syscall entry


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/usermode/usermode/syscall.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: syscall.c

Log Message:
Rework the debug printing to use functions instead of clutting the system call
code.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/usermode/usermode/syscall.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: copy.c

Log Message:
Disabled copyin/copyout debugging messages since its swamping the output on
debug output.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/usermode/usermode/copy.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: syscall.c

Log Message:
Enhance printing of system callss


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/usermode/usermode/syscall.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Create two panics that signal inconsistent states.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/arch/usermode/usermode/pmap.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/usermode

2011-09-19 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Mon Sep 19 12:52:32 UTC 2011

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Small cleanups on memory initialisation by using munmap() instead of mapping
unaccessible anon memory that we're never going to use anyway!


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/arch/usermode/usermode/pmap.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: trap.c

Log Message:
Move the debug printf's to the new dprintf_debug() and disable the SIGALRM
blocking since we queue them now.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/usermode/usermode/trap.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Print out the memory information on verbose booting too, its too handy to have
around without all the goo of debug printouts


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sys/arch/usermode/usermode/pmap.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: machdep.c

Log Message:
Split the two debug sections


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/usermode/usermode/machdep.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/usermode

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

Modified Files:
src/sys/arch/usermode/usermode: intr.c

Log Message:
Allthough in normal practice at most two are queued, with all the debug info
spounting outi, a lot can get queued in the first phase of kernel startup.
especially the clock.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/usermode/usermode/intr.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/usermode

2011-09-15 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu Sep 15 20:25:23 UTC 2011

Modified Files:
src/sys/arch/usermode/usermode: thunk.c

Log Message:
Use vfprintf() to make it compile under 5.1 again


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/usermode/usermode/thunk.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/usermode

2011-09-15 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu Sep 15 17:44:13 UTC 2011

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Re-implement pmap_zero_page() and pmap_copy_page() by using
mmap + memset/memcpy + munmap.


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/sys/arch/usermode/usermode/pmap.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/usermode

2011-09-15 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu Sep 15 15:34:20 UTC 2011

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Implement pmap_copy_page()! That was missing a long time!


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/arch/usermode/usermode/pmap.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/usermode

2011-09-15 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Thu Sep 15 15:24:40 UTC 2011

Modified Files:
src/sys/arch/usermode/usermode: pmap.c

Log Message:
Clarify pmap_copy's function as a dummy


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

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



  1   2   3   >