#include "threads/malloc.h"#include "vm/vm.h"#include "vm/inspect.h"#include "threads/vaddr.h"#include "threads/mmu.h"#include "userprog/process.h"
Variables | |
| static struct list | frame_table |

|
static |




|
static |


|
static |
| struct page * spt_find_page | ( | struct supplemental_page_table *spt | UNUSED, |
| void *va | UNUSED | ||
| ) |


| bool spt_insert_page | ( | struct supplemental_page_table *spt | UNUSED, |
| struct page *page | UNUSED | ||
| ) |


| void spt_remove_page | ( | struct supplemental_page_table * | spt, |
| struct page * | page | ||
| ) |

| bool supplemental_page_table_copy | ( | struct supplemental_page_table *dst | UNUSED, |
| struct supplemental_page_table *src | UNUSED | ||
| ) |

| void supplemental_page_table_init | ( | struct supplemental_page_table *spt | UNUSED | ) |

| void supplemental_page_table_kill | ( | struct supplemental_page_table *spt | UNUSED | ) |

| bool vm_alloc_page_with_initializer | ( | enum vm_type | type, |
| void * | upage, | ||
| bool | writable, | ||
| vm_initializer * | init, | ||
| void * | aux | ||
| ) |


| bool vm_claim_page | ( | void *va | UNUSED | ) |


| void vm_dealloc_page | ( | struct page * | page | ) |


|
static |


|
static |


|
static |


| void vm_init | ( | void | ) |


|
static |


| bool vm_try_handle_fault | ( | struct intr_frame *f | UNUSED, |
| void *addr | UNUSED, | ||
| bool user | UNUSED, | ||
| bool write | UNUSED, | ||
| bool not_present | UNUSED | ||
| ) |

|
static |