Changeset 382fb4ba in mainline for kernel/arch/sparc32/src/mm/page.c


Ignore:
Timestamp:
2013-12-10T22:33:33Z (10 years ago)
Author:
Jakub Klama <jakub.klama@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f7a33de
Parents:
2955bb9
Message:

Fixes as follows:

  • memcpy_from/to_uspace - fixed return value when size is 0
  • saving UWB pointer after thead runs
  • preemptible trap/syscall fixes
  • support for missing page fault types in page_fault()
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc32/src/mm/page.c

    r2955bb9 r382fb4ba  
    7474        as_switch(NULL, AS_KERNEL);
    7575
    76         printf("as_context_table=0x%08x\n", as_context_table);
     76//      printf("as_context_table=0x%08x\n", as_context_table);
    7777
    7878        /* Switch MMU to new context table */
     
    8989        mmu_fault_type_t type = (mmu_fault_type_t)fault->at;
    9090
    91         printf("page fault on address 0x%08x, status 0x%08x, type %d\n", fault_address, fault_status, type);
     91//      printf("page fault on address 0x%08x, status 0x%08x, type %d\n", fault_address, fault_status, type);
    9292
    9393        if (type == FAULT_TYPE_LOAD_USER_DATA ||
     
    101101        if (type == FAULT_TYPE_STORE_USER_DATA ||
    102102            type == FAULT_TYPE_STORE_USER_INSTRUCTION ||
    103             type == FAULT_TYPE_STORE_SUPERVISOR_INSTRUCTION)
     103            type == FAULT_TYPE_STORE_SUPERVISOR_INSTRUCTION ||
     104            type == FAULT_TYPE_STORE_SUPERVISOR_DATA)
    104105                as_page_fault(fault_address, PF_ACCESS_WRITE, istate);
    105106}
Note: See TracChangeset for help on using the changeset viewer.