i386_get_ioperm
error = i386_get_ioperm(td, &kargs.iargs);
int i386_get_ioperm(unsigned int, unsigned int *, int *);
int i386_get_ioperm(struct thread *, struct i386_ioperm_args *);