Mon 14 Oct 23:06:38 CEST 2024
This commit is contained in:
parent
56fdbe77b3
commit
5ff7709d81
17
kernel/page.h
Normal file
17
kernel/page.h
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
/*
|
||||||
|
Copyright (C) 2015-2019 The University of Notre Dame
|
||||||
|
This software is distributed under the GNU General Public License.
|
||||||
|
See the file LICENSE for details.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef PAGE_H
|
||||||
|
#define PAGE_H
|
||||||
|
|
||||||
|
#include "kernel/types.h"
|
||||||
|
|
||||||
|
void page_init();
|
||||||
|
void *page_alloc(bool zeroit);
|
||||||
|
void page_free(void *addr);
|
||||||
|
void page_stats( uint32_t *nfree, uint32_t *ntotal );
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user