C# 클래스 SharpOS.Kernel.ADC.X86.Pager

Hardware specific paging layer
파일 보기 프로젝트 열기: sharpos/SharpOS

공개 메소드들

메소드 설명
Enable ( PageAllocator error ) : PageAllocator.Errors
GetBigGranularity ( ) : uint
GetGranularitySize ( uint granularity, PageAllocator ret_err ) : uint
GetMemoryRequirements ( uint totalMem, PagingMemoryRequirements req ) : void
GetPageAttributes ( void page, uint granularity, PageAllocator ret_err ) : PageAttributes
MapPage ( void page, void phys_page, uint granularity, PageAttributes attr ) : PageAllocator.Errors

Changes the mapping of an individual page.

SetPageAttributes ( void page, uint granularity, PageAttributes attr ) : PageAllocator.Errors
Setup ( uint totalMem, byte pagemap, uint pagemapLen, PageAllocator error ) : PageAllocator.Errors

비공개 메소드들

메소드 설명
ComputeControlReq ( uint totalMem ) : uint
GetAbstractPMA ( PageAttr attr ) : PageAttributes
GetNativePMA ( PageAttributes attr ) : PageAttr
PagePtrToTables ( void page, uint ret_pde, uint ret_pte ) : void
SetDirectory ( uint page ) : void

메소드 상세

Enable() 공개 정적인 메소드

public static Enable ( PageAllocator error ) : PageAllocator.Errors
error SharpOS.Kernel.Memory.PageAllocator
리턴 PageAllocator.Errors

GetBigGranularity() 공개 정적인 메소드

public static GetBigGranularity ( ) : uint
리턴 uint

GetGranularitySize() 공개 정적인 메소드

public static GetGranularitySize ( uint granularity, PageAllocator ret_err ) : uint
granularity uint
ret_err SharpOS.Kernel.Memory.PageAllocator
리턴 uint

GetMemoryRequirements() 공개 정적인 메소드

public static GetMemoryRequirements ( uint totalMem, PagingMemoryRequirements req ) : void
totalMem uint
req SharpOS.Kernel.ADC.PagingMemoryRequirements
리턴 void

GetPageAttributes() 공개 정적인 메소드

public static GetPageAttributes ( void page, uint granularity, PageAllocator ret_err ) : PageAttributes
page void
granularity uint
ret_err SharpOS.Kernel.Memory.PageAllocator
리턴 PageAttributes

MapPage() 공개 정적인 메소드

Changes the mapping of an individual page.
public static MapPage ( void page, void phys_page, uint granularity, PageAttributes attr ) : PageAllocator.Errors
page void
phys_page void
granularity uint
attr PageAttributes
리턴 PageAllocator.Errors

SetPageAttributes() 공개 정적인 메소드

public static SetPageAttributes ( void page, uint granularity, PageAttributes attr ) : PageAllocator.Errors
page void
granularity uint
attr PageAttributes
리턴 PageAllocator.Errors

Setup() 공개 정적인 메소드

public static Setup ( uint totalMem, byte pagemap, uint pagemapLen, PageAllocator error ) : PageAllocator.Errors
totalMem uint
pagemap byte
pagemapLen uint
error SharpOS.Kernel.Memory.PageAllocator
리턴 PageAllocator.Errors