This commit is contained in:
forest201_cp 2013-10-23 16:05:30 +00:00
parent 3cd7eb7d54
commit 95936330ee

View file

@ -50,7 +50,7 @@ namespace Cosmos.Core
public unsafe static void HandleGPF(ref Cosmos.Core.INTs.IRQContext aContext, ref bool Handled)
public unsafe static void HandleGPF(ref Cosmos.Core.INTs.IRQContext aContext)
{
Console.Clear();
@ -116,7 +116,7 @@ namespace Cosmos.Core
public static bool Init()
{
Cosmos.Core.INTs.GeneralProtectionFault += new Cosmos.Core.INTs.ExceptionInterruptDelegate(HandleGPF);
Cosmos.Core.INTs.GeneralProtectionFault = new Cosmos.Core.INTs.InterruptDelegate(HandleGPF);
ProtectArea = Cosmos.Core.CPU.GetEndOfKernel();
TotalMemory = ((Cosmos.Core.CPU.GetAmountOfRAM() - 1) * 1048576);