kern: add KPageGroup::CopyRangeTo

This commit is contained in:
Michael Scire 2024-03-28 02:50:37 -07:00 committed by SciresM
parent 952188fc73
commit 6922eae3e7
3 changed files with 58 additions and 23 deletions

View file

@ -145,6 +145,8 @@ namespace ams::kern {
bool IsEquivalentTo(const KPageGroup &rhs) const;
Result CopyRangeTo(KPageGroup &out, size_t offset, size_t size) const;
ALWAYS_INLINE bool operator==(const KPageGroup &rhs) const {
return this->IsEquivalentTo(rhs);
}