C# 클래스 Mosa.Kernel.x86.VirtualPageAllocator

A virtual page allocator.
This is a simple bitmap implementation with no optimizations.
파일 보기 프로젝트 열기: tgiphil/MOSA-Project 1 사용 예제들

공개 메소드들

메소드 설명
Release ( uint address, uint count ) : void

Releases the pages.

Reserve ( uint size ) : uint

Reserves the pages.

Setup ( ) : void

Setups this instance.

비공개 메소드들

메소드 설명
GetPageIndex ( uint address ) : uint

Gets the index of the page.

GetPageStatus ( uint page ) : bool

Gets the page status from the bitmap

SetPageStatus ( uint page, bool free ) : void

Sets the page status in the bitmap.

메소드 상세

Release() 공개 정적인 메소드

Releases the pages.
public static Release ( uint address, uint count ) : void
address uint The address.
count uint The count.
리턴 void

Reserve() 공개 정적인 메소드

Reserves the pages.
public static Reserve ( uint size ) : uint
size uint The size.
리턴 uint

Setup() 공개 정적인 메소드

Setups this instance.
public static Setup ( ) : void
리턴 void