Rev 1789 | Rev 1881 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1789 | Rev 1790 | ||
---|---|---|---|
Line 28... | Line 28... | ||
28 | 28 | ||
29 | #ifndef BOOT_sparc64_MAIN_H_ |
29 | #ifndef BOOT_sparc64_MAIN_H_ |
30 | #define BOOT_sparc64_MAIN_H_ |
30 | #define BOOT_sparc64_MAIN_H_ |
31 | 31 | ||
32 | #include <ofw.h> |
32 | #include <ofw.h> |
- | 33 | #include <types.h> |
|
33 | 34 | ||
34 | #define TASKMAP_MAX_RECORDS 32 |
35 | #define TASKMAP_MAX_RECORDS 32 |
35 | 36 | ||
36 | typedef struct { |
37 | typedef struct { |
37 | void *addr; |
38 | void *addr; |
38 | unsigned int size; |
39 | uint32_t size; |
39 | } task_t; |
40 | } task_t; |
40 | 41 | ||
41 | typedef struct { |
42 | typedef struct { |
42 | unsigned int cnt; |
43 | uint32_t count; |
43 | task_t tasks[TASKMAP_MAX_RECORDS]; |
44 | task_t tasks[TASKMAP_MAX_RECORDS]; |
- | 45 | } taskmap_t; |
|
- | 46 | ||
- | 47 | typedef struct { |
|
- | 48 | taskmap_t taskmap; |
|
44 | memmap_t memmap; |
49 | memmap_t memmap; |
45 | screen_t screen; |
50 | screen_t screen; |
46 | keyboard_t keyboard; |
51 | keyboard_t keyboard; |
47 | } bootinfo_t; |
52 | } bootinfo_t; |
48 | 53 |