Subversion Repositories HelenOS

Rev

Rev 3675 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3675 Rev 4377
Line 36... Line 36...
36
 
36
 
37
#define KERNEL_VIRTUAL_ADDRESS 0x400000
37
#define KERNEL_VIRTUAL_ADDRESS 0x400000
38
 
38
 
39
#define TASKMAP_MAX_RECORDS 32
39
#define TASKMAP_MAX_RECORDS 32
40
 
40
 
-
 
41
/** Size of buffer for storing task name in task_t. */
-
 
42
#define BOOTINFO_TASK_NAME_BUFLEN 32
-
 
43
 
41
#define BSP_PROCESSOR   1
44
#define BSP_PROCESSOR   1
42
#define AP_PROCESSOR    0
45
#define AP_PROCESSOR    0
43
 
46
 
44
#define SUBARCH_US  1
47
#define SUBARCH_US  1
45
#define SUBARCH_US3 3
48
#define SUBARCH_US3 3
46
 
49
 
47
typedef struct {
50
typedef struct {
48
    void *addr;
51
    void *addr;
49
    uint32_t size;
52
    uint32_t size;
-
 
53
    char name[BOOTINFO_TASK_NAME_BUFLEN];
50
} task_t;
54
} task_t;
51
 
55
 
52
typedef struct {
56
typedef struct {
53
    uint32_t count;
57
    uint32_t count;
54
    task_t tasks[TASKMAP_MAX_RECORDS];
58
    task_t tasks[TASKMAP_MAX_RECORDS];