Changes in uspace/lib/c/generic/as.c [b7fd2a0:38d150e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/as.c
rb7fd2a0 r38d150e 74 74 * 75 75 */ 76 errno_t as_area_resize(void *address, size_t size, unsigned int flags)76 int as_area_resize(void *address, size_t size, unsigned int flags) 77 77 { 78 return (errno_t)__SYSCALL3(SYS_AS_AREA_RESIZE, (sysarg_t) address,78 return __SYSCALL3(SYS_AS_AREA_RESIZE, (sysarg_t) address, 79 79 (sysarg_t) size, (sysarg_t) flags); 80 80 } … … 88 88 * 89 89 */ 90 errno_t as_area_destroy(void *address)90 int as_area_destroy(void *address) 91 91 { 92 return (errno_t)__SYSCALL1(SYS_AS_AREA_DESTROY, (sysarg_t) address);92 return __SYSCALL1(SYS_AS_AREA_DESTROY, (sysarg_t) address); 93 93 } 94 94 … … 102 102 * 103 103 */ 104 errno_t as_area_change_flags(void *address, unsigned int flags)104 int as_area_change_flags(void *address, unsigned int flags) 105 105 { 106 return (errno_t)__SYSCALL2(SYS_AS_AREA_CHANGE_FLAGS, (sysarg_t) address,106 return __SYSCALL2(SYS_AS_AREA_CHANGE_FLAGS, (sysarg_t) address, 107 107 (sysarg_t) flags); 108 108 } … … 117 117 * 118 118 */ 119 errno_t as_get_physical_mapping(const void *virt, uintptr_t *phys)119 int as_get_physical_mapping(const void *virt, uintptr_t *phys) 120 120 { 121 return ( errno_t) __SYSCALL2(SYS_PAGE_FIND_MAPPING, (sysarg_t) virt,121 return (int) __SYSCALL2(SYS_PAGE_FIND_MAPPING, (sysarg_t) virt, 122 122 (sysarg_t) phys); 123 123 }
Note:
See TracChangeset
for help on using the changeset viewer.