#
d86cb3c3 |
| 03-Apr-2023 |
gutteridge <gutteridge@NetBSD.org> |
usermode/syscall.c: s/fall trough/FALLTHROUGH/ (KNF)
|
#
9e6996a2 |
| 06-Apr-2019 |
kamil <kamil@NetBSD.org> |
Centralized shared part of child_return() into MI part
Add a new function md_child_return() for MD specific bits only.
New child_return() is now part of MI and central code that handles uniformly t
Centralized shared part of child_return() into MI part
Add a new function md_child_return() for MD specific bits only.
New child_return() is now part of MI and central code that handles uniformly tracing code (KTR and ptrace(2)).
Synchronize value passed to ktrsysret() among ports to SYS_fork. This is a traditional value and accessing p_lflag to check for PL_PPWAIT shall use locking against proc_lock. Returning SYS_fork vs SYS_vfork still isn't correct enough as there are more entry points to forking code. Instead of making it too good, just settle with plain SYS_fork for all ports.
show more ...
|
#
f197402f |
| 26-Jun-2013 |
matt <matt@NetBSD.org> |
Use sy_invoke
|
#
73c4f362 |
| 13-Feb-2012 |
reinoud <reinoud@NetBSD.org> |
Add cpu_spawn_return() as per other archs to make it compile. No tests done yet.
|
#
0ff66b7d |
| 14-Jan-2012 |
reinoud <reinoud@NetBSD.org> |
Reimplement userret() to also include AST for preemption.
Note it would be nice if we could do the check "are we going to userland?" in a less intrusive way.
|
#
f78e800a |
| 14-Jan-2012 |
reinoud <reinoud@NetBSD.org> |
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:
* slightl
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.
show more ...
|
#
93a7e309 |
| 03-Jan-2012 |
reinoud <reinoud@NetBSD.org> |
Rename the debug printf's to use a thunk_ prefix to avoid confusion.
|
#
0860fefe |
| 20-Dec-2011 |
reinoud <reinoud@NetBSD.org> |
Use to the MAP_NOSYSCALLS argument to mmap() to allow for NetBSD/usermode to execute bog-standard native programs.
|
#
01582029 |
| 15-Dec-2011 |
jmcneill <jmcneill@NetBSD.org> |
add required trace_enter/trace_exit calls in syscall() to make ktrace work
|
#
007661c4 |
| 12-Dec-2011 |
reinoud <reinoud@NetBSD.org> |
Elaborate return value printing to include JUSTRETURN etc. instead of reporting it as an error!
|
#
9e9d4a16 |
| 12-Dec-2011 |
reinoud <reinoud@NetBSD.org> |
Enhance system call prints by printing out the execve() arguments
|
#
8f071d15 |
| 12-Dec-2011 |
reinoud <reinoud@NetBSD.org> |
Return ZERO to the child on fork!
|
#
b0db3c52 |
| 12-Dec-2011 |
reinoud <reinoud@NetBSD.org> |
Print lwp values on syscall entry
|
#
44953ff5 |
| 11-Dec-2011 |
reinoud <reinoud@NetBSD.org> |
Rework the debug printing to use functions instead of clutting the system call code.
|
#
5a82c10e |
| 09-Dec-2011 |
reinoud <reinoud@NetBSD.org> |
Enhance printing of system callss
|
#
182facd1 |
| 27-Nov-2011 |
reinoud <reinoud@NetBSD.org> |
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 pa
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.
show more ...
|
#
328f7e64 |
| 15-Sep-2011 |
reinoud <reinoud@NetBSD.org> |
Move to dprintf_debug() too
|
#
09b8d581 |
| 09-Sep-2011 |
reinoud <reinoud@NetBSD.org> |
machdep.c: Cleanup the machine dependent code and set the carry flag on error out. While here also clean up register printing.
syscall.c: Add debug syscall printing code to track basic syscalls bein
machdep.c: Cleanup the machine dependent code and set the carry flag on error out. While here also clean up register printing.
syscall.c: Add debug syscall printing code to track basic syscalls being taken.
show more ...
|
#
6e3da97a |
| 08-Sep-2011 |
reinoud <reinoud@NetBSD.org> |
Implement a working(!) syscall! well, it can call a number of syscalls without dying ;)
|
#
8d573c88 |
| 08-Sep-2011 |
reinoud <reinoud@NetBSD.org> |
Create syscall() prototype and let illegal instruction handler switch to that switchframe
|
#
ba57edf0 |
| 08-Sep-2011 |
reinoud <reinoud@NetBSD.org> |
Create a ucontext for the system call to work in; its cloned from the new pcb's call `userland' ucontext.
|
#
d448e4e5 |
| 29-Aug-2011 |
reinoud <reinoud@NetBSD.org> |
Update syscall prototype
|
#
1167e74d |
| 28-Aug-2011 |
reinoud <reinoud@NetBSD.org> |
Clean child_return()
|
#
abab3479 |
| 27-Aug-2011 |
reinoud <reinoud@NetBSD.org> |
Add dirty copy of child_return()
|
#
176f5f95 |
| 21-Oct-2009 |
snj <snj@NetBSD.org> |
Drop 3rd and 4th clauses. OK jmcneill (copyright holder).
|