Changes in kernel/generic/src/mm/backend_user.c [2fc3b2d:fafb8e5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/backend_user.c
r2fc3b2d rfafb8e5 119 119 120 120 ipc_data_t data = { }; 121 IPC_SET_IMETHOD(data, IPC_M_PAGE_IN);122 IPC_SET_ARG1(data, upage - area->base);123 IPC_SET_ARG2(data, PAGE_SIZE);124 IPC_SET_ARG3(data, pager_info->id1);125 IPC_SET_ARG4(data, pager_info->id2);126 IPC_SET_ARG5(data, pager_info->id3);121 ipc_set_imethod(&data, IPC_M_PAGE_IN); 122 ipc_set_arg1(&data, upage - area->base); 123 ipc_set_arg2(&data, PAGE_SIZE); 124 ipc_set_arg3(&data, pager_info->id1); 125 ipc_set_arg4(&data, pager_info->id2); 126 ipc_set_arg5(&data, pager_info->id3); 127 127 128 128 errno_t rc = ipc_req_internal(pager_info->pager, &data, (sysarg_t) true); … … 136 136 } 137 137 138 if ( IPC_GET_RETVAL(data) != EOK)138 if (ipc_get_retval(&data) != EOK) 139 139 return AS_PF_FAULT; 140 140 … … 145 145 */ 146 146 147 uintptr_t frame = IPC_GET_ARG1(data);147 uintptr_t frame = ipc_get_arg1(&data); 148 148 page_mapping_insert(AS, upage, frame, as_area_get_flags(area)); 149 149 if (!used_space_insert(&area->used_space, upage, 1))
Note:
See TracChangeset
for help on using the changeset viewer.