mirror of
https://github.com/drasko/codezero.git
synced 2026-01-13 19:33:15 +01:00
Initial commit
This commit is contained in:
15
include/l4/generic/pgalloc.h
Normal file
15
include/l4/generic/pgalloc.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef __PGALLOC_H__
|
||||
#define __PGALLOC_H__
|
||||
|
||||
void *zalloc_page(void);
|
||||
void *alloc_page(void);
|
||||
void *alloc_pmd(void);
|
||||
void *alloc_pgd(void);
|
||||
int free_page(void *);
|
||||
int free_pmd(void *);
|
||||
int free_pgd(void *);
|
||||
|
||||
int pgalloc_add_new_grant(unsigned long pfn, int npages);
|
||||
void init_pgalloc();
|
||||
|
||||
#endif /* __PGALLOC_H__ */
|
||||
Reference in New Issue
Block a user