projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update docs.
[pintos-anon]
/
src
/
threads
/
palloc.h
diff --git
a/src/threads/palloc.h
b/src/threads/palloc.h
index 38a401cb10b4971de6a59f5e5617ab480ba14270..45e0f42b21e2e8261235df0e6936aa5e19d1b1f7 100644
(file)
--- a/
src/threads/palloc.h
+++ b/
src/threads/palloc.h
@@
-1,7
+1,7
@@
#ifndef THREADS_PALLOC_H
#define THREADS_PALLOC_H
#ifndef THREADS_PALLOC_H
#define THREADS_PALLOC_H
-#include <std
int
.h>
+#include <std
def
.h>
enum palloc_flags
{
enum palloc_flags
{
@@
-11,7
+11,9
@@
enum palloc_flags
};
void palloc_init (void);
};
void palloc_init (void);
-void *palloc_get (enum palloc_flags);
-void palloc_free (void *);
+void *palloc_get_page (enum palloc_flags);
+void *palloc_get_multiple (enum palloc_flags, size_t page_cnt);
+void palloc_free_page (void *);
+void palloc_free_multiple (void *, size_t page_cnt);
#endif /* threads/palloc.h */
#endif /* threads/palloc.h */