Changeset 299 for trunk/hal/generic
- Timestamp:
- Jul 31, 2017, 2:19:12 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/generic/hal_uspace.h
r121 r299 64 64 * This function tranfers a NUL terminated string from the user space to the kernel space. 65 65 * If the kernel uses physical addresses, it activates the MMU to access the user buffer. 66 * TODO : implement the max_size argument handling 66 * TODO : implement the max_size argument handling, and error handling 67 67 ***************************************************************************************** 68 68 * @ u_dst : destination buffer address in user space. … … 70 70 * @ max_size : max number of characters to be copied. 71 71 ****************************************************************************************/ 72 extern voidhal_strcpy_from_uspace( char * k_dst,73 char * u_src,74 uint32_t max_size );72 extern error_t hal_strcpy_from_uspace( char * k_dst, 73 char * u_src, 74 uint32_t max_size ); 75 75 76 76 /***************************************************************************************** 77 77 * This function tranfers a NUL terminated string from the kernel space to the user space. 78 78 * If the kernel uses physical addresses, it activates the MMU to access the user buffer. 79 * TODO : implement the max_size argument handling 79 * TODO : implement the max_size argument handling, and error handling 80 80 ***************************************************************************************** 81 81 * @ u_dst : destination buffer address in user space. … … 83 83 * @ max_size : max number of characters to be copied. 84 84 ****************************************************************************************/ 85 extern voidhal_strcpy_to_uspace( char * u_dst,86 char * k_src,87 uint32_t max_size );85 extern error_t hal_strcpy_to_uspace( char * u_dst, 86 char * k_src, 87 uint32_t max_size ); 88 88 89 89 /*****************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.