mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-26 22:02:15 +00:00
Merge branch 'master' of https://github.com/Atmosphere-NX/Atmosphere
This commit is contained in:
commit
39f5933600
2 changed files with 14 additions and 4 deletions
|
@ -122,6 +122,16 @@ namespace ams::kern {
|
||||||
public:
|
public:
|
||||||
constexpr KLinkedList() : BaseList() { /* ... */ }
|
constexpr KLinkedList() : BaseList() { /* ... */ }
|
||||||
|
|
||||||
|
~KLinkedList() {
|
||||||
|
/* Erase all elements. */
|
||||||
|
for (auto it = this->begin(); it != this->end(); it = this->erase(it)) {
|
||||||
|
/* ... */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Ensure we succeeded. */
|
||||||
|
MESOSPHERE_ASSERT(this->empty());
|
||||||
|
}
|
||||||
|
|
||||||
/* Iterator accessors. */
|
/* Iterator accessors. */
|
||||||
iterator begin() {
|
iterator begin() {
|
||||||
return iterator(BaseList::begin());
|
return iterator(BaseList::begin());
|
||||||
|
|
|
@ -192,10 +192,10 @@ namespace ams::svc {
|
||||||
};
|
};
|
||||||
|
|
||||||
enum CodeMemoryOperation : u32 {
|
enum CodeMemoryOperation : u32 {
|
||||||
CodeMemoryOperation_MapOwner = 0,
|
CodeMemoryOperation_Map = 0,
|
||||||
CodeMemoryOperation_MapSlave = 1,
|
CodeMemoryOperation_MapToOwner = 1,
|
||||||
CodeMemoryOperation_UnmapOwner = 2,
|
CodeMemoryOperation_Unmap = 2,
|
||||||
CodeMemoryOperation_UnmapSlave = 3,
|
CodeMemoryOperation_UnmapFromOwner = 3,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Synchronization types. */
|
/* Synchronization types. */
|
||||||
|
|
Loading…
Reference in a new issue