[Kernel] Simplify RtlNtStatusToDosError logging.

This commit is contained in:
gibbed 2018-11-20 16:25:07 -06:00
parent 7ae0e2b8e5
commit 0206e90398
1 changed files with 3 additions and 2 deletions

View File

@ -997,7 +997,7 @@ dword_result_t RtlNtStatusToDosError(dword_t source_status) {
if (!result) { if (!result) {
break; break;
} }
XELOGI("RtlNtStatusToDosError => %X", result); XELOGI("RtlNtStatusToDosError %X => %X", status, result);
return result; return result;
} }
++error_table; ++error_table;
@ -1010,7 +1010,8 @@ dword_result_t RtlNtStatusToDosError(dword_t source_status) {
XELOGE("RtlNtStatusToDosError lookup NOT IMPLEMENTED"); XELOGE("RtlNtStatusToDosError lookup NOT IMPLEMENTED");
return 317; // ERROR_MR_MID_NOT_FOUND return 317; // ERROR_MR_MID_NOT_FOUND
} }
DECLARE_XBOXKRNL_EXPORT2(RtlNtStatusToDosError, kNone, kImportant, kLogResult); DECLARE_XBOXKRNL_EXPORT3(RtlNtStatusToDosError, kNone, kImportant,
kHighFrequency, kLogResult);
void RegisterErrorExports(xe::cpu::ExportResolver* export_resolver, void RegisterErrorExports(xe::cpu::ExportResolver* export_resolver,
KernelState* kernel_state) {} KernelState* kernel_state) {}