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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [hal/] [openrisc/] [arch/] [current/] [src/] [redboot_linux_exec.c] - Diff between revs 838 and 843

Show entire file | Details | Blame | View Log

Rev 838 Rev 843
Line 182... Line 182...
                // R6 is the entry point to jump to at the end
                // R6 is the entry point to jump to at the end
 
 
                "__tramp_start__:\n"
                "__tramp_start__:\n"
                "1: l.sfeq  r3, r4\n"
                "1: l.sfeq  r3, r4\n"
                "   l.bf    2f\n"
                "   l.bf    2f\n"
                "   l.lwz   r13,0x00(r3)\n"
                "   l.lwz   r13,0x00(r3)\n" // Note that this might be a branch slot
                "   l.sw    0x00(r5), r13\n"
                "   l.sw    0x00(r5), r13\n"
                "   l.addi  r3, r3, 4\n"
                "   l.addi  r3, r3, 4\n"
#ifdef CYGHWR_BRANCH_SLOT_IMPLEMENTED
#ifdef CYGHWR_BRANCH_SLOT_IMPLEMENTED
                "   l.j     1b\n"
                "   l.j     1b\n"
                "   l.addi  r5, r5, 4\n"
                "   l.addi  r5, r5, 4\n"

powered by: WebSVN 2.1.0

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