Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Runtime::MemoryInstance Struct Reference

#include <RuntimePrivate.h>

Inheritance diagram for Runtime::MemoryInstance:
Collaboration diagram for Runtime::MemoryInstance:

Public Member Functions

 MemoryInstance (const MemoryType &inType)
 
 ~MemoryInstance () override
 
- Public Member Functions inherited from Runtime::GCObject
 GCObject (ObjectKind inKind)
 
 ~GCObject () override
 
- Public Member Functions inherited from Runtime::ObjectInstance
 ObjectInstance (IR::ObjectKind inKind)
 
virtual ~ObjectInstance ()
 

Public Attributes

MemoryType type
 
U8baseAddress
 
std::atomic< UptrnumPages
 
Uptr endOffset
 
U8reservedBaseAddress
 
Uptr reservedNumPlatformPages
 
- Public Attributes inherited from Runtime::ObjectInstance
const IR::ObjectKind kind
 

Static Public Attributes

static MemoryInstancetheMemoryInstance
 

Detailed Description

Definition at line 80 of file RuntimePrivate.h.

Constructor & Destructor Documentation

◆ MemoryInstance()

Runtime::MemoryInstance::MemoryInstance ( const MemoryType & inType)
inline

Definition at line 91 of file RuntimePrivate.h.

91: GCObject(ObjectKind::memory), type(inType), baseAddress(nullptr), numPages(0), endOffset(0), reservedBaseAddress(nullptr), reservedNumPlatformPages(0) {}
GCObject(ObjectKind inKind)
Definition ObjectGC.cpp:26
std::atomic< Uptr > numPages

◆ ~MemoryInstance()

Runtime::MemoryInstance::~MemoryInstance ( )
override

Member Data Documentation

◆ baseAddress

U8* Runtime::MemoryInstance::baseAddress

Definition at line 84 of file RuntimePrivate.h.

◆ endOffset

Uptr Runtime::MemoryInstance::endOffset

Definition at line 86 of file RuntimePrivate.h.

◆ numPages

std::atomic<Uptr> Runtime::MemoryInstance::numPages

Definition at line 85 of file RuntimePrivate.h.

◆ reservedBaseAddress

U8* Runtime::MemoryInstance::reservedBaseAddress

Definition at line 88 of file RuntimePrivate.h.

◆ reservedNumPlatformPages

Uptr Runtime::MemoryInstance::reservedNumPlatformPages

Definition at line 89 of file RuntimePrivate.h.

◆ theMemoryInstance

MemoryInstance* Runtime::MemoryInstance::theMemoryInstance
static

Definition at line 94 of file RuntimePrivate.h.

◆ type

MemoryType Runtime::MemoryInstance::type

Definition at line 82 of file RuntimePrivate.h.


The documentation for this struct was generated from the following file: