kern: implement enough of KPageTable to initialize a thread
This commit is contained in:
@@ -103,8 +103,11 @@ namespace ams::kern {
|
||||
}
|
||||
}
|
||||
|
||||
/* Update our tracking. */
|
||||
if (AMS_LIKELY(allocated != nullptr)) {
|
||||
/* Construct the object. */
|
||||
new (allocated) T();
|
||||
|
||||
/* Update our tracking. */
|
||||
size_t used = ++this->used;
|
||||
size_t peak = this->peak;
|
||||
while (peak < used) {
|
||||
|
||||
Reference in New Issue
Block a user