Subversion Repositories HelenOS

Rev

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

Rev 2960 Rev 2964
Line 33... Line 33...
33
#ifndef ILOADER_PCB_H_
33
#ifndef ILOADER_PCB_H_
34
#define ILOADER_PCB_H_
34
#define ILOADER_PCB_H_
35
 
35
 
36
#define PCB_ADDRESS 0x40000
36
#define PCB_ADDRESS 0x40000
37
 
37
 
-
 
38
typedef void (*entry_point_t)(void);
-
 
39
 
38
/**
40
/**
39
 * Holds pointers to data passed from the program loader to the program
41
 * Holds pointers to data passed from the program loader to the program
40
 * and/or to the dynamic linker. This includes the program entry point,
42
 * and/or to the dynamic linker. This includes the program entry point,
41
 * arguments, environment etc.
43
 * arguments, environment etc.
42
 */
44
 */
43
typedef struct {
45
typedef struct {
44
    /** Program entry point */
46
    /** Program entry point */
45
    void (*entry)(void);
47
    entry_point_t entry;
46
} pcb_t;
48
} pcb_t;
47
 
49
 
48
#endif
50
#endif
49
 
51
 
50
/**
52
/**