23 #include "pedigree/kernel/machine/Disk.h" 24 #include "pedigree/kernel/utilities/Cache.h" 42 str =
"Hosted disk image";
47 str =
"Hosted disk image";
50 virtual uintptr_t
read(uint64_t location);
59 virtual void pin(uint64_t location);
61 virtual void unpin(uint64_t location);
virtual void getName(String &str)
virtual size_t getBlockSize() const
Gets the block size of the disk.
virtual uintptr_t read(uint64_t location)
virtual void unpin(uint64_t location)
virtual void pin(uint64_t location)
Pins a cache page.
virtual size_t getSize() const
Gets the size of the disk.
virtual void dump(String &str)