Rev 2071 | Rev 2725 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2071 | Rev 2089 | ||
---|---|---|---|
Line 55... | Line 55... | ||
55 | 55 | ||
56 | #ifndef __ASM__ |
56 | #ifndef __ASM__ |
57 | 57 | ||
58 | #include <arch/types.h> |
58 | #include <arch/types.h> |
59 | 59 | ||
60 | struct e820memmap_ { |
60 | typedef struct { |
61 | uint64_t base_address; |
61 | uint64_t base_address; |
62 | uint64_t size; |
62 | uint64_t size; |
63 | uint32_t type; |
63 | uint32_t type; |
64 | } __attribute__ ((packed)); |
64 | } __attribute__ ((packed)) e820memmap_t; |
65 | - | ||
66 | extern struct e820memmap_ e820table[MEMMAP_E820_MAX_RECORDS]; |
- | |
67 | 65 | ||
- | 66 | extern e820memmap_t e820table[MEMMAP_E820_MAX_RECORDS]; |
|
68 | extern uint8_t e820counter; |
67 | extern uint8_t e820counter; |
69 | - | ||
70 | extern uint32_t e801memorysize; /**< Size of available memory in KB. */ |
68 | extern uint32_t e801memorysize; /**< Size of available memory in KB. */ |
71 | 69 | ||
72 | #endif |
70 | #endif |
73 | 71 | ||
74 | #endif |
72 | #endif |
75 | 73 |