Changeset 9426f7c4 in mainline for kernel/arch/sparc32/src/userspace.c


Ignore:
Timestamp:
2013-11-12T22:24:04Z (11 years ago)
Author:
Jakub Klama <jakub.klama@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a3b034b
Parents:
bf677f6
Message:
  • Add proper TLB flushes in as_install_arch()
  • Improve saving %g1-%g4,%g7 in trap and syscall handlers
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc32/src/userspace.c

    rbf677f6 r9426f7c4  
    5252
    5353        asm volatile (
     54                "flush\n"
    5455                "mov %[stack], %%sp\n"
     56                "mov %[arg], %%o1\n"
    5557                "jmp %[entry]\n"
    5658                "mov %[psr], %%psr\n" :: [entry] "r" (kernel_uarg->uspace_entry),
     59                           [arg] "r" (kernel_uarg->uspace_uarg),
    5760                           [psr] "r" (psr),
    5861                           [stack] "r" (kernel_uarg->uspace_stack + kernel_uarg->uspace_stack_size));
Note: See TracChangeset for help on using the changeset viewer.