Style cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43122 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
bbc851098d
commit
ab3d6a3eaf
@ -64,6 +64,9 @@ public:
|
||||
|
||||
virtual void Merge(VMCache* source);
|
||||
|
||||
protected:
|
||||
virtual void DeleteObject();
|
||||
|
||||
private:
|
||||
class WriteCallback;
|
||||
friend class WriteCallback;
|
||||
|
@ -17,18 +17,23 @@ class VMAnonymousNoSwapCache : public VMCache {
|
||||
public:
|
||||
virtual ~VMAnonymousNoSwapCache();
|
||||
|
||||
status_t Init(bool canOvercommit, int32 numPrecommittedPages,
|
||||
int32 numGuardPages, uint32 allocationFlags);
|
||||
status_t Init(bool canOvercommit,
|
||||
int32 numPrecommittedPages,
|
||||
int32 numGuardPages,
|
||||
uint32 allocationFlags);
|
||||
|
||||
virtual status_t Commit(off_t size, int priority);
|
||||
virtual bool HasPage(off_t offset);
|
||||
|
||||
virtual status_t Read(off_t offset, const iovec *vecs, size_t count,
|
||||
uint32 flags, size_t *_numBytes);
|
||||
virtual status_t Write(off_t offset, const iovec *vecs, size_t count,
|
||||
uint32 flags, size_t *_numBytes);
|
||||
virtual status_t Read(off_t offset, const iovec* vecs,
|
||||
size_t count, uint32 flags,
|
||||
size_t* _numBytes);
|
||||
virtual status_t Write(off_t offset, const iovec* vecs,
|
||||
size_t count, uint32 flags,
|
||||
size_t* _numBytes);
|
||||
|
||||
virtual status_t Fault(struct VMAddressSpace *aspace, off_t offset);
|
||||
virtual status_t Fault(struct VMAddressSpace* aspace,
|
||||
off_t offset);
|
||||
|
||||
virtual void MergeStore(VMCache* source);
|
||||
|
||||
|
@ -15,12 +15,15 @@
|
||||
|
||||
class VMDeviceCache : public VMCache {
|
||||
public:
|
||||
status_t Init(addr_t baseAddress, uint32 allocationFlags);
|
||||
status_t Init(addr_t baseAddress,
|
||||
uint32 allocationFlags);
|
||||
|
||||
virtual status_t Read(off_t offset, const iovec *vecs, size_t count,
|
||||
uint32 flags, size_t *_numBytes);
|
||||
virtual status_t Write(off_t offset, const iovec *vecs, size_t count,
|
||||
uint32 flags, size_t *_numBytes);
|
||||
virtual status_t Read(off_t offset, const iovec* vecs,
|
||||
size_t count, uint32 flags,
|
||||
size_t* _numBytes);
|
||||
virtual status_t Write(off_t offset, const iovec* vecs,
|
||||
size_t count, uint32 flags,
|
||||
size_t* _numBytes);
|
||||
|
||||
private:
|
||||
addr_t fBaseAddress;
|
||||
|
Loading…
Reference in New Issue
Block a user