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

Implement new userspace window trap mechanism, which utilizes MMU probe
to choose between slow (preemptive, involving inserting stack page mapping)
and fast (direct) handlers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc32/include/arch/context.h

    r3bc42bd ra218709  
    4545#define context_set(c, _pc, stack, size) \
    4646        do { \
    47                 (c)->pc = ((uintptr_t) _pc) - 4; \
     47                (c)->pc = ((uintptr_t) _pc) - 8; \
    4848                (c)->sp = ((uintptr_t) stack) + ALIGN_UP((size), \
    4949                    STACK_ALIGNMENT) - (SP_DELTA); \
Note: See TracChangeset for help on using the changeset viewer.