nemu/src/memory.h

16 lines
247 B
C

#include <stdint.h>
#pragma once
typedef struct{
uint32_t size;
uint32_t addr;
} malloc_info_t;
typedef struct{
int allocs;
malloc_info_t* mallocs;
uint32_t lo_mem;
uint32_t hi_mem;
uint32_t margin;
} malloc_table_t;