23 #include "modules/system/vfs/File.h" 24 #include "pedigree/kernel/compiler.h" 25 #include "pedigree/kernel/machine/Disk.h" 26 #include "pedigree/kernel/process/Mutex.h" 27 #include "pedigree/kernel/processor/MemoryRegion.h" 28 #include "pedigree/kernel/processor/types.h" 29 #include "pedigree/kernel/utilities/Cache.h" 30 #include "pedigree/kernel/utilities/String.h" 37 #define FILEDISK_PAGE_SIZE 4096 67 str = m_pFile->getName();
74 virtual uintptr_t
read(uint64_t location);
75 virtual void write(uint64_t location);
76 virtual void align(uint64_t location);
106 uint64_t m_AlignPoints[8];
107 size_t m_nAlignPoints;
virtual bool cacheIsCritical()
virtual uintptr_t read(uint64_t location)
virtual void getName(String &str)
Special memory entity in the kernel's virtual address space.
AccessType m_Mode
Access mode.
File * m_pFile
File we're using as a disk.
virtual void write(uint64_t location)
virtual void align(uint64_t location)
Sets the page boundary alignment after a specific location on the disk.