Subversion Repositories HelenOS

Rev

Rev 2988 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2988 Rev 2989
Line 31... Line 31...
31
 */
31
 */
32
 
32
 
33
#ifndef ILOADER_PCB_H_
33
#ifndef ILOADER_PCB_H_
34
#define ILOADER_PCB_H_
34
#define ILOADER_PCB_H_
35
 
35
 
-
 
36
#include <sys/types.h>
36
#include <arch/pcb.h>
37
#include <arch/pcb.h>
37
 
38
 
38
typedef void (*entry_point_t)(void);
39
typedef void (*entry_point_t)(void);
39
 
40
 
40
/**
41
/**
Line 44... Line 45...
44
 */
45
 */
45
typedef struct {
46
typedef struct {
46
    /** Program entry point */
47
    /** Program entry point */
47
    entry_point_t entry;
48
    entry_point_t entry;
48
 
49
 
-
 
50
    /*
-
 
51
     * ELF-specific data
-
 
52
     */
49
    /** Pointer to ELF dynamic section of the program */
53
    /** Pointer to ELF dynamic section of the program */
50
    void *dynamic;
54
    void *dynamic;
-
 
55
    /** Pointer to dynamic section of the runtime linker */
-
 
56
    void *rtld_dynamic;
-
 
57
    /** Runtime-linker load bias */
-
 
58
    uintptr_t rtld_bias;
51
} pcb_t;
59
} pcb_t;
52
 
60
 
53
#endif
61
#endif
54
 
62
 
55
/**
63
/**