diff options
author | Ian Moffett <ian@osmora.org> | 2024-03-26 14:51:51 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-03-26 14:51:51 -0400 |
commit | d267fcf7b8c8d53a2d1807570c278cf39727eb16 (patch) | |
tree | f725b9bce35a4c9b0cf7546235fd9c9cf3297f85 /sys/include | |
parent | add3e844cf9eaf49010fbee2aa73977086e47428 (diff) |
kernel: Add copyinstr() routine
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/sys/system.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/sys/system.h b/sys/include/sys/system.h index 77a6337..c2e47c2 100644 --- a/sys/include/sys/system.h +++ b/sys/include/sys/system.h @@ -35,6 +35,7 @@ #if defined(_KERNEL) int copyin(uintptr_t uaddr, void *kaddr, size_t len); int copyout(const void *kaddr, uintptr_t uaddr, size_t len); +int copyinstr(uintptr_t uaddr, char *kaddr, size_t len); #endif #endif /* !_SYS_SYSTEM_H_ */ |