Subversion Repositories HelenOS

Rev

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

Rev 3583 Rev 3616
Line 31... Line 31...
31
 
31
 
32
#define BOOTINFO_ADDRESS 0x4401000
32
#define BOOTINFO_ADDRESS 0x4401000
33
 
33
 
34
#define CONFIG_INIT_TASKS   32
34
#define CONFIG_INIT_TASKS   32
35
 
35
 
-
 
36
#define MEMMAP_ITEMS 128
-
 
37
 
-
 
38
#define EFI_MEMMAP_FREE_MEM 0
-
 
39
#define EFI_MEMMAP_IO 1
-
 
40
#define EFI_MEMMAP_IO_PORTS 2
-
 
41
 
-
 
42
 
36
typedef struct {
43
typedef struct {
37
    void *addr;
44
    void *addr;
38
    unsigned long size;
45
    unsigned long size;
39
} binit_task_t;
46
} binit_task_t;
40
   
47
   
41
typedef struct {
48
typedef struct {
42
    unsigned long count;
49
    unsigned long count;
43
    binit_task_t tasks[CONFIG_INIT_TASKS];
50
    binit_task_t tasks[CONFIG_INIT_TASKS];
44
} binit_t;
51
} binit_t;
45
 
52
 
-
 
53
typedef struct {
-
 
54
    unsigned int type;
-
 
55
    unsigned long base;
-
 
56
    unsigned long size;
-
 
57
}efi_memmap_item_t;
-
 
58
 
46
 
59
 
47
typedef struct {
60
typedef struct {
48
    binit_t taskmap;
61
    binit_t taskmap;
49
 
62
 
-
 
63
    efi_memmap_item_t memmap[MEMMAP_ITEMS];
-
 
64
    unsigned int memmap_items;
-
 
65
 
50
    unsigned long * sapic;
66
    unsigned long * sapic;
51
    unsigned long sys_freq;
67
    unsigned long sys_freq;
52
    unsigned long freq_scale;
68
    unsigned long freq_scale;
53
    unsigned int wakeup_intno;
69
    unsigned int wakeup_intno;
54
 
70