《操作系统》的实验代码。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
290 B

12 years ago
  1. #ifndef __KERN_FS_SWAP_SWAPFS_H__
  2. #define __KERN_FS_SWAP_SWAPFS_H__
  3. #include <memlayout.h>
  4. #include <swap.h>
  5. void swapfs_init(void);
  6. int swapfs_read(swap_entry_t entry, struct Page *page);
  7. int swapfs_write(swap_entry_t entry, struct Page *page);
  8. #endif /* !__KERN_FS_SWAP_SWAPFS_H__ */