Files
NJU_PA/nanos-lite/include/memory.h
zzy dfc38f6525 NJU-ProjectN/nanos-lite ics2021 initialized
NJU-ProjectN/nanos-lite 2a141760e31be246a7316942293a97873925bc2f Makefile: use header files in newlib-navy
2024-09-21 17:15:02 +08:00

15 lines
188 B
C

#ifndef __MEMORY_H__
#define __MEMORY_H__
#include <common.h>
#ifndef PGSIZE
#define PGSIZE 4096
#endif
#define PG_ALIGN __attribute((aligned(PGSIZE)))
void* new_page(size_t);
#endif