mirror of
https://github.com/drasko/codezero.git
synced 2026-02-06 06:53:18 +01:00
Revised task initialisation, revising mmap yet.
This commit is contained in:
@@ -16,17 +16,11 @@ struct membank {
|
||||
struct page *page_array;
|
||||
};
|
||||
extern struct membank membank[];
|
||||
extern struct vm_file *swap_file;
|
||||
|
||||
void init_mm_descriptors(struct page_bitmap *page_map,
|
||||
struct bootdesc *bootdesc, struct membank *membank);
|
||||
void init_physmem(struct initdata *initdata, struct membank *membank);
|
||||
|
||||
void init_devzero(void);
|
||||
struct vm_file *get_devzero(void);
|
||||
void *get_zero_page(void);
|
||||
void put_zero_page(void);
|
||||
|
||||
int do_mmap(struct vm_file *mapfile, unsigned long f_offset, struct tcb *t,
|
||||
unsigned long map_address, unsigned int flags, unsigned int pages);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user