Changeset cf538e7 in mainline


Ignore:
Timestamp:
2012-12-11T22:20:04Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
14febed9
Parents:
d704d7f
Message:

Behaviour of the TLB invalid exception is different on 4Kc than on R4000.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/src/mm/tlb.c

    rd704d7f rcf538e7  
    142142        index.value = cp0_index_read();
    143143
     144#if defined(PROCESSOR_4Kc)
     145        /*
     146         * This can happen on a 4Kc when Status.EXL is 1 and there is a TLB miss.
     147         * EXL is 1 when interrupts are disabled. The combination of a TLB miss
     148         * and disabled interrupts is possible in copy_to/from_uspace().
     149         */
     150        if (index.p) {
     151                tlb_refill(istate);
     152                return;
     153        }
     154#endif
     155
    144156        ASSERT(!index.p);
    145157
Note: See TracChangeset for help on using the changeset viewer.