Support ObReferenceObjectByHandle for XEvents.

This commit is contained in:
Ben Vanik
2015-09-01 17:42:07 -07:00
parent b9debbaa63
commit f3c75b8d87
3 changed files with 25 additions and 15 deletions

View File

@@ -146,7 +146,7 @@ uint8_t GetFakeCpuNumber(uint8_t proc_mask) {
}
X_STATUS XThread::Create() {
// Thread kernel object
// Thread kernel object.
// This call will also setup the native pointer for us.
auto guest_thread = CreateNative<X_KTHREAD>();
if (!guest_thread) {