Kernel Class

Definition

Line 7 of cmsxk/Kernel.cm

Constructors & Destructor

static Kernel()
private nothrow Kernel()
public ~Kernel()

Member Functions

public inline nothrow bool Booting() const
public nothrow Session* CurrentSession() const
public nothrow ExecutableFile* Executable() const
public nothrow GlobalFileTable& FileTable()
public nothrow ConsoleDriver* GetConsoleDriver()
public inline nothrow Debugger* GetDebugger()
public inline nothrow Machine& GetMachine()
public inline nothrow MemoryTable& GetMemoryTable()
public inline nothrow ProcessTable& GetProcessTable()
public nothrow const List<String<char>>& GetProgramArguments() const
public nothrow const String<char>& GetProgramFileName() const
public nothrow int GetProgramPID()
public inline nothrow SessionTable& GetSessionTable()
public inline nothrow bool HasUserDebugger() const
public inline nothrow const String<char>& Host() const
public void Init()
public static nothrow Kernel& Instance()
public nothrow void ResetBooting()
public nothrow void ResetWaiting()
private nothrow void RetrieveHostName()
public nothrow void SetBooting()
public nothrow void SetConsoleDriver(ConsoleDriver* consoleDriver_)
public nothrow void SetCurrentSession(Session* currentSession_)
public inline nothrow void SetDebugger(Debugger* debugger_)
public nothrow void SetExecutable(ExecutableFile* executable_)
public void SetIdle()
public void SetKernelEvent()
public nothrow void SetProgramArguments(const List<String<char>>& programArguments_)
public nothrow void SetProgramFileName(const String<char>& programFileName_)
public nothrow void SetProgramPID(int pid)
public nothrow void SetUser(const String<char>& user_)
public nothrow void SetWaiting()
public inline nothrow const String<char>& User() const
public void WaitIdle()
public void WaitKernelEvent()
public nothrow bool Waiting() const

Member Variables

private Debugger baseDebugger
private bool booting
private ConsoleDriver* consoleDriver
private Session* currentSession
private Debugger* debugger
private UniquePtr<ExecutableFile> executable
private GlobalFileTable globalFileTable
private String<char> host
private static UniquePtr<Kernel> instance
private void* kernelEvent
private void* kernelIdleEvent
private Machine& machine
private MemoryTable memoryTable
private ProcessTable& processTable
private List<String<char>> programArguments
private String<char> programFileName
private int programPID
private SessionTable& sessionTable
private String<char> user
private bool waiting

Constructor& Destructor Details

Kernel Static Constructor

static Kernel()

Definition
Line 9 of cmsxk/Kernel.cm


Kernel Constructor

private nothrow Kernel()

Definition
Line 16 of cmsxk/Kernel.cm


~Kernel Destructor

public ~Kernel()

Definition
Line 23 of cmsxk/Kernel.cm


Member Function Details

Booting Member Function

public inline nothrow bool Booting()

Definition
Line 133 of cmsxk/Kernel.cm


CurrentSession Member Function

public nothrow Session* CurrentSession()

Definition
Line 113 of cmsxk/Kernel.cm


Executable Member Function

public nothrow ExecutableFile* Executable()

Definition
Line 101 of cmsxk/Kernel.cm


FileTable Member Function

public nothrow GlobalFileTable& FileTable()

Definition
Line 105 of cmsxk/Kernel.cm


GetConsoleDriver Member Function

public nothrow ConsoleDriver* GetConsoleDriver()

Definition
Line 117 of cmsxk/Kernel.cm


GetDebugger Member Function

public inline nothrow Debugger* GetDebugger()

Definition
Line 85 of cmsxk/Kernel.cm


GetMachine Member Function

public inline nothrow Machine& GetMachine()

Definition
Line 45 of cmsxk/Kernel.cm


GetMemoryTable Member Function

public inline nothrow MemoryTable& GetMemoryTable()

Definition
Line 57 of cmsxk/Kernel.cm


GetProcessTable Member Function

public inline nothrow ProcessTable& GetProcessTable()

Definition
Line 53 of cmsxk/Kernel.cm


GetProgramArguments Member Function

public nothrow const List<String<char>>& GetProgramArguments()

Definition
Line 73 of cmsxk/Kernel.cm


GetProgramFileName Member Function

public nothrow const String<char>& GetProgramFileName()

Definition
Line 69 of cmsxk/Kernel.cm


GetProgramPID Member Function

public nothrow int GetProgramPID()

Definition
Line 81 of cmsxk/Kernel.cm


GetSessionTable Member Function

public inline nothrow SessionTable& GetSessionTable()

Definition
Line 49 of cmsxk/Kernel.cm


HasUserDebugger Member Function

public inline nothrow bool HasUserDebugger()

Definition
Line 93 of cmsxk/Kernel.cm


Host Member Function

public inline nothrow const String<char>& Host()

Definition
Line 36 of cmsxk/Kernel.cm


Init Member Function

public void Init()

Definition
Line 40 of cmsxk/Kernel.cm


Instance Static Member Function

public static nothrow Kernel& Instance()

Definition
Line 12 of cmsxk/Kernel.cm


ResetBooting Member Function

public nothrow void ResetBooting()

Definition
Line 129 of cmsxk/Kernel.cm


ResetWaiting Member Function

public nothrow void ResetWaiting()

Definition
Line 161 of cmsxk/Kernel.cm


RetrieveHostName Member Function

private nothrow void RetrieveHostName()

Definition
Line 165 of cmsxk/Kernel.cm


SetBooting Member Function

public nothrow void SetBooting()

Definition
Line 125 of cmsxk/Kernel.cm


SetConsoleDriver Member Function

public nothrow void SetConsoleDriver(ConsoleDriver* consoleDriver_)

Definition
Line 121 of cmsxk/Kernel.cm


SetCurrentSession Member Function

public nothrow void SetCurrentSession(Session* currentSession_)

Definition
Line 109 of cmsxk/Kernel.cm


SetDebugger Member Function

public inline nothrow void SetDebugger(Debugger* debugger_)

Definition
Line 89 of cmsxk/Kernel.cm


SetExecutable Member Function

public nothrow void SetExecutable(ExecutableFile* executable_)

Definition
Line 97 of cmsxk/Kernel.cm


SetIdle Member Function

public void SetIdle()

Definition
Line 137 of cmsxk/Kernel.cm


SetKernelEvent Member Function

public void SetKernelEvent()

Definition
Line 145 of cmsxk/Kernel.cm


SetProgramArguments Member Function

public nothrow void SetProgramArguments(const List<String<char>>& programArguments_)

Definition
Line 65 of cmsxk/Kernel.cm


SetProgramFileName Member Function

public nothrow void SetProgramFileName(const String<char>& programFileName_)

Definition
Line 61 of cmsxk/Kernel.cm


SetProgramPID Member Function

public nothrow void SetProgramPID(int pid)

Definition
Line 77 of cmsxk/Kernel.cm


SetUser Member Function

public nothrow void SetUser(const String<char>& user_)

Definition
Line 28 of cmsxk/Kernel.cm


SetWaiting Member Function

public nothrow void SetWaiting()

Definition
Line 157 of cmsxk/Kernel.cm


User Member Function

public inline nothrow const String<char>& User()

Definition
Line 32 of cmsxk/Kernel.cm


WaitIdle Member Function

public void WaitIdle()

Definition
Line 141 of cmsxk/Kernel.cm


WaitKernelEvent Member Function

public void WaitKernelEvent()

Definition
Line 149 of cmsxk/Kernel.cm


Waiting Member Function

public nothrow bool Waiting()

Definition
Line 153 of cmsxk/Kernel.cm