i386_get_ioperm
, i386_set_ioperm
—
i386
?????ϥݡ??ȶ??֤ؤΥץ????????ȤΥ?????????????????
Standard C Library (libc, -lc)
<machine/sysarch.h>
int
i386_get_ioperm
(unsigned int
start, unsigned int *length, int
*enable) int
i386_set_ioperm
(unsigned int
start, unsigned int length, int
enable)
i386_get_ioperm
()
?????ƥॳ?????ϡ??ץ????????????ϥݡ??ȶ??֤ˤĤ??ƤΥѡ??ߥå???????
*enable ?????????֤??ޤ???
?ݡ??Ȥ??ϰϤ? start
?dz??Ϥ???Ϣ³?????ȥ??ο???
*length ?????֤????ޤ???
i386_set_ioperm
()
?????ƥॳ?????ϡ? start ??????
length
?????ˤ??äƵ??Ҥ??줿?????ϥݡ??Ȥ??ϰϤؤΥ?????????
enable
?????ǻ??ꤵ?줿???֤????ꤷ?ޤ???
Upon successful completion, the value 0 is returned; otherwise the
value -1 is returned and the global variable
errno is set to indicate the error.
i386_get_ioperm
() ??
i386_set_ioperm
()
?????ƥॳ?????ϼ??ξ????˼??Ԥ??ޤ?:
- [
EINVAL
]
- start ?ޤ??? length
??????̵?????ϰϤ????ꤵ???ޤ?????
- [
EPERM
]
- i386_set_ioperm
?θƤӽФ?¦???????ѥ桼???ǤϤ????ޤ????Ǥ?????
???Υޥ˥奢???ڡ????? Jonathan
Lemon ?????????ޤ?????