blob: dc8c19cbea38d2b28fd7458d0d23c5a02877c73d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#pragma once
#include <memory.h>
#define CMDLINE_MAX 32
struct memory_segment {
uint64_t addr;
uint64_t len;
uint32_t type;
};
struct memory_map {
uint32_t entry_count;
uint32_t entry_length;
struct memory_segment *entries;
};
struct boot_info {
struct memory_map map;
void *symbol_table;
void *acpi_table;
char cmdline[CMDLINE_MAX];
};
|