XenevaOS
Loading...
Searching...
No Matches
mmap.h
Go to the documentation of this file.
1
32#ifndef __MMAP_H__
33#define __MMAP_H__
34
35#include <stdint.h>
36#include <string.h>
37#include <Mm/vmmngr.h>
38#include <Mm/pmmngr.h>
39#include <Mm/kmalloc.h>
40#include <process.h>
41
46extern void SharedMemMapListInitialise();
47
59extern void* CreateMemMapping(void* address, size_t len, int prot, int flags, int fd,
60 uint64_t offset);
61
69extern void MemMapDirty(void* startingVaddr, size_t len, int flags, int prot);
75extern void UnmapMemMapping(void* address, size_t len);
76#endif
COMPILER_DEPENDENT_UINT64 uint64_t
Definition acefiex.h:165
void * CreateMemMapping(void *address, size_t len, int prot, int flags, int fd, uint64_t offset)
CreateMemMapping – Create a memory mapping of just memory, file or device.
Definition mmap.cpp:117
void UnmapMemMapping(void *address, size_t len)
UnmapMemMapping – unmaps a memory mapping.
Definition mmap.cpp:293
void MemMapDirty(void *startingVaddr, size_t len, int flags, int prot)
MemMapDirty – dirty update previously allocated memory map.
Definition mmap.cpp:249
void SharedMemMapListInitialise()
SharedMemMapListInitialise – initialise the shared memory map list.
Definition mmap.cpp:68