Class CPUImpl
Inheritance
System.Object
CPUImpl
Assembly: Cosmos.Core_Asm.dll
Syntax
public class CPUImpl : object
Methods
|
Improve this Doc
View Source
CanReadCPUID()
Declaration
public static int CanReadCPUID()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
DoDisableInterrupts()
Declaration
public static void DoDisableInterrupts()
|
Improve this Doc
View Source
DoEnableInterrupts()
Declaration
public static void DoEnableInterrupts()
|
Improve this Doc
View Source
GetAmountOfRAM()
Declaration
public static uint GetAmountOfRAM()
Returns
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
GetEndOfKernel()
Declaration
public static uint GetEndOfKernel()
Returns
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
Halt(CPU)
Declaration
public static void Halt(CPU aThis)
Parameters
Type |
Name |
Description |
CPU |
aThis |
|
|
Improve this Doc
View Source
InitFloat(CPU)
Declaration
public static void InitFloat(CPU aThis)
Parameters
Type |
Name |
Description |
CPU |
aThis |
|
|
Improve this Doc
View Source
InitSSE(CPU)
Declaration
public static void InitSSE(CPU aThis)
Parameters
Type |
Name |
Description |
CPU |
aThis |
|
|
Improve this Doc
View Source
ReadCPUID(UInt32, ref Int32, ref Int32, ref Int32, ref Int32)
Declaration
public static void ReadCPUID(uint type, ref int eax, ref int ebx, ref int ecx, ref int edx)
Parameters
Type |
Name |
Description |
System.UInt32 |
type |
|
System.Int32 |
eax |
|
System.Int32 |
ebx |
|
System.Int32 |
ecx |
|
System.Int32 |
edx |
|
|
Improve this Doc
View Source
ReadFromModelSpecificRegister()
Declaration
public static int[] ReadFromModelSpecificRegister()
Returns
Type |
Description |
System.Int32[] |
|
|
Improve this Doc
View Source
ReadTimestampCounter()
Declaration
public static ulong ReadTimestampCounter()
Returns
Type |
Description |
System.UInt64 |
|
|
Improve this Doc
View Source
UpdateIDT(CPU, Boolean)
Declaration
public static void UpdateIDT(CPU aThis, bool aEnableInterruptsImmediately)
Parameters
Type |
Name |
Description |
CPU |
aThis |
|
System.Boolean |
aEnableInterruptsImmediately |
|
|
Improve this Doc
View Source
ZeroFill(UInt32, UInt32)
Declaration
public static void ZeroFill(uint aStartAddress, uint aLength)
Parameters
Type |
Name |
Description |
System.UInt32 |
aStartAddress |
|
System.UInt32 |
aLength |
|