C# Класс Mosa.HardwareSystem.HAL

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Abort ( string message ) : void

Aborts with the specified message.

AllocateMemory ( uint size, uint alignment ) : IMemory

Allocates the memory.

DebugWrite ( string message ) : void

Debugs the write.

DebugWriteLine ( string message ) : void

Debugs the write line.

GetPhysicalAddress ( IMemory memory ) : uint

Gets the physical address.

ProcessInterrupt ( byte irq ) : void

Processes the interrupt.

SetHardwareAbstraction ( IHardwareAbstraction hardwareAbstraction ) : void

Sets the hardware abstraction.

SetInterruptHandler ( HandleInterrupt handleInterrupt ) : void

Sets the interrupt handler.

Sleep ( uint milliseconds ) : void

Sleeps the specified milliseconds.

Приватные методы

Метод Описание
DisableAllInterrupts ( ) : void

Disables all interrupts.

EnableAllInterrupts ( ) : void

Enables all interrupts.

RequestIOPort ( ushort port ) : IReadWriteIOPort

Requests an IO read/write port interface from the kernel

RequestPhysicalMemory ( uint address, uint size ) : IMemory

Requests a block of memory from the kernel

Описание методов

Abort() публичный статический Метод

Aborts with the specified message.
public static Abort ( string message ) : void
message string The message.
Результат void

AllocateMemory() публичный статический Метод

Allocates the memory.
public static AllocateMemory ( uint size, uint alignment ) : IMemory
size uint The size.
alignment uint The alignment.
Результат IMemory

DebugWrite() публичный статический Метод

Debugs the write.
public static DebugWrite ( string message ) : void
message string The message.
Результат void

DebugWriteLine() публичный статический Метод

Debugs the write line.
public static DebugWriteLine ( string message ) : void
message string The message.
Результат void

GetPhysicalAddress() публичный статический Метод

Gets the physical address.
public static GetPhysicalAddress ( IMemory memory ) : uint
memory IMemory The memory.
Результат uint

ProcessInterrupt() публичный статический Метод

Processes the interrupt.
public static ProcessInterrupt ( byte irq ) : void
irq byte The irq.
Результат void

SetHardwareAbstraction() публичный статический Метод

Sets the hardware abstraction.
public static SetHardwareAbstraction ( IHardwareAbstraction hardwareAbstraction ) : void
hardwareAbstraction IHardwareAbstraction The hardware abstraction.
Результат void

SetInterruptHandler() публичный статический Метод

Sets the interrupt handler.
public static SetInterruptHandler ( HandleInterrupt handleInterrupt ) : void
handleInterrupt HandleInterrupt The handle interrupt.
Результат void

Sleep() публичный статический Метод

Sleeps the specified milliseconds.
public static Sleep ( uint milliseconds ) : void
milliseconds uint The milliseconds.
Результат void