Changeset ab87db5 in mainline for kernel/generic/src/ipc/ops/pagein.c
- Timestamp:
- 2019-02-23T17:16:01Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8c193d83, ca0e838
- Parents:
- bc417660 (diff), 95a47b0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-23 17:16:01)
- git-committer:
- GitHub <noreply@…> (2019-02-23 17:16:01)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ops/pagein.c
rbc417660 rab87db5 68 68 return EOK; 69 69 70 if (! IPC_GET_RETVAL(answer->data)) {70 if (!ipc_get_retval(&answer->data)) { 71 71 72 72 pte_t pte; … … 74 74 75 75 page_table_lock(AS, true); 76 bool found = page_mapping_find(AS, IPC_GET_ARG1(answer->data),76 bool found = page_mapping_find(AS, ipc_get_arg1(&answer->data), 77 77 false, &pte); 78 78 if (found & PTE_PRESENT(&pte)) { … … 86 86 frame_reference_add(ADDR2PFN(frame)); 87 87 } 88 IPC_SET_ARG1(answer->data, frame);88 ipc_set_arg1(&answer->data, frame); 89 89 } else { 90 IPC_SET_RETVAL(answer->data, ENOENT);90 ipc_set_retval(&answer->data, ENOENT); 91 91 } 92 92 page_table_unlock(AS, true);
Note:
See TracChangeset
for help on using the changeset viewer.