[Krafton Jungle] PintOS 2.0.0
크래프톤 정글 PintOS
 
Loading...
Searching...
No Matches
file.h
Go to the documentation of this file.
1#ifndef VM_FILE_H
2#define VM_FILE_H
3#include "filesys/file.h"
4#include "vm/vm.h"
5
6struct page;
7enum vm_type;
8
9struct file_page {
10};
11
12void vm_file_init (void);
13bool file_backed_initializer (struct page *page, enum vm_type type, void *kva);
14void *do_mmap(void *addr, size_t length, int writable,
15 struct file *file, off_t offset);
16void do_munmap (void *va);
17#endif
int32_t off_t
Definition: off_t.h:9
Definition: file.h:9
Definition: file.c:7
Definition: vm.h:51
void vm_file_init(void)
Definition: file.c:21
void * do_mmap(void *addr, size_t length, int writable, struct file *file, off_t offset)
Definition: file.c:89
bool file_backed_initializer(struct page *page, enum vm_type type, void *kva)
Definition: file.c:26
void do_munmap(void *va)
Definition: file.c:124
vm_type
Definition: vm.h:8