From 3103f3aacc02309f38c62b1f1e9f52b2953ad389 Mon Sep 17 00:00:00 2001 From: valentinbreiz Date: Tue, 26 Dec 2023 11:15:52 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20debug=20mLastKnownAddress?= =?UTF-8?q?=20path?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/Cosmos.Core.DebugStub/AsmBreak.asm | 10 ++--- source/Cosmos.Core.DebugStub/CmdMisc.asm | 6 +-- source/Cosmos.Core.DebugStub/CmdProcess.asm | 6 +-- source/Cosmos.Core.DebugStub/CmdSend.asm | 40 +++++++++---------- source/Cosmos.Core.DebugStub/DebugStub.asm | 10 ++--- source/Cosmos.Core.DebugStub/Screen.asm | 4 +- source/Cosmos.Core.DebugStub/Serial.asm | 6 +-- .../Cosmos.Core.DebugStub/SerialHelpers.asm | 20 +++++----- source/Cosmos.Core.DebugStub/SerialIO.asm | 4 +- source/Cosmos.Core.DebugStub/Utilities.asm | 2 +- 10 files changed, 54 insertions(+), 54 deletions(-) diff --git a/source/Cosmos.Core.DebugStub/AsmBreak.asm b/source/Cosmos.Core.DebugStub/AsmBreak.asm index 85c8ab129..f1b0ac2f5 100644 --- a/source/Cosmos.Core.DebugStub/AsmBreak.asm +++ b/source/Cosmos.Core.DebugStub/AsmBreak.asm @@ -12,7 +12,7 @@ Call DebugStub_ClearAsmBreak Call DebugStub_Break DebugStub_DoAsmBreak_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_DoAsmBreak_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_DoAsmBreak_Exit Ret @@ -27,7 +27,7 @@ mov byte AL, 0xCC mov byte [EDI], AL DebugStub_SetAsmBreak_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SetAsmBreak_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SetAsmBreak_Exit Ret @@ -40,7 +40,7 @@ mov byte [EDI], AL mov dword [DebugStub_AsmBreakEIP], 0x0 DebugStub_ClearAsmBreak_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ClearAsmBreak_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ClearAsmBreak_Exit Ret @@ -56,7 +56,7 @@ pop dword EAX pop dword EBP DebugStub_SetINT1_TrapFLAG_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SetINT1_TrapFLAG_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SetINT1_TrapFLAG_Exit Ret @@ -72,6 +72,6 @@ pop dword EAX pop dword EBP DebugStub_ResetINT1_TrapFLAG_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ResetINT1_TrapFLAG_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ResetINT1_TrapFLAG_Exit Ret diff --git a/source/Cosmos.Core.DebugStub/CmdMisc.asm b/source/Cosmos.Core.DebugStub/CmdMisc.asm index 3bf458306..374200487 100644 --- a/source/Cosmos.Core.DebugStub/CmdMisc.asm +++ b/source/Cosmos.Core.DebugStub/CmdMisc.asm @@ -7,7 +7,7 @@ mov byte AL, 0xD Call DebugStub_ComWriteAL DebugStub_Ping_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_Ping_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_Ping_Exit Ret @@ -15,7 +15,7 @@ DebugStub_TraceOn: mov dword [DebugStub_TraceMode], 0x1 DebugStub_TraceOn_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_TraceOn_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_TraceOn_Exit Ret @@ -23,6 +23,6 @@ DebugStub_TraceOff: mov dword [DebugStub_TraceMode], 0x0 DebugStub_TraceOff_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_TraceOff_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_TraceOff_Exit Ret diff --git a/source/Cosmos.Core.DebugStub/CmdProcess.asm b/source/Cosmos.Core.DebugStub/CmdProcess.asm index 9767d13fb..67ba81ebd 100644 --- a/source/Cosmos.Core.DebugStub/CmdProcess.asm +++ b/source/Cosmos.Core.DebugStub/CmdProcess.asm @@ -98,7 +98,7 @@ DebugStub_ProcessCommand_Block12_End: DebugStub_ProcessCommand_Exit: pop dword EAX -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ProcessCommand_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ProcessCommand_Exit Ret @@ -109,7 +109,7 @@ mov dword EAX, [DebugStub_CommandID] Call DebugStub_ComWriteAL DebugStub_AckCommand_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_AckCommand_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_AckCommand_Exit Ret @@ -122,6 +122,6 @@ JNE near DebugStub_ProcessCommandBatch_Begin Call DebugStub_AckCommand DebugStub_ProcessCommandBatch_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ProcessCommandBatch_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ProcessCommandBatch_Exit Ret diff --git a/source/Cosmos.Core.DebugStub/CmdSend.asm b/source/Cosmos.Core.DebugStub/CmdSend.asm index 5ceb811ee..508c1bc42 100644 --- a/source/Cosmos.Core.DebugStub/CmdSend.asm +++ b/source/Cosmos.Core.DebugStub/CmdSend.asm @@ -15,7 +15,7 @@ Call DebugStub_ComWrite32 DebugStub_SendRegisters_Exit: - mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendRegisters_Exit + mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendRegisters_Exit Ret @@ -30,7 +30,7 @@ Call DebugStub_ComWriteX DebugStub_SendFrame_Exit: - mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendFrame_Exit + mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendFrame_Exit Ret @@ -57,7 +57,7 @@ DebugStub_SendCommandOnChannel_Block1_End: DebugStub_SendCommandOnChannel_Exit: - mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendCommandOnChannel_Exit + mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendCommandOnChannel_Exit Ret @@ -79,7 +79,7 @@ DebugStub_SendStack_Block1_End: DebugStub_SendStack_Exit: - mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendStack_Exit + mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendStack_Exit Ret @@ -104,7 +104,7 @@ DebugStub_SendMethodContext_Exit: Popad - mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendMethodContext_Exit + mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendMethodContext_Exit Ret @@ -128,7 +128,7 @@ DebugStub_SendMemory_Exit: Popad - mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendMemory_Exit + mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendMemory_Exit Ret @@ -144,7 +144,7 @@ Call DebugStub_ComWrite32 DebugStub_SendTrace_Exit: - mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendTrace_Exit + mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendTrace_Exit Ret @@ -173,7 +173,7 @@ pop dword EBP DebugStub_SendText_Exit: - mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendText_Exit + mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendText_Exit Ret @@ -189,7 +189,7 @@ pop dword EBP DebugStub_SendSimpleNumber_Exit: - mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendSimpleNumber_Exit + mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendSimpleNumber_Exit Ret @@ -206,7 +206,7 @@ pop dword EBP DebugStub_SendKernelPanic_Exit: - mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendKernelPanic_Exit + mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendKernelPanic_Exit Ret @@ -224,7 +224,7 @@ pop dword EBP DebugStub_SendSimpleLongNumber_Exit: - mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendSimpleLongNumber_Exit + mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendSimpleLongNumber_Exit Ret @@ -240,7 +240,7 @@ pop dword EBP DebugStub_SendComplexNumber_Exit: - mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendComplexNumber_Exit + mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendComplexNumber_Exit Ret @@ -258,7 +258,7 @@ pop dword EBP DebugStub_SendComplexLongNumber_Exit: - mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendComplexLongNumber_Exit + mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendComplexLongNumber_Exit Ret @@ -269,7 +269,7 @@ Call DebugStub_ComWrite32 DebugStub_SendPtr_Exit: - mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendPtr_Exit + mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendPtr_Exit Ret @@ -280,7 +280,7 @@ Call DebugStub_ComWrite32 DebugStub_SendStackCorruptionOccurred_Exit: - mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendStackCorruptionOccurred_Exit + mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendStackCorruptionOccurred_Exit Ret @@ -291,7 +291,7 @@ Call DebugStub_ComWrite32 DebugStub_SendStackOverflowOccurred_Exit: - mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendStackOverflowOccurred_Exit + mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendStackOverflowOccurred_Exit Ret @@ -303,7 +303,7 @@ Call DebugStub_ComWriteEAX DebugStub_SendInterruptOccurred_Exit: - mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendInterruptOccurred_Exit + mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendInterruptOccurred_Exit Ret @@ -314,7 +314,7 @@ Call DebugStub_ComWrite32 DebugStub_SendNullReferenceOccurred_Exit: - mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendNullReferenceOccurred_Exit + mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendNullReferenceOccurred_Exit Ret @@ -336,7 +336,7 @@ Jmp DebugStub_SendMessageBox_WriteChar DebugStub_SendMessageBox_Exit: - mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendMessageBox_Exit + mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendMessageBox_Exit Ret @@ -380,7 +380,7 @@ DebugStub_SendCoreDump_Block2_End: DebugStub_SendCoreDump_Exit: - mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendCoreDump_Exit + mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SendCoreDump_Exit Ret diff --git a/source/Cosmos.Core.DebugStub/DebugStub.asm b/source/Cosmos.Core.DebugStub/DebugStub.asm index 3f3355fd6..fcd8fc76b 100644 --- a/source/Cosmos.Core.DebugStub/DebugStub.asm +++ b/source/Cosmos.Core.DebugStub/DebugStub.asm @@ -66,7 +66,7 @@ DebugStub_BreakOnAddress_Continue: DebugStub_BreakOnAddress_Exit: Popad -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_BreakOnAddress_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_BreakOnAddress_Exit Ret @@ -79,7 +79,7 @@ mov byte [EDI], AL DebugStub_SetINT3_Exit: Popad -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SetINT3_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_SetINT3_Exit Ret @@ -92,7 +92,7 @@ mov byte [EDI], AL DebugStub_ClearINT3_Exit: Popad -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ClearINT3_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ClearINT3_Exit Ret @@ -178,7 +178,7 @@ Jmp DebugStub_Executing_CheckForCmd DebugStub_Executing_Block11_End: DebugStub_Executing_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_Executing_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_Executing_Exit Ret @@ -235,6 +235,6 @@ Call DebugStub_AckCommand mov dword [DebugStub_DebugStatus], DebugStub_Const_Status_Run DebugStub_Break_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_Break_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_Break_Exit Ret diff --git a/source/Cosmos.Core.DebugStub/Screen.asm b/source/Cosmos.Core.DebugStub/Screen.asm index 0d7b0bdb8..ba59dc23f 100644 --- a/source/Cosmos.Core.DebugStub/Screen.asm +++ b/source/Cosmos.Core.DebugStub/Screen.asm @@ -21,7 +21,7 @@ DebugStub_Cls_Block1_End: DebugStub_Cls_Exit: - mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_Cls_Exit + mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_Cls_Exit Ret @@ -42,7 +42,7 @@ DebugStub_DisplayWaitMsg_Block1_End: DebugStub_DisplayWaitMsg_Exit: - mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_DisplayWaitMsg_Exit + mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_DisplayWaitMsg_Exit Ret %endif diff --git a/source/Cosmos.Core.DebugStub/Serial.asm b/source/Cosmos.Core.DebugStub/Serial.asm index 65390d950..f9d8d7854 100644 --- a/source/Cosmos.Core.DebugStub/Serial.asm +++ b/source/Cosmos.Core.DebugStub/Serial.asm @@ -27,7 +27,7 @@ mov byte AL, 0x3 Call DebugStub_WriteRegister DebugStub_InitSerial_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_InitSerial_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_InitSerial_Exit Ret @@ -42,7 +42,7 @@ mov word DX, 0x0 Call DebugStub_ReadRegister DebugStub_ComReadAL_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ComReadAL_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ComReadAL_Exit Ret @@ -59,7 +59,7 @@ Call DebugStub_WriteRegister inc dword ESI DebugStub_ComWrite8_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ComWrite8_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ComWrite8_Exit Ret %endif diff --git a/source/Cosmos.Core.DebugStub/SerialHelpers.asm b/source/Cosmos.Core.DebugStub/SerialHelpers.asm index ac326a0f9..0240f0032 100644 --- a/source/Cosmos.Core.DebugStub/SerialHelpers.asm +++ b/source/Cosmos.Core.DebugStub/SerialHelpers.asm @@ -13,7 +13,7 @@ Call DebugStub_ComReadAL ror dword EAX, 0x8 DebugStub_ComReadEAX_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ComReadEAX_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ComReadEAX_Exit Ret @@ -23,7 +23,7 @@ mov byte [EDI], AL add dword EDI, 0x1 DebugStub_ComRead8_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ComRead8_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ComRead8_Exit Ret @@ -32,7 +32,7 @@ Call DebugStub_ComRead8 Call DebugStub_ComRead8 DebugStub_ComRead16_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ComRead16_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ComRead16_Exit Ret @@ -43,7 +43,7 @@ Call DebugStub_ComRead8 Call DebugStub_ComRead8 DebugStub_ComRead32_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ComRead32_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ComRead32_Exit Ret @@ -56,7 +56,7 @@ pop dword EAX pop dword ESI DebugStub_ComWriteAL_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ComWriteAL_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ComWriteAL_Exit Ret @@ -67,7 +67,7 @@ Call DebugStub_ComWrite16 pop dword EAX DebugStub_ComWriteAX_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ComWriteAX_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ComWriteAX_Exit Ret @@ -78,7 +78,7 @@ Call DebugStub_ComWrite32 pop dword EAX DebugStub_ComWriteEAX_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ComWriteEAX_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ComWriteEAX_Exit Ret @@ -87,7 +87,7 @@ Call DebugStub_ComWrite8 Call DebugStub_ComWrite8 DebugStub_ComWrite16_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ComWrite16_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ComWrite16_Exit Ret @@ -98,7 +98,7 @@ Call DebugStub_ComWrite8 Call DebugStub_ComWrite8 DebugStub_ComWrite32_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ComWrite32_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ComWrite32_Exit Ret @@ -110,6 +110,6 @@ dec dword ECX JNE near DebugStub_ComWriteX_More DebugStub_ComWriteX_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ComWriteX_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ComWriteX_Exit Ret diff --git a/source/Cosmos.Core.DebugStub/SerialIO.asm b/source/Cosmos.Core.DebugStub/SerialIO.asm index fd9b17023..e13604b44 100644 --- a/source/Cosmos.Core.DebugStub/SerialIO.asm +++ b/source/Cosmos.Core.DebugStub/SerialIO.asm @@ -11,7 +11,7 @@ out DX, AL pop dword EDX DebugStub_WriteRegister_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_WriteRegister_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_WriteRegister_Exit Ret @@ -22,7 +22,7 @@ in byte AL, DX pop dword EDX DebugStub_ReadRegister_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ReadRegister_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_ReadRegister_Exit Ret %endif diff --git a/source/Cosmos.Core.DebugStub/Utilities.asm b/source/Cosmos.Core.DebugStub/Utilities.asm index 0d1d36254..16dd06d9c 100644 --- a/source/Cosmos.Core.DebugStub/Utilities.asm +++ b/source/Cosmos.Core.DebugStub/Utilities.asm @@ -18,6 +18,6 @@ Jmp DebugStub_CheckStack_halt DebugStub_CheckStack_Block1_End: DebugStub_CheckStack_Exit: -mov dword [static_field__Cosmos_Core_INTs_mLastKnownAddress], DebugStub_CheckStack_Exit +mov dword [static_field__A1Cosmos_Core_INTs_mLastKnownAddress], DebugStub_CheckStack_Exit Ret