The Pedigree Project 0.1
Classes | Typedefs
MemoryMappedFile.h File Reference

Memory-mapped file interface. More...

#include "pedigree/kernel/Spinlock.h"
#include "pedigree/kernel/compiler.h"
#include "pedigree/kernel/process/FilesystemContext.h"
#include "pedigree/kernel/process/MemoryPressureManager.h"
#include "pedigree/kernel/process/Mutex.h"
#include "pedigree/kernel/process/TerminationDeferral.h"
#include "pedigree/kernel/process/Uninterruptible.h"
#include "pedigree/kernel/processor/PageFaultHandler.h"
#include "pedigree/kernel/processor/UserMemoryPolicy.h"
#include "pedigree/kernel/processor/VirtualAddressSpace.h"
#include "pedigree/kernel/processor/state_forward.h"
#include "pedigree/kernel/processor/types.h"
#include "pedigree/kernel/utilities/Cache.h"
#include "pedigree/kernel/utilities/List.h"
#include "pedigree/kernel/utilities/SharedPointer.h"
#include "pedigree/kernel/utilities/String.h"
#include "pedigree/kernel/utilities/Tree.h"
#include "pedigree/kernel/utilities/new"
#include <config.h>
#include "MappingList.h"
#include "SwapStore.h"
+ Include dependency graph for MemoryMappedFile.h:

Go to the source code of this file.

Classes

struct  FileMappingOrigin
 
class  MappingAttachment
 
class  MemoryMappedObject
 
class  AnonymousMemoryMap
 
struct  AnonymousMemoryMap::Page
 
class  MemoryMappedFile
 
class  MemoryMapManager
 
struct  MemoryMapManager::RemapRequest
 
class  MemoryMapManager::PreparedFileResize
 
class  MemoryMapManager::OperationGuard
 

Typedefs

using FileResidencyAccess = bool(*)(File *, void *)
 

Detailed Description

Memory-mapped file interface.

Provides a mechanism for mapping Files into the address space.

Todo:
Handle writing of files, not just reading.

Definition in file MemoryMappedFile.h.

Typedef Documentation

◆ FileResidencyAccess

using FileResidencyAccess = bool (*)(File*, void*)

Definition at line 50 of file MemoryMappedFile.h.