NJU-ProjectN/nanos-lite 2a141760e31be246a7316942293a97873925bc2f Makefile: use header files in newlib-navy
15 lines
188 B
C
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
|