mirror of
https://github.com/drasko/codezero.git
synced 2026-03-01 02:03:29 +01:00
Moved all pager page-mapping routines to memory.c
Added a new virtual address pool for contiguous virtual addresses for the pager. This will help in mapping multi-page user buffers and files.
This commit is contained in:
@@ -19,6 +19,8 @@ int file_open(struct tcb *opener, int fd);
|
||||
|
||||
struct vm_file *do_open2(struct tcb *task, int fd, unsigned long vnum, unsigned long length);
|
||||
int flush_file_pages(struct vm_file *f);
|
||||
int read_file_pages(struct vm_file *vmfile, unsigned long pfn_start,
|
||||
unsigned long pfn_end);
|
||||
|
||||
struct vfs_file_data {
|
||||
unsigned long vnum;
|
||||
|
||||
Reference in New Issue
Block a user