mirror of
https://github.com/drasko/codezero.git
synced 2026-02-28 17:53:13 +01:00
Initial commit
This commit is contained in:
17
tasks/mm0/include/mmap.h
Normal file
17
tasks/mm0/include/mmap.h
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* Prototypes for mmap/munmap functions that do the actual work.
|
||||
*
|
||||
* Copyright (C) 2007 Bahadir Balban
|
||||
*/
|
||||
#ifndef __MM0_MMAP_H__
|
||||
#define __MM0_MMAP_H__
|
||||
|
||||
#include <task.h>
|
||||
#include <vm_area.h>
|
||||
|
||||
int do_munmap(void *vaddr, unsigned long size, struct tcb *task);
|
||||
|
||||
int do_mmap(struct vm_file *mapfile, unsigned long f_offset, struct tcb *t,
|
||||
unsigned long map_address, unsigned int flags, unsigned int pages);
|
||||
|
||||
#endif /* __MM0_MMAP_H__ */
|
||||
Reference in New Issue
Block a user