C# Class Mosa.Kernel.x86.PageFrameAllocator

A physical page allocator.
Afficher le fichier Open project: tgiphil/MOSA-Project Class Usage Examples

Méthodes publiques

Méthode Description
Allocate ( ) : uint

Allocate a physical page from the free list

Free ( uint address ) : void

Releases a page to the free list

Setup ( ) : void

Setup the physical page manager

Private Methods

Méthode Description
AddFreeMemory ( uint cnt, uint start, uint size ) : void

Adds the free memory.

SetupFreeMemory ( ) : void

Setups the free memory.

Method Details

Allocate() public static méthode

Allocate a physical page from the free list
public static Allocate ( ) : uint
Résultat uint

Free() public static méthode

Releases a page to the free list
public static Free ( uint address ) : void
address uint The address.
Résultat void

Setup() public static méthode

Setup the physical page manager
public static Setup ( ) : void
Résultat void