Squash commits for public release
This commit is contained in:
15
kernel/include/mem/swapfile.h
Normal file
15
kernel/include/mem/swapfile.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef _KERNEL_MEM_SWAPFILE_H
|
||||
#define _KERNEL_MEM_SWAPFILE_H
|
||||
|
||||
#include <libkern/libkern.h>
|
||||
#include <mem/bits/mmu.h>
|
||||
#include <mem/bits/swap.h>
|
||||
#include <platform/generic/vmm/consts.h>
|
||||
|
||||
int swapfile_init();
|
||||
int swapfile_new_ref(int id);
|
||||
int swapfile_rem_ref(int id);
|
||||
int swapfile_load(uintptr_t vaddr, int id);
|
||||
int swapfile_store(uintptr_t vaddr);
|
||||
|
||||
#endif // _KERNEL_MEM_SWAPFILE_H
|
||||
Reference in New Issue
Block a user