mirror of
https://git.stationery.faith/corn/corn.git
synced 2024-11-09 16:02:08 +00:00
24 lines
352 B
C
24 lines
352 B
C
#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];
|
|
};
|