Changeset 2a2fbc8 in mainline for kernel/generic/src/ipc/ops/pagein.c
- Timestamp:
- 2016-09-01T17:05:13Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 42d08592
- Parents:
- f126c87 (diff), fb63c06 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ops/pagein.c
rf126c87 r2a2fbc8 47 47 { 48 48 if (!IPC_GET_RETVAL(answer->data)) { 49 pte_t *pte;49 pte_t pte; 50 50 uintptr_t frame; 51 51 52 52 page_table_lock(AS, true); 53 pte = page_mapping_find(AS, IPC_GET_ARG1(answer->data), false); 54 if (pte) { 55 frame = PTE_GET_FRAME(pte); 53 bool found = page_mapping_find(AS, IPC_GET_ARG1(answer->data), 54 false, &pte); 55 if (found) { 56 frame = PTE_GET_FRAME(&pte); 56 57 pfn_t pfn = ADDR2PFN(frame); 57 58 if (find_zone(pfn, 1, 0) != (size_t) -1) {
Note:
See TracChangeset
for help on using the changeset viewer.