20 #include "FatSymlink.h" 21 #include "FatFilesystem.h" 22 #include "modules/system/vfs/File.h" 24 FatSymlink::FatSymlink(
25 String name, Time::Timestamp accessedTime, Time::Timestamp modifiedTime,
26 Time::Timestamp creationTime, uintptr_t inode,
class Filesystem *pFs,
27 size_t size, uint32_t dirClus, uint32_t dirOffset,
File *pParent)
29 name, accessedTime, modifiedTime, creationTime, inode, pFs, size,
31 m_DirClus(dirClus), m_DirOffset(dirOffset)
35 FILE_UR | FILE_UW | FILE_UX | FILE_GR | FILE_GW | FILE_GX | FILE_OR |
40 uint64_t location, uint64_t size, uintptr_t buffer,
bool bCanBlock)
43 return pFs->read(
this, location, size, buffer);
47 uint64_t location, uint64_t size, uintptr_t buffer,
bool bCanBlock)
50 uint64_t ret = pFs->write(
this, location, size, buffer);
virtual bool initialise(Disk *pDisk)
virtual uint64_t writeBytewise(uint64_t location, uint64_t size, uintptr_t buffer, bool bCanBlock=true)
virtual uint64_t readBytewise(uint64_t location, uint64_t size, uintptr_t buffer, bool bCanBlock=true)