mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 12:30:32 +00:00
42 lines
1.1 KiB
C#
42 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Cosmos.Core.IOGroup;
|
|
using Cosmos.Debug.Kernel;
|
|
|
|
namespace Cosmos.Core
|
|
{
|
|
public static class Global
|
|
{
|
|
public static BaseIOGroups BaseIOGroups = new BaseIOGroups();
|
|
|
|
public static readonly Debugger mDebugger = new Debugger("Core", "Global");
|
|
|
|
// These are used by Bootstrap.. but also called to signal end of interrupt etc...
|
|
// Need to chagne this.. I dont like how this is.. maybe isolate or split into to classes... one for boostrap one for
|
|
// later user
|
|
static public PIC PIC
|
|
{
|
|
get
|
|
{
|
|
return Bootstrap.PIC;
|
|
}
|
|
}
|
|
|
|
static public CPU CPU
|
|
{
|
|
get
|
|
{
|
|
return Bootstrap.CPU;
|
|
}
|
|
}
|
|
|
|
static public void Init()
|
|
{
|
|
// See note in Bootstrap about these
|
|
|
|
// DONT transform the properties in fields, as then they remain null somehow.
|
|
}
|
|
}
|
|
}
|