Changeset bae7bdc in mainline for uspace/lib/c/arch/ia64


Ignore:
Timestamp:
2011-04-29T19:44:51Z (14 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).

Location:
uspace/lib/c/arch/ia64
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/ia64/Makefile.inc

    rafdcc60e rbae7bdc  
    2929ARCH_SOURCES = \
    3030        arch/$(UARCH)/src/entry.s \
     31        arch/$(UARCH)/src/entryjmp.s \
    3132        arch/$(UARCH)/src/thread_entry.s \
    3233        arch/$(UARCH)/src/syscall.S \
  • uspace/lib/c/arch/ia64/src/entryjmp.s

    rafdcc60e rbae7bdc  
    2828
    2929.text
    30 .globl program_run
     30.globl entry_point_jmp
    3131
    32 ## void program_run(void *entry_point, void *pcb);
     32## void entry_point_jmp(void *entry_point, void *pcb);
    3333#
    3434# in0 (r32)     contains entry_point
    3535# in1 (r33)     contains pcb
    3636#
    37 # Jump to a program entry point
    38 program_run:
     37# Jump to program entry point
     38entry_point_jmp:
    3939        # Pass pcb to the entry point in r2
    4040
Note: See TracChangeset for help on using the changeset viewer.