SegmentTable Class

Definition

Line 25 of cmsxk/Segment.cm

Constructors & Destructor

static SegmentTable()

Member Functions

public nothrow SegmentDescriptor* AllocateSegmentDescriptor()
public nothrow void FreeSegmentDescriptor(SegmentDescriptor* sd)
public static nothrow SegmentTable& Instance()

Member Variables

private SegmentDescriptor* freeSegmentDescriptor
private static UniquePtr<SegmentTable> instance
private SegmentDescriptor[4096] segmentDescriptors
private long unusedSegmentDescriptorIndex

Constructor& Destructor Details

SegmentTable Static Constructor

static SegmentTable()

Definition
Line 27 of cmsxk/Segment.cm


Member Function Details

AllocateSegmentDescriptor Member Function

public nothrow SegmentDescriptor* AllocateSegmentDescriptor()

Definition
Line 34 of cmsxk/Segment.cm


FreeSegmentDescriptor Member Function

public nothrow void FreeSegmentDescriptor(SegmentDescriptor* sd)

Definition
Line 52 of cmsxk/Segment.cm


Instance Static Member Function

public static nothrow SegmentTable& Instance()

Definition
Line 30 of cmsxk/Segment.cm