Changeset bc73be3 in mainline for kernel/generic/src/ipc/ops/pagein.c


Ignore:
Timestamp:
2019-06-27T08:51:20Z (7 years ago)
Author:
Jaroslav Jindrak <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8add15e0
Parents:
ad40b74b (diff), aeba767 (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.
Message:

cpp: merge and resolve conflicts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/ops/pagein.c

    rad40b74b rbc73be3  
    6868                return EOK;
    6969
    70         if (!IPC_GET_RETVAL(answer->data)) {
     70        if (!ipc_get_retval(&answer->data)) {
    7171
    7272                pte_t pte;
     
    7474
    7575                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),
    7777                    false, &pte);
    7878                if (found & PTE_PRESENT(&pte)) {
     
    8686                                frame_reference_add(ADDR2PFN(frame));
    8787                        }
    88                         IPC_SET_ARG1(answer->data, frame);
     88                        ipc_set_arg1(&answer->data, frame);
    8989                } else {
    90                         IPC_SET_RETVAL(answer->data, ENOENT);
     90                        ipc_set_retval(&answer->data, ENOENT);
    9191                }
    9292                page_table_unlock(AS, true);
Note: See TracChangeset for help on using the changeset viewer.