2 #include <sys/thread.h>
9 copyinstr(const void *udaddr
, void *kaddr
, size_t len
, size_t *res
)
11 return curthread
->td_proc
->p_vmspace
->vm_pmap
.copyinstr(udaddr
, kaddr
, len
, res
);
15 copyin(const void *udaddr
, void *kaddr
, size_t len
)
17 return curthread
->td_proc
->p_vmspace
->vm_pmap
.copyin(udaddr
, kaddr
, len
);
21 copyout(const void *kaddr
, void *udaddr
, size_t len
)
23 return curthread
->td_proc
->p_vmspace
->vm_pmap
.copyout(kaddr
, udaddr
, len
);
28 fubyte(const void *base
)
30 return curthread
->td_proc
->p_vmspace
->vm_pmap
.fubyte(base
);
34 subyte (void *base
, int byte
)
36 return curthread
->td_proc
->p_vmspace
->vm_pmap
.subyte(base
, byte
);
40 fuword(const void *base
)
42 return curthread
->td_proc
->p_vmspace
->vm_pmap
.fuword(base
);
46 suword(void *base
, long word
)
48 return curthread
->td_proc
->p_vmspace
->vm_pmap
.suword(base
, word
);
52 suword32(void *base
, int word
)
54 return curthread
->td_proc
->p_vmspace
->vm_pmap
.suword32(base
, word
);