Changeset 64b7854 in mainline
- Timestamp:
- 2019-06-20T13:47:03Z (6 years ago)
- Children:
- d7dfa05
- Parents:
- e39d7b8
- Location:
- kernel/generic
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/console/console.h
re39d7b8 r64b7854 71 71 extern wchar_t getc(indev_t *indev); 72 72 extern size_t gets(indev_t *indev, char *buf, size_t buflen); 73 extern sys_errno_t sys_kio(int cmd, uspace_ ptr(void)buf, size_t size);73 extern sys_errno_t sys_kio(int cmd, uspace_addr_t buf, size_t size); 74 74 75 75 extern void grab_console(void); -
kernel/generic/include/ddi/ddi.h
re39d7b8 r64b7854 63 63 extern void pio_unmap(void *, void *, size_t); 64 64 65 extern sys_errno_t sys_physmem_map(uintptr_t, size_t, unsigned int, uspace_ ptr(void),65 extern sys_errno_t sys_physmem_map(uintptr_t, size_t, unsigned int, uspace_addr_t, 66 66 uintptr_t); 67 67 extern sys_errno_t sys_physmem_unmap(uintptr_t); 68 68 69 extern sys_errno_t sys_dmamem_map(size_t, unsigned int, unsigned int, uspace_ ptr(void),70 uspace_ ptr(void), uintptr_t);69 extern sys_errno_t sys_dmamem_map(size_t, unsigned int, unsigned int, uspace_addr_t, 70 uspace_addr_t, uintptr_t); 71 71 extern sys_errno_t sys_dmamem_unmap(uintptr_t, size_t, unsigned int); 72 72 -
kernel/generic/include/log.h
re39d7b8 r64b7854 52 52 _HELENOS_PRINTF_ATTRIBUTE(3, 4); 53 53 54 extern sys_errno_t sys_klog(sysarg_t, uspace_ ptr(void)buf, size_t size,54 extern sys_errno_t sys_klog(sysarg_t, uspace_addr_t buf, size_t size, 55 55 sysarg_t level, uspace_ptr(size_t) uspace_nread); 56 56 -
kernel/generic/include/sysinfo/sysinfo.h
re39d7b8 r64b7854 162 162 extern void sysinfo_dump(sysinfo_item_t *); 163 163 164 extern sys_errno_t sys_sysinfo_get_keys_size(uspace_ ptr(void), size_t, uspace_ptr(void));165 extern sys_errno_t sys_sysinfo_get_keys(uspace_ ptr(void), size_t, uspace_ptr(void), size_t, uspace_ptr(size_t));166 extern sysarg_t sys_sysinfo_get_val_type(uspace_ ptr(void), size_t);167 extern sys_errno_t sys_sysinfo_get_value(uspace_ ptr(void), size_t, uspace_ptr(void));168 extern sys_errno_t sys_sysinfo_get_data_size(uspace_ ptr(void), size_t, uspace_ptr(void));169 extern sys_errno_t sys_sysinfo_get_data(uspace_ ptr(void), size_t, uspace_ptr(void), size_t, uspace_ptr(size_t));164 extern sys_errno_t sys_sysinfo_get_keys_size(uspace_addr_t, size_t, uspace_addr_t); 165 extern sys_errno_t sys_sysinfo_get_keys(uspace_addr_t, size_t, uspace_addr_t, size_t, uspace_ptr(size_t)); 166 extern sysarg_t sys_sysinfo_get_val_type(uspace_addr_t, size_t); 167 extern sys_errno_t sys_sysinfo_get_value(uspace_addr_t, size_t, uspace_addr_t); 168 extern sys_errno_t sys_sysinfo_get_data_size(uspace_addr_t, size_t, uspace_addr_t); 169 extern sys_errno_t sys_sysinfo_get_data(uspace_addr_t, size_t, uspace_addr_t, size_t, uspace_ptr(size_t)); 170 170 171 171 #endif -
kernel/generic/include/udebug/udebug_ops.h
re39d7b8 r64b7854 55 55 errno_t udebug_regs_read(thread_t *t, void **buffer); 56 56 57 errno_t udebug_mem_read(uspace_ ptr(void)uspace_addr, size_t n, void **buffer);57 errno_t udebug_mem_read(uspace_addr_t uspace_addr, size_t n, void **buffer); 58 58 59 59 #endif -
kernel/generic/src/console/console.c
re39d7b8 r64b7854 395 395 * 396 396 */ 397 sys_errno_t sys_kio(int cmd, uspace_ ptr(void)buf, size_t size)397 sys_errno_t sys_kio(int cmd, uspace_addr_t buf, size_t size) 398 398 { 399 399 char *data; -
kernel/generic/src/ddi/ddi.c
re39d7b8 r64b7854 248 248 */ 249 249 sys_errno_t sys_physmem_map(uintptr_t phys, size_t pages, unsigned int flags, 250 uspace_ ptr(void)virt_ptr, uintptr_t bound)250 uspace_addr_t virt_ptr, uintptr_t bound) 251 251 { 252 252 uintptr_t virt; … … 465 465 466 466 sys_errno_t sys_dmamem_map(size_t size, unsigned int map_flags, unsigned int flags, 467 uspace_ ptr(void) phys_ptr, uspace_ptr(void)virt_ptr, uintptr_t bound)467 uspace_addr_t phys_ptr, uspace_addr_t virt_ptr, uintptr_t bound) 468 468 { 469 469 if ((flags & DMAMEM_FLAGS_ANONYMOUS) == 0) { -
kernel/generic/src/log/log.c
re39d7b8 r64b7854 295 295 * 296 296 */ 297 sys_errno_t sys_klog(sysarg_t operation, uspace_ ptr(void)buf, size_t size,297 sys_errno_t sys_klog(sysarg_t operation, uspace_addr_t buf, size_t size, 298 298 sysarg_t level, uspace_ptr(size_t) uspace_nread) 299 299 { -
kernel/generic/src/sysinfo/sysinfo.c
re39d7b8 r64b7854 677 677 * 678 678 */ 679 _NO_TRACE static sysinfo_return_t sysinfo_get_item_uspace(uspace_ ptr(void)ptr, size_t size,679 _NO_TRACE static sysinfo_return_t sysinfo_get_item_uspace(uspace_addr_t ptr, size_t size, 680 680 bool dry_run) 681 681 { … … 786 786 * 787 787 */ 788 _NO_TRACE static sysinfo_return_t sysinfo_get_keys_uspace(uspace_ ptr(void)ptr, size_t size,788 _NO_TRACE static sysinfo_return_t sysinfo_get_keys_uspace(uspace_addr_t ptr, size_t size, 789 789 bool dry_run) 790 790 { … … 831 831 * 832 832 */ 833 sys_errno_t sys_sysinfo_get_keys_size(uspace_ ptr(void)path_ptr, size_t path_size,834 uspace_ ptr(void)size_ptr)833 sys_errno_t sys_sysinfo_get_keys_size(uspace_addr_t path_ptr, size_t path_size, 834 uspace_addr_t size_ptr) 835 835 { 836 836 errno_t rc; … … 879 879 * 880 880 */ 881 sys_errno_t sys_sysinfo_get_keys(uspace_ ptr(void)path_ptr, size_t path_size,882 uspace_ ptr(void)buffer_ptr, size_t buffer_size, uspace_ptr(size_t) size_ptr)881 sys_errno_t sys_sysinfo_get_keys(uspace_addr_t path_ptr, size_t path_size, 882 uspace_addr_t buffer_ptr, size_t buffer_size, uspace_ptr(size_t) size_ptr) 883 883 { 884 884 errno_t rc; … … 914 914 * 915 915 */ 916 sysarg_t sys_sysinfo_get_val_type(uspace_ ptr(void)path_ptr, size_t path_size)916 sysarg_t sys_sysinfo_get_val_type(uspace_addr_t path_ptr, size_t path_size) 917 917 { 918 918 /* … … 950 950 * 951 951 */ 952 sys_errno_t sys_sysinfo_get_value(uspace_ ptr(void)path_ptr, size_t path_size,953 uspace_ ptr(void)value_ptr)952 sys_errno_t sys_sysinfo_get_value(uspace_addr_t path_ptr, size_t path_size, 953 uspace_addr_t value_ptr) 954 954 { 955 955 errno_t rc; … … 986 986 * 987 987 */ 988 sys_errno_t sys_sysinfo_get_data_size(uspace_ ptr(void)path_ptr, size_t path_size,989 uspace_ ptr(void)size_ptr)988 sys_errno_t sys_sysinfo_get_data_size(uspace_addr_t path_ptr, size_t path_size, 989 uspace_addr_t size_ptr) 990 990 { 991 991 errno_t rc; … … 1036 1036 * 1037 1037 */ 1038 sys_errno_t sys_sysinfo_get_data(uspace_ ptr(void)path_ptr, size_t path_size,1039 uspace_ ptr(void)buffer_ptr, size_t buffer_size, uspace_ptr(size_t) size_ptr)1038 sys_errno_t sys_sysinfo_get_data(uspace_addr_t path_ptr, size_t path_size, 1039 uspace_addr_t buffer_ptr, size_t buffer_size, uspace_ptr(size_t) size_ptr) 1040 1040 { 1041 1041 errno_t rc; -
kernel/generic/src/udebug/udebug_ipc.c
re39d7b8 r64b7854 398 398 static void udebug_receive_mem_read(call_t *call) 399 399 { 400 uspace_ ptr(void)uspace_dst;401 uspace_ ptr(void)uspace_src;400 uspace_addr_t uspace_dst; 401 uspace_addr_t uspace_src; 402 402 unsigned size; 403 403 void *buffer = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.