C# 클래스 Mosa.HardwareSystem.HAL

파일 보기 프로젝트 열기: tgiphil/MOSA-Project 1 사용 예제들

공개 메소드들

메소드 설명
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