OpenCores
URL https://opencores.org/ocsvn/c0or1k/c0or1k/trunk

Subversion Repositories c0or1k

[/] [c0or1k/] [trunk/] [conts/] [baremetal/] [test_suite/] [src/] [arch-or1k/] [new_thread.S.ARM] - Blame information for rev 7

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 drasko
#include 
2
#include L4LIB_INC_ARCH(asm.h)
3
 
4
BEGIN_PROC(local_setup_new_thread)
5
        ldr     r0, [sp, #-4]!          @ Load first argument.
6
        mov     lr, pc                  @ Save return address
7
        ldr     pc, [sp, #-4]!          @ Load function pointer from stack
8
new_thread_exit:
9
        b       new_thread_exit         @ We infinitely loop for now.
10
END_PROC(local_setup_new_thread)
11
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.