Changeset 5a5269d in mainline for abi/include/_bits/native.h
- Timestamp:
- 2019-07-02T12:03:55Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 98c4c16
- Parents:
- aca97582
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-07-02 12:03:55)
- git-committer:
- GitHub <noreply@…> (2019-07-02 12:03:55)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abi/include/_bits/native.h
raca97582 r5a5269d 56 56 typedef intptr_t native_t; 57 57 58 #ifdef KERNEL 59 60 typedef sysarg_t uspace_addr_t; 61 /* We might implement a way to check validity of the type some day. */ 62 #define uspace_ptr(type) uspace_addr_t 63 #define USPACE_NULL 0 64 65 #else /* !KERNEL */ 66 67 typedef void *uspace_addr_t; 68 #define uspace_ptr(type) type * 69 70 #endif 71 72 // TODO: Put this in a better location. 73 #define uspace_ptr_as_area_info_t uspace_ptr(as_area_info_t) 74 #define uspace_ptr_as_area_pager_info_t uspace_ptr(as_area_pager_info_t) 75 #define uspace_ptr_cap_irq_handle_t uspace_ptr(cap_irq_handle_t) 76 #define uspace_ptr_cap_phone_handle_t uspace_ptr(cap_phone_handle_t) 77 #define uspace_ptr_cap_waitq_handle_t uspace_ptr(cap_waitq_handle_t) 78 #define uspace_ptr_char uspace_ptr(char) 79 #define uspace_ptr_const_char uspace_ptr(const char) 80 #define uspace_ptr_ddi_ioarg_t uspace_ptr(ddi_ioarg_t) 81 #define uspace_ptr_ipc_data_t uspace_ptr(ipc_data_t) 82 #define uspace_ptr_irq_code_t uspace_ptr(irq_code_t) 83 #define uspace_ptr_size_t uspace_ptr(size_t) 84 #define uspace_ptr_struct_uspace_arg uspace_ptr(struct uspace_arg) 85 #define uspace_ptr_sysarg64_t uspace_ptr(sysarg64_t) 86 #define uspace_ptr_task_id_t uspace_ptr(task_id_t) 87 #define uspace_ptr_thread_id_t uspace_ptr(thread_id_t) 88 #define uspace_ptr_uintptr_t uspace_ptr(uintptr_t) 89 #define uspace_ptr_uspace_arg_t uspace_ptr(uspace_arg_t) 90 #define uspace_ptr_uspace_thread_function_t uspace_ptr(uspace_thread_function_t) 91 58 92 __HELENOS_DECLS_END; 59 93
Note:
See TracChangeset
for help on using the changeset viewer.