Rev 1896 | Rev 1899 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1896 | Rev 1897 | ||
---|---|---|---|
Line 69... | Line 69... | ||
69 | uint32_t count; |
69 | uint32_t count; |
70 | memzone_t zones[MEMMAP_MAX_RECORDS]; |
70 | memzone_t zones[MEMMAP_MAX_RECORDS]; |
71 | } memmap_t; |
71 | } memmap_t; |
72 | 72 | ||
73 | typedef struct { |
73 | typedef struct { |
74 | uintptr_t addr; |
- | |
75 | uint32_t width; |
- | |
76 | uint32_t height; |
- | |
77 | uint32_t bpp; |
- | |
78 | uint32_t scanline; |
- | |
79 | } screen_t; |
- | |
80 | - | ||
81 | typedef struct { |
- | |
82 | uint32_t clock_frequency; |
74 | uint32_t clock_frequency; |
83 | } processor_t; |
75 | } processor_t; |
84 | 76 | ||
85 | /** Bootinfo structure. |
77 | /** Bootinfo structure. |
86 | * |
78 | * |
87 | * Must be in sync with bootinfo structure used by the boot loader. |
79 | * Must be in sync with bootinfo structure used by the boot loader. |
88 | */ |
80 | */ |
89 | typedef struct { |
81 | typedef struct { |
90 | taskmap_t taskmap; |
82 | taskmap_t taskmap; |
91 | memmap_t memmap; |
83 | memmap_t memmap; |
92 | screen_t screen; |
- | |
93 | processor_t processor; |
84 | processor_t processor; |
94 | ballocs_t ballocs; |
85 | ballocs_t ballocs; |
95 | ofw_tree_node_t *ofw_root; |
86 | ofw_tree_node_t *ofw_root; |
96 | } bootinfo_t; |
87 | } bootinfo_t; |
97 | 88 |