Rev 1067 | Rev 1145 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1067 | Rev 1132 | ||
|---|---|---|---|
| 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 MEMMAP_MAX_RECORDS 32 |
|
| - | 38 | ||
| - | 39 | #ifndef __ASM__ |
|
| - | 40 | ||
| - | 41 | #include <arch/types.h> |
|
| - | 42 | ||
| - | 43 | typedef struct { |
|
| - | 44 | __address start; |
|
| - | 45 | __u32 size; |
|
| - | 46 | } memzone_t; |
|
| - | 47 | ||
| - | 48 | typedef struct { |
|
| - | 49 | __u32 total; |
|
| - | 50 | __u32 count; |
|
| - | 51 | memzone_t zones[MEMMAP_MAX_RECORDS]; |
|
| - | 52 | } memmap_t; |
|
| - | 53 | ||
| - | 54 | typedef struct { |
|
| - | 55 | unsigned int addr; |
|
| - | 56 | unsigned int width; |
|
| - | 57 | unsigned int height; |
|
| - | 58 | unsigned int bpp; |
|
| - | 59 | unsigned int scanline; |
|
| - | 60 | } screen_t; |
|
| - | 61 | ||
| - | 62 | typedef struct { |
|
| - | 63 | memmap_t memmap; |
|
| - | 64 | screen_t screen; |
|
| - | 65 | } bootinfo_t; |
|
| - | 66 | ||
| - | 67 | extern bootinfo_t bootinfo; |
|
| - | 68 | ||
| - | 69 | #endif |
|
| - | 70 | ||
| 37 | #endif |
71 | #endif |