os_kernel_lab/related_info/lab5/lab5-spoc-discuss/kern/fs/swapfs.h
2015-04-20 12:44:41 +08:00

13 lines
275 B
C

#ifndef __KERN_FS_SWAPFS_H__
#define __KERN_FS_SWAPFS_H__
#include <memlayout.h>
#include <swap.h>
void swapfs_init(void);
int swapfs_read(swap_entry_t entry, struct Page *page);
int swapfs_write(swap_entry_t entry, struct Page *page);
#endif /* !__KERN_FS_SWAPFS_H__ */