mirror of
https://github.com/drasko/codezero.git
synced 2026-01-11 18:33:16 +01:00
16 lines
315 B
C
16 lines
315 B
C
#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__ */
|