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
etc/services - sync with NetBSD-8
[minix.git]
/
minix
/
lib
/
libsys
/
sys_padconf.c
blob
fbf8795b55ff8af43328942729b7dbc1249074dd
1
#include <stdint.h>
2
3
#include
"syslib.h"
4
5
int
sys_padconf
(
u32_t padconf
,
u32_t mask
,
u32_t value
)
6
{
7
message m
;
8
9
m
.
PADCONF_PADCONF
=
padconf
;
10
m
.
PADCONF_MASK
=
mask
;
11
m
.
PADCONF_VALUE
=
value
;
12
13
return
(
_kernel_call
(
SYS_PADCONF
, &
m
));
14
}