diff --git a/source/Cosmos.System2/Kernel.cs b/source/Cosmos.System2/Kernel.cs
index 1ab5d8dd7..6143e6744 100644
--- a/source/Cosmos.System2/Kernel.cs
+++ b/source/Cosmos.System2/Kernel.cs
@@ -11,6 +11,9 @@ namespace Cosmos.System
///
public abstract class Kernel
{
+ ///
+ /// User ring debugger instance, with the tag "Kernel".
+ ///
public readonly Debugger mDebugger = new Debugger("User", "Kernel");
public bool ClearScreen = true;
@@ -20,17 +23,29 @@ namespace Cosmos.System
// Set to signal stopped
protected bool mStopped = false;
+ ///
+ /// Get text screen device.
+ ///
+ /// null
protected virtual TextScreenBase GetTextScreen()
{
// null means use default
return null;
}
+ ///
+ /// Get keyboard key layout.
+ ///
+ /// Keyboard key layout.
protected ScanMapBase GetKeyboardScanMap()
{
return KeyboardManager.GetKeyLayout();
}
+ ///
+ /// Set keyboard key layout.
+ ///
+ /// Keyboard key layout.
protected void SetKeyboardScanMap(ScanMapBase ScanMap)
{
KeyboardManager.SetKeyLayout(ScanMap);
@@ -128,21 +143,34 @@ namespace Cosmos.System
mStopped = true;
}
+ ///
+ /// Kernal object constructor.
+ ///
public Kernel()
{
Global.mDebugger.Send("In Cosmos.System.Kernel..ctor");
}
// Shutdown and restart
+ ///
+ /// Shutdown and restart.
+ ///
public void Restart()
{
}
+ ///
+ /// Print message to the debbuger at system ring with "Global"-tag.
+ ///
+ /// A message to print.
public static void PrintDebug(string message)
{
Global.mDebugger.Send(message);
}
+ ///
+ /// Get interrupts status.
+ ///
public static bool InterruptsEnabled
{
get