Rev 1220 | Rev 1619 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1220 | Rev 1370 | ||
---|---|---|---|
Line 32... | Line 32... | ||
32 | #define BOOT_OFFSET 0x4000 |
32 | #define BOOT_OFFSET 0x4000 |
33 | 33 | ||
34 | /* Temporary stack size for boot process */ |
34 | /* Temporary stack size for boot process */ |
35 | #define TEMP_STACK_SIZE 0x100 |
35 | #define TEMP_STACK_SIZE 0x100 |
36 | 36 | ||
- | 37 | #define TASKMAP_MAX_RECORDS 32 |
|
37 | #define MEMMAP_MAX_RECORDS 32 |
38 | #define MEMMAP_MAX_RECORDS 32 |
38 | 39 | ||
39 | #ifndef __ASM__ |
40 | #ifndef __ASM__ |
40 | 41 | ||
41 | #include <arch/types.h> |
42 | #include <arch/types.h> |
Line 44... | Line 45... | ||
44 | __address addr; |
45 | __address addr; |
45 | __u32 size; |
46 | __u32 size; |
46 | } utask_t; |
47 | } utask_t; |
47 | 48 | ||
48 | typedef struct { |
49 | typedef struct { |
- | 50 | __u32 count; |
|
- | 51 | utask_t tasks[TASKMAP_MAX_RECORDS]; |
|
- | 52 | } taskmap_t; |
|
- | 53 | ||
- | 54 | typedef struct { |
|
49 | __address start; |
55 | __address start; |
50 | __u32 size; |
56 | __u32 size; |
51 | } memzone_t; |
57 | } memzone_t; |
52 | 58 | ||
53 | typedef struct { |
59 | typedef struct { |
Line 63... | Line 69... | ||
63 | unsigned int bpp; |
69 | unsigned int bpp; |
64 | unsigned int scanline; |
70 | unsigned int scanline; |
65 | } screen_t; |
71 | } screen_t; |
66 | 72 | ||
67 | typedef struct { |
73 | typedef struct { |
68 | utask_t init; |
74 | taskmap_t taskmap; |
69 | memmap_t memmap; |
75 | memmap_t memmap; |
70 | screen_t screen; |
76 | screen_t screen; |
71 | } bootinfo_t; |
77 | } bootinfo_t; |
72 | 78 | ||
73 | extern bootinfo_t bootinfo; |
79 | extern bootinfo_t bootinfo; |