Rev 1730 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1730 | 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 | __u32 size; |
52 | uint32_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 | __u32 size; |
62 | uint32_t size; |
63 | } memzone_t; |
63 | } memzone_t; |
64 | 64 | ||
65 | typedef struct { |
65 | typedef struct { |
66 | __u32 total; |
66 | uint32_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; |
78 | 78 | ||
79 | typedef struct { |
79 | typedef struct { |
80 | __address addr; |
80 | uintptr_t addr; |
81 | unsigned int size; |
81 | unsigned int size; |
82 | } keyboard_t; |
82 | } keyboard_t; |
83 | 83 | ||
84 | typedef struct { |
84 | typedef struct { |
85 | memmap_t memmap; |
85 | memmap_t memmap; |