summaryrefslogtreecommitdiff
path: root/sys/arch/usermode/include
AgeCommit message (Collapse)Author
2013-11-10support building on armjmcneill
2012-03-03Implement signal forwarding to userland for usermode kernels. Especiallyreinoud
SIGFPE is important since the urkel shouldn't stop when a userland program devides by zero!
2012-02-08Fix /dev/kmem access and make vmstat(1) `work'. Not sure all the results arereinoud
indeed valid or correct but at least it shows them without coredumping or coredumping the kernel.
2012-02-05regenreinoud
2012-02-05With the recent kmem changes, remove the `unlimited' maximum setting ofreinoud
NKMEMPAGES from amd64 since it gets us into trouble.
2012-02-05regenreinoud
2012-02-04Bump UPAGES effectively bumping per-process (system) stack i.e. the stack onreinoud
which traps are taken. When it was 8 it could run out of space on big NFS stack traces in combination with timer and memory paging.
2012-02-02spl_intr() is not defined anymore so remove from the header filereinoud
2012-02-02Regenreinoud
2012-02-02Add cdefs.h to usermode's genheaders.shreinoud
2012-01-21Complete rewrite of the signal and spl framework for NetBSD/usermodereinoud
Signals are now moved from the sigaltstack ASAP and stacked on a replacement stack for each processes. Preemption now works though could be enhanced a bit more
2012-01-21Add the complement to sigemptyset(), sigfillset()!reinoud
2012-01-19My fault, forgot that cpu_need_resched() is indeed already declared as a ↵reinoud
function
2012-01-19Add macro cpu_need_reschedreinoud
2012-01-14Define astpending flag and the aston() setterreinoud
2012-01-14Regenreinoud
2012-01-14Bump UPAGES with one more to allow for AST processing. Somehow the space was areinoud
bit tight OR i am checking too regorously on stack space needed.
2012-01-14Revamp the NetBSD/usermode pagefault and illegal instruction handing. It nowreinoud
can handle recursive entry and is a lot more memory tight compared to the old implementation. Performance wise: * slightly less number of syscalls/sec possible though could be optimized * a lot faster context creation / destruction making overall operation faster.
2012-01-14Update automatically generated headersreinoud
2012-01-14Add md_get_sp() for MI stack frame manipulation. Note that NetBSD/usermodereinoud
only works on decending stacks for now!
2012-01-11Add thunk_close()reinoud
2012-01-10Add thunk_madvise() for memory access hints to the host kernel.reinoud
2012-01-10Clarify comment about PAGER_MAP_DEFAULT_SIZEreinoud
2012-01-08define __HAVE_OLD_DISKLABEL on i386jmcneill
2012-01-08regenjmcneill
2012-01-08disklabel.h: handle __HAVE_OLD_DISKLABEL. while here, I noticed someone ↵jmcneill
changed param.h without updating genheaders.h, so catch up.
2012-01-06support disk images >= 2GBjmcneill
2012-01-06Cleanup stack allocation and freeing. This means the memory leak on lwpreinoud
destruction ought to be solved.
2012-01-06Bump pager map default size since KVM is not that tight anymorereinoud
2012-01-05Get rid of MAP_NOSYSCALLS usage; now this relies on a separate kmod thatjmcneill
you can get here: http://www.netbsd.org/~jmcneill/syscallemu.tar
2012-01-03Rework NetBSD/usermode pmap fixing some oddities that were left over fromreinoud
earlier times when we were forced to run PIE executables and were forced to use a KVM above the kernel.
2012-01-03Rename the debug printf's to use a thunk_ prefix to avoid confusion.reinoud
2012-01-03Fix logic that checks if its the kernel or a userland process that causes thereinoud
trap. Signal sending still needs to be addressed.
2011-12-31Adjust prototypes.christos
2011-12-30report rfb pointer eventsjmcneill
2011-12-30add a barrier before copyrows(), and add an RRE based fillrect functino,jmcneill
use it for eraserows and erasecols
2011-12-30support wskbd belljmcneill
2011-12-30Use the encoding values of the VNC spec and add a copyrect (not used yet)reinoud
2011-12-30Add RFB type flag to indicate what kind of request is waitingreinoud
2011-12-30optimize rfb updates by allowing queueing of multiple update messages,jmcneill
dropping duplicates, and transmitting them in batches
2011-12-29Replace the SDL based genfb driver with a wsdisplay and wskbd driver thatjmcneill
implements the VNC (RFB) protocol. To enable the VNC server, add 'vnc=640x480,5900' to the kernel command line (where 640x480 is the desired fb resolution and 5900 is the TCP port). Screenshot of it here: http://www.netbsd.org/~jmcneill/usermode.tiff
2011-12-26make sure the sigio signal handler runs on the alternate signal stack,jmcneill
fixes random SIGILLs seen recently
2011-12-26add vaudio(4) audio device driverjmcneill
2011-12-26first cut at networking support for usermode, doesn't fully work yet butjmcneill
enough to get an address with dhcp and answer arps
2011-12-26add sigio_intr_establish so more than one driver can register a SIGIO handlerjmcneill
2011-12-25Fix VM_MAX_ADDRESS that is NOT the max address BUT the max userland addressreinoud
Fix VM_MAX_KERNEL_ADDRESS that is the absolute max address accesable by the kernel...
2011-12-20on second thought, set machine and machine_arch both from the host andjmcneill
override module_machine
2011-12-20set machine_arch to that of the hostjmcneill
2011-12-20get rid of urkelvisor, and use same MD majors as the hostjmcneill
2011-12-20Use to the MAP_NOSYSCALLS argument to mmap() to allow for NetBSD/usermode toreinoud
execute bog-standard native programs.