BarryServer : Git

All the code for all my projects
// BarryServer : Git / Nucleus / blob / 4a9f8b43304c3723fc5648ab8dd659f9f81c110f / include / nucleus / memory.h

// Related

Nucleus

Barry Interrupt handlers b33d632 (3 years, 3 months ago)
#ifndef _NUCLEUS_MEMORY_H
#define _NUCLEUS_MEMORY_H

#include <stdint.h>
#include <stddef.h>

#define PAGE_SIZE 0x1000

uintptr_t alloc_frame(void);
void free_frame(uintptr_t frame);
void init_frames(size_t memMapSize, void *memMap);

#endif