repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
arm: protect state after signal handler
[minix.git]
/
lib
/
libsys
/
kernel_call.c
blob
856e45aa663a1c107e0e80629b8661e0d96c6550
1
#include <lib.h>
2
#include <minix/syslib.h>
3
4
int
_kernel_call
(
int
syscallnr
,
message
*
msgptr
)
5
{
6
msgptr
->
m_type
=
syscallnr
;
7
do_kernel_call
(
msgptr
);
8
return
(
msgptr
->
m_type
);
9
}