mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-11 18:51:41 +00:00
remove int3 from idt if no source debug activated
This commit is contained in:
parent
5d7774323c
commit
f5fb7ea6ec
1 changed files with 3 additions and 1 deletions
|
|
@ -160,7 +160,9 @@ namespace Cosmos.IL2CPU.X86 {
|
|||
DataMembers.Add(new DataMember("_NATIVE_IDT_Contents", new byte[xIdtSize]));
|
||||
//
|
||||
//SetIdtDescriptor(1, "DebugStub_INT0");
|
||||
SetIdtDescriptor(3, "DebugStub_TracerEntry", false);
|
||||
if (mComNumber > 0) {
|
||||
SetIdtDescriptor(3, "DebugStub_TracerEntry", false);
|
||||
}
|
||||
//SetIdtDescriptor(1, "DebugStub_INT0"); - Change to GPF
|
||||
|
||||
// Set IDT
|
||||
|
|
|
|||
Loading…
Reference in a new issue