mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 21:24:11 -04:00
kern: add KPageGroup::CopyRangeTo
This commit is contained in:
parent
952188fc73
commit
6922eae3e7
3 changed files with 58 additions and 23 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue