OpenGrok
Cross Reference: pcb.h
xref
: /
src
/
sys
/
arch
/
usermode
/
include
/
pcb.h
Home
|
History
|
Annotate
|
Download
|
only in
include
History log of
/src/sys/arch/usermode/include/pcb.h
Revision
Date
Author
Comments
1.17
14-Jan-2012
reinoud
Revamp the NetBSD/usermode pagefault and illegal instruction handing. It now
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.
1.16
06-Jan-2012
reinoud
Cleanup stack allocation and freeing. This means the memory leak on lwp
destruction ought to be solved.
1.15
03-Jan-2012
reinoud
Fix logic that checks if its the kernel or a userland process that causes the
trap. Signal sending still needs to be addressed.
1.14
12-Dec-2011
reinoud
Fix typo
1.13
27-Nov-2011
reinoud
branches: 1.13.2;
Big patch that changes the signal stack usage of urkel significantly.
Formerly, all signals came on the signal stack and the two important ones were
then forwared to either the system call or the pagefault handler. This worked
fine but the signal stack remains that, a stack. When we go multi-process this
stack gets corrupted and out-of-order with all kind of nastyness since a
userland process switch can occure when a system call is called or when a
process gets a page fault.
The new scheme only uses the signal stack as a jumpboard. It swaps states and
then returns from the signal, clearing the stack but instead of returning to
the code it now jumpt to the handler and that handler then returns to the code
when its finished.
1.12
08-Sep-2011
reinoud
branches: 1.12.2;
Remove not used variable from the pcb.h
1.11
08-Sep-2011
reinoud
Create a ucontext for the system call to work in; its cloned from the new
pcb's call `userland' ucontext.
1.10
04-Sep-2011
reinoud
pcb->errno to pcb->pcb_errno
1.9
04-Sep-2011
reinoud
Try to preserve errno over traps and on context switches
1.8
02-Sep-2011
reinoud
Revert
1.7
02-Sep-2011
reinoud
Update trapframe and add system call switchframe
1.6
29-Aug-2011
reinoud
Update pcb and trapframe
1.5
28-Aug-2011
reinoud
Update trapframe and pcb
1.4
25-Aug-2011
reinoud
Add trapframe and extent pcb for NetBSD/usermode; both mere dummies since
there are no traps delivered nor a process has ever been started...
1.3
12-Aug-2011
jmcneill
Clean up extern mess by adding an API for kernel components to call libc
functions. thunk.c is built with special cflags that makes it compile
against standard system headers instead of kernel ones.
1.2
21-Oct-2009
snj
Drop 3rd and 4th clauses. OK jmcneill (copyright holder).
1.1
29-Dec-2007
jmcneill
branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8; 1.1.18;
Import work-in-progress NetBSD/usermode port.
1.1.18.1
11-Mar-2010
yamt
sync with head
1.1.8.2
18-Feb-2008
mjf
Sync with HEAD.
1.1.8.1
29-Dec-2007
mjf
file pcb.h was added on branch mjf-devfs on 2008-02-18 21:05:13 +0000
1.1.6.2
21-Jan-2008
yamt
sync with head
1.1.6.1
29-Dec-2007
yamt
file pcb.h was added on branch yamt-lazymbuf on 2008-01-21 09:39:52 +0000
1.1.4.2
09-Jan-2008
matt
sync with HEAD
1.1.4.1
29-Dec-2007
matt
file pcb.h was added on branch matt-armv6 on 2008-01-09 01:49:26 +0000
1.1.2.2
02-Jan-2008
bouyer
Sync with HEAD
1.1.2.1
29-Dec-2007
bouyer
file pcb.h was added on branch bouyer-xeni386 on 2008-01-02 21:50:56 +0000
1.12.2.1
17-Apr-2012
yamt
sync with head
1.13.2.1
18-Feb-2012
mrg
merge to -current.
Indexes created Fri Oct 17 23:09:53 GMT 2025