Rev 1702 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1702 | Rev 1780 | ||
|---|---|---|---|
| Line 46... | Line 46... | ||
| 46 | #ifndef __ASM__ |
46 | #ifndef __ASM__ |
| 47 | 47 | ||
| 48 | #include <arch/types.h> |
48 | #include <arch/types.h> |
| 49 | 49 | ||
| 50 | typedef struct { |
50 | typedef struct { |
| 51 | __address addr; |
51 | uintptr_t addr; |
| 52 | __u64 size; |
52 | uint64_t size; |
| 53 | } utask_t; |
53 | } utask_t; |
| 54 | 54 | ||
| 55 | typedef struct { |
55 | typedef struct { |
| 56 | __u32 count; |
56 | uint32_t count; |
| 57 | utask_t tasks[TASKMAP_MAX_RECORDS]; |
57 | utask_t tasks[TASKMAP_MAX_RECORDS]; |
| 58 | } taskmap_t; |
58 | } taskmap_t; |
| 59 | 59 | ||
| 60 | typedef struct { |
60 | typedef struct { |
| 61 | __address start; |
61 | uintptr_t start; |
| 62 | __u64 size; |
62 | uint64_t size; |
| 63 | } memzone_t; |
63 | } memzone_t; |
| 64 | 64 | ||
| 65 | typedef struct { |
65 | typedef struct { |
| 66 | __u64 total; |
66 | uint64_t total; |
| 67 | __u32 count; |
67 | uint32_t count; |
| 68 | memzone_t zones[MEMMAP_MAX_RECORDS]; |
68 | memzone_t zones[MEMMAP_MAX_RECORDS]; |
| 69 | } memmap_t; |
69 | } memmap_t; |
| 70 | 70 | ||
| 71 | typedef struct { |
71 | typedef struct { |
| 72 | __address addr; |
72 | uintptr_t addr; |
| 73 | unsigned int width; |
73 | unsigned int width; |
| 74 | unsigned int height; |
74 | unsigned int height; |
| 75 | unsigned int bpp; |
75 | unsigned int bpp; |
| 76 | unsigned int scanline; |
76 | unsigned int scanline; |
| 77 | } screen_t; |
77 | } screen_t; |