Changeset bae7bdc in mainline for uspace/srv/loader/elf_load.c


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 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/loader/elf_load.c

    rafdcc60e rbae7bdc  
    22 * Copyright (c) 2006 Sergey Bondari
    33 * Copyright (c) 2006 Jakub Jermar
    4  * Copyright (c) 2008 Jiri Svoboda
     4 * Copyright (c) 2011 Jiri Svoboda
    55 * All rights reserved.
    66 *
     
    5353#include <smc.h>
    5454#include <loader/pcb.h>
     55#include <entry_point.h>
    5556
    5657#include "elf.h"
    5758#include "elf_load.h"
    58 #include "arch.h"
    5959
    6060#define DPRINTF(...)
     
    136136void elf_run(elf_info_t *info, pcb_t *pcb)
    137137{
    138         program_run(info->entry, pcb);
     138        entry_point_jmp(info->entry, pcb);
    139139
    140140        /* not reached */
Note: See TracChangeset for help on using the changeset viewer.