Ignore:
Timestamp:
2011-04-29T19:44:51Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fcfd002
Parents:
afdcc60e
Message:

Move functions for jumping to the entry point from loader to the C library,
so they are close to the other side of the fence (i.e. to the entry points).

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/ppc32/src/entryjmp.s

    rafdcc60e rbae7bdc  
    2727#
    2828
    29 .globl program_run
     29.globl entry_point_jmp
    3030
    31 ## void program_run(void *entry_point, void *pcb);
     31## void entry_point_jmp(void *entry_point, void *pcb);
    3232#
    3333# %r3   contains entry_point
    3434# %r4   contains pcb
    3535#
    36 # Jump to a program entry point
    37 program_run:
     36# Jump to program entry point
     37entry_point_jmp:
    3838        mtctr %r3
    3939        mr %r6, %r4     # Pass pcb to the entry point in %r6
Note: See TracChangeset for help on using the changeset viewer.