21 lines
303 B
C
21 lines
303 B
C
#pragma once
|
|
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
typedef struct
|
|
{
|
|
uint64_t base_address;
|
|
size_t length;
|
|
} memory_region_t;
|
|
|
|
typedef struct
|
|
{
|
|
memory_region_t* regions;
|
|
size_t num_regions;
|
|
} memory_map_t;
|
|
|
|
void panic();
|
|
void put_char(char character);
|
|
|
|
extern memory_map_t memory_map; |