kernel/vm: VMPageQueue's Count should be page_num_t.
It's the same as phys_addr_t anyway, but this clarifies things.
This commit is contained in:
@@ -49,7 +49,7 @@ public:
|
|||||||
inline vm_page* Previous(vm_page* page) const;
|
inline vm_page* Previous(vm_page* page) const;
|
||||||
inline vm_page* Next(vm_page* page) const;
|
inline vm_page* Next(vm_page* page) const;
|
||||||
|
|
||||||
inline phys_addr_t Count() const { return fCount; }
|
inline page_num_t Count() const { return fCount; }
|
||||||
|
|
||||||
inline Iterator GetIterator() const;
|
inline Iterator GetIterator() const;
|
||||||
|
|
||||||
@@ -58,7 +58,7 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
const char* fName;
|
const char* fName;
|
||||||
spinlock fLock;
|
spinlock fLock;
|
||||||
phys_addr_t fCount;
|
page_num_t fCount;
|
||||||
PageList fPages;
|
PageList fPages;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user