mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-24 12:35:31 +00:00
Label fixes.
This commit is contained in:
parent
fd87fe6ea1
commit
6f4b6098b4
2 changed files with 2 additions and 2 deletions
|
|
@ -121,7 +121,7 @@ namespace Cosmos.Core_Asm
|
||||||
|
|
||||||
// reload interrupt list
|
// reload interrupt list
|
||||||
XS.Set(EAX, "_NATIVE_IDT_Pointer");
|
XS.Set(EAX, "_NATIVE_IDT_Pointer");
|
||||||
XS.Set("static_field__Cosmos_Core_Common_CPU_mInterruptsEnabled", 1, destinationIsIndirect: true, size: RegisterSize.Byte8);
|
XS.Set("static_field__Cosmos_Core_CPU_mInterruptsEnabled", 1, destinationIsIndirect: true, size: RegisterSize.Byte8);
|
||||||
XS.LoadIdt(EAX, isIndirect: true);
|
XS.LoadIdt(EAX, isIndirect: true);
|
||||||
// Reenable interrupts
|
// Reenable interrupts
|
||||||
XS.EnableInterrupts();
|
XS.EnableInterrupts();
|
||||||
|
|
|
||||||
|
|
@ -193,7 +193,7 @@ namespace Cosmos.IL2CPU
|
||||||
|
|
||||||
if (mComPort > 0)
|
if (mComPort > 0)
|
||||||
{
|
{
|
||||||
XS.Set("static_field__Cosmos_Core_Common_CPU_mInterruptsEnabled", 1, destinationIsIndirect: true);
|
XS.Set("static_field__Cosmos_Core_CPU_mInterruptsEnabled", 1, destinationIsIndirect: true, size: RegisterSize.Byte8);
|
||||||
XS.LoadIdt(XSRegisters.EAX, isIndirect: true);
|
XS.LoadIdt(XSRegisters.EAX, isIndirect: true);
|
||||||
}
|
}
|
||||||
XS.Label("AfterCreateIDT");
|
XS.Label("AfterCreateIDT");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue