Changeset e3c762cd in mainline for arch/ia64/src/mm/tlb.c


Ignore:
Timestamp:
2006-05-05T11:59:19Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
de07bcf
Parents:
22cf454d
Message:

Complete implementation of copy_from_uspace() and copy_to_uspace()
for amd64 and ia32. Other architectures still compile and run,
but need to implement their own assembly-only memcpy(), memcpy_from_uspace(),
memcpy_to_uspace() and their failover parts. For these architectures
only dummy implementations are provided.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/src/mm/tlb.c

    r22cf454d re3c762cd  
    448448                 */
    449449                page_table_unlock(AS, true);
    450                 if (!as_page_fault(va)) {
     450                if (as_page_fault(va, istate) == AS_PF_FAULT) {
    451451                        panic("%s: va=%p, rid=%d, iip=%p\n", __FUNCTION__, istate->cr_ifa, rr.map.rid, istate->cr_iip);
    452452                }
     
    494494                 */
    495495                page_table_unlock(AS, true);
    496                 if (!as_page_fault(va)) {
     496                if (as_page_fault(va, istate) == AS_PF_FAULT) {
    497497                        panic("%s: va=%p, rid=%d, iip=%p\n", __FUNCTION__, va, rid, istate->cr_iip);
    498498                }
     
    609609        } else {
    610610                page_table_unlock(AS, true);
    611                 if (!as_page_fault(va)) {
     611                if (as_page_fault(va, istate) == AS_PF_FAULT) {
    612612                        panic("%s: va=%p, rid=%d\n", __FUNCTION__, va, rr.map.rid);
    613613                }
Note: See TracChangeset for help on using the changeset viewer.