mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-22 22:09:12 +00:00
This commit is contained in:
parent
3cd7eb7d54
commit
95936330ee
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue