mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 04:18:43 +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
|
||||
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);
|
||||
// Reenable interrupts
|
||||
XS.EnableInterrupts();
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@ namespace Cosmos.IL2CPU
|
|||
|
||||
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.Label("AfterCreateIDT");
|
||||
|
|
|
|||
Loading…
Reference in a new issue