Package vm
basic-vm #sleela 2.5 (lib/vm/tutorials/examples/basic-vm.sleela)
BasicVMTutorialExample class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
source | SleelaVMSource source | No description in source. |
output | SleelaVMOutput output | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | function configure() | No description in source. |
describe | function describe() | No description in source. |
SecondaryVMRuntimeExample class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
vm | SLVM vm | No description in source. |
result | int result | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
main | void main() | No description in source. |
creator-full-stack #sleela 2.5 (lib/vm/creator/examples/creator-full-stack.sleela)
CreatorFullStackExample class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
cResult | int cResult | No description in source. |
javaResult | int javaResult | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
main | void main() | No description in source. |
GarbageCollector #sleela 2.5 (lib/vm/GarbageCollector.sleela)
GarbageCollector class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
algorithm | String algorithm | No description in source. |
phase | int phase | No description in source. |
youngThreshold | int youngThreshold | No description in source. |
heapThreshold | int heapThreshold | No description in source. |
targetStepWork | int targetStepWork | No description in source. |
liveObjects | int liveObjects | No description in source. |
bytes | int bytes | No description in source. |
collections | int collections | No description in source. |
youngCollections | int youngCollections | No description in source. |
promoted | int promoted | No description in source. |
reclaimed | int reclaimed | No description in source. |
GCBarrier #sleela 2.5 (lib/vm/GCBarrier.sleela)
GCBarrier class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
kind | String kind | No description in source. |
phase | String phase | No description in source. |
owner | int owner | No description in source. |
previous | int previous | No description in source. |
next | int next | No description in source. |
GCObject #sleela 2.5 (lib/vm/GCObject.sleela)
GCObject class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
identity | String identity | No description in source. |
generation | int generation | No description in source. |
age | int age | No description in source. |
quality | int quality | No description in source. |
marked | int marked | No description in source. |
remembered | int remembered | No description in source. |
bytes | int bytes | No description in source. |
GCPermutation #sleela 2.5 (lib/vm/GCPermutation.sleela)
GCPermutation class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
generationPolicy | String generationPolicy | No description in source. |
markingPolicy | String markingPolicy | No description in source. |
barrierPolicy | String barrierPolicy | No description in source. |
rootPolicy | String rootPolicy | No description in source. |
resourcePolicy | String resourcePolicy | No description in source. |
relocationPolicy | String relocationPolicy | No description in source. |
GCQuality #sleela 2.5 (lib/vm/GCQuality.sleela)
GCQuality class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
name | String name | No description in source. |
pauseBudget | int pauseBudget | No description in source. |
throughputWeight | int throughputWeight | No description in source. |
latencyWeight | int latencyWeight | No description in source. |
memoryWeight | int memoryWeight | No description in source. |
incremental | int incremental | No description in source. |
generational | int generational | No description in source. |
stableHandles | int stableHandles | No description in source. |
GCRoot #sleela 2.5 (lib/vm/GCRoot.sleela)
GCRoot class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
owner | String owner | No description in source. |
scope | String scope | No description in source. |
handle | int handle | No description in source. |
active | int active | No description in source. |
InstructionSet #sleela 2.5 (lib/vm/InstructionSet.sleela)
SLISANop class
SLISAConst class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAPop class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISADup class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISALoadG class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAStoreG class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISALoadL class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAStoreL class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAAdd class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISASub class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAMul class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISADiv class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAMod class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISANeg class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAEq class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISANe class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISALt class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISALe class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAGt class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAGe class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAAnd class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAOr class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISANot class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAJmp class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAJmpF class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISACall class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISARet class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAPrint class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISASpawn class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAJoinAll class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISALock class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAUnlock class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISASend class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISARecv class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAListen class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAAccept class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAConnect class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISASockRead class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISASockWrite class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISASockClose class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAPipe class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAPipePeer class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAFifoMk class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAFileOpen class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAFileRead class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAFileWrite class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAFileClose class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAFileUnlink class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAHalt class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISATimeUtcMs class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISATimeUtcNs class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISATimeMonoNs class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISATimePrecisionMs class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISATimeLocation class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISATimeHttpDate class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISATimeJson class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISATimeNtp class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISATimeSetLocation class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISANewStruct class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAGetField class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISASetField class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAStructPack class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAStructUnpack class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISASynOpen class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISASynDispatch class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISASynStat class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISASynReport class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISASynClose class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAMunStart class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAMunConnect class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAMunEnable class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAMunSend class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAMunThatch class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAMunConsume class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAMunLatch class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAMunReception class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAMunClose class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISABestNew class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISABestWeight class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISABestMinver class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISABestBudget class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISABestCand class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISABestRecord class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISABestScore class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISABestBest class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISABestStat class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISABestChoice class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISABestReport class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISABestArch class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISABestArchState class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISABestClose class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAAudioNew class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAAudioAdd class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAAudioControls class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAAudioValidate class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAAudioRender class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAAudioClose class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAAudioPlatform class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISANewArray class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAArrGet class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAArrSet class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAArrLen class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAArrPush class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAOsPlatform class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAOsCapability class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAOsGetEnv class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAOsSetEnv class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAOsCwd class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAOsChdir class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAOsHostName class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAOsUserName class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAOsTempDir class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAOsPid class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAOsExists class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAOsIsDir class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAOsFileSize class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAOsMkdir class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAOsRemove class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAOsRename class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAOsRun class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAOsSpawn class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAOsWait class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAOsKill class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAOsPClose class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAGcHint class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISARanMem class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAIcCreate class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAIcDestroy class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAIcCols class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAIcRows class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAIcCount class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAIcSetParams class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAIcExcite class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAIcStep class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAIcAdvance class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAIcTimestep class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAIcIntensity class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAIcHasRend class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAIcOpenWin class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAIcShouldClose class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAIcPresent class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAIcRun class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAIcSetPolicy class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAIcPolicy class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAIcBackend class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAIcGpuAvail class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAIcMeasHz class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAIcMigrate class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAVmSelect class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAModiumScan class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAUiCall class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISASSend class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISACheckCast class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAInstanceOf class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISADup2 class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAOslsCall class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISABigMul class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISASleep class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISABigAdd class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISABigDivMod class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISABigSub class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISABigDiv class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISABigISqrt class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISANativeCall class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISANativeOpen class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISANativeClose class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAJavaStringLength class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAJavaStringCharAt class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAJavaStringCodePointAt class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAJavaStringCodePointCount class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAJavaStringOffsetByCodePoints class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAJavaStringSubstring class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAJavaStringConcat class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAJavaStringHashCode class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAJavaStringCompareTo class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAJavaStringFromUtf8 class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISATryPush class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISATryPop class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAThrow class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAIPcOpen class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAIPcCall class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAIPcClose class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISARef class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAJavaStringToUtf8 class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAJavaStringFromCodeUnit class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISBitAnd class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISBitOr class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISBitXor class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISBitShiftLeft class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISBitShiftRight class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISBitUnsignedShiftRight class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISBitNot class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISCharToString class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISAddChar class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISNewArrayND class
No public fields or methods detected (the unit may be a facade or a pure contract).
SLISMathCall class
No public fields or methods detected (the unit may be a facade or a pure contract).
mid-vm-config #sleela 2.5 (lib/vm/examples/02-mid/mid-vm-config.sleela)
MemoryOptions class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(int h, int s, boolean m) | No description in source. |
valid | boolean valid() | No description in source. |
summary | String summary() | No description in source. |
CpuOptions class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(int c, int mhz) | No description in source. |
valid | boolean valid() | No description in source. |
summary | String summary() | No description in source. |
ExecutionOptions class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
mode | String mode | "interpret" / "jit" |
threads | boolean threads | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String m, boolean t) | No description in source. |
valid | boolean valid() | No description in source. |
summary | String summary() | No description in source. |
FeatureBits class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
bits | int bits | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure() | No description in source. |
enableGc | void enableGc() | bit 0 |
enableProcess | void enableProcess() | bit 1 |
enableNative | void enableNative() | bit 2 |
gc | boolean gc() | No description in source. |
value | int value() | No description in source. |
BuildPlan class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
render | String render(MemoryOptions mem, CpuOptions cpu, ExecutionOptions exe, int features) | Takes the validated option objects (as parameters -- method calls resolve on parameters) and renders a plan. |
MidVMConfig class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
main | void main() | No description in source. |
native-ram-vm #sleela 2.5 (lib/vm/creator/examples/native-ram-vm.sleela)
NativeRamVMExample class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
result | int result | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
main | void main() | No description in source. |
novice-vm #sleela 2.5 (lib/vm/examples/01-novice/novice-vm.sleela)
Vm class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
name | String name | No description in source. |
state | int state | 0 stopped, 1 running |
modules | int modules | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String n) | No description in source. |
start | void start() | No description in source. |
stop | void stop() | No description in source. |
active | boolean active() | No description in source. |
loadModule | void loadModule() | "register" a module |
moduleCount | int moduleCount() | No description in source. |
NoviceVM class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
main | void main() | No description in source. |
senior-vm-managers #sleela 2.5 (lib/vm/examples/03-senior/senior-vm-managers.sleela)
ManagedHeap class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(int limit) | No description in source. |
alloc | int alloc(int kb) | Returns 1 on success, 0 if the allocation would exceed the limit. |
free | void free(int kb) | No description in source. |
live | int live() | No description in source. |
summary | String summary() | No description in source. |
MemoryManager class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
boot | void boot(int limitKb) | No description in source. |
up | boolean up() | No description in source. |
managedHeap | ManagedHeap managedHeap() | No description in source. |
SecurityManager class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
boot | void boot(String t, String p) | No description in source. |
up | boolean up() | No description in source. |
admit | boolean admit(boolean trusted) | A load is admitted when the policy is permissive, or enforce + trusted. |
summary | String summary() | No description in source. |
LinkingManager class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
boot | void boot() | No description in source. |
up | boolean up() | No description in source. |
resolve | void resolve(int symbols, int missing) | No description in source. |
linked | boolean linked() | No description in source. |
summary | String summary() | No description in source. |
Collector class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
cycles | int cycles | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure() | No description in source. |
collect | void collect(ManagedHeap heap, int kb) | Reclaim `kb` of dead objects from the heap, counting the cycle. |
ran | int ran() | No description in source. |
SeniorVMManagers class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
banner | void banner(String t) | No description in source. |
main | void main() | No description in source. |
SleelaSLJVM #sleela 2.5 (lib/vm/SleelaSLJVM.sleela)
SleelaSLJVM class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
initialize | function initialize(); function load(); function run(); function stop(); function inspect(); function broker(); | No description in source. |
SleelaSLVM #sleela 2.5 (lib/vm/SleelaSLVM.sleela)
SleelaSLVM class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
initialize | function initialize(); function load(); function run(); function stop(); function inspect(); | No description in source. |
SleelaVMArchitecture #sleela 2.5 (lib/vm/SleelaVMArchitecture.sleela)
SleelaVMArchitecture class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
detect | function detect(); function validate(); function physicalLimits(); function compatibleWith(module); | No description in source. |
SleelaVMBuildOptions #sleela 2.5 (lib/vm/SleelaVMBuildOptions.sleela)
SleelaVMBuildOptions class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
validate | function validate(); function configureCompiler(); function configureLinker(); function configureArtifacts(); function configureReproducibility(); function verify(); | No description in source. |
SleelaVMBuildPlan #sleela 2.5 (lib/vm/SleelaVMBuildPlan.sleela)
SleelaVMBuildPlan class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | function configure(); function applyOptions(); function addModule(module); function addCapability(capability); | No description in source. |
emitC | function emitC(); function emitCPP(); function link(); function package(); function verify(); | No description in source. |
SleelaVMChallengeManager #sleela 2.5 (lib/vm/SleelaVMChallengeManager.sleela)
SleelaVMChallengeManager class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
initialize | function initialize(); function defineCondition(condition); function installLocalChallenge(challenge); function installRemoteChallenge(target, challenge); | No description in source. |
observeResult | function observeResult(result); function fireConditionObserved(event); function registerListener(listener); function validate(); function plan(); function emitC(); function emitCPP(); | No description in source. |
SleelaVMChallengeManagerAdvanced #sleela 2.5 (lib/vm/SleelaVMChallengeManagerAdvanced.sleela)
SleelaVMChallengeManagerAdvanced class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
initialize | function initialize(); function installLocalChallenge(challenge); function installRemoteChallenge(target, challenge); function observeResult(result); function fireConditionObserved(event); | No description in source. |
registerListener | function registerListener(listener); function audit(event); function attest(); function rollbackChallenge(challenge); function validate(); function plan(); function emitC(); function emitCPP(); | No description in source. |
SleelaVMChallengeManagerBasic #sleela 2.5 (lib/vm/SleelaVMChallengeManagerBasic.sleela)
SleelaVMChallengeManagerBasic class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
initialize | function initialize(); function installLocalChallenge(challenge); function observeResult(result); function fireConditionObserved(event); function registerListener(listener); | No description in source. |
validate | function validate(); function plan(); function emitC(); function emitCPP(); | No description in source. |
SleelaVMChallengeManagerModerate #sleela 2.5 (lib/vm/SleelaVMChallengeManagerModerate.sleela)
SleelaVMChallengeManagerModerate class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
initialize | function initialize(); function installLocalChallenge(challenge); function installRemoteChallenge(target, challenge); function observeResult(result); function fireConditionObserved(event); | No description in source. |
registerListener | function registerListener(listener); function audit(event); function validate(); function plan(); function emitC(); function emitCPP(); | No description in source. |
SleelaVMCompiler #sleela 2.5 (lib/vm/SleelaVMCompiler.sleela)
SleelaVMCompiler class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
compiler | SleelaCompiler compiler | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
load | function load(source); function resolveCompiler(); function analyze(); function resolveArchitecture(); function resolvePhysicalLimits(); | No description in source. |
resolveOptions | function resolveOptions(); function resolveExecution(); function resolveMemory(); function resolveCPU(); | No description in source. |
resolveConcurrency | function resolveConcurrency(); function resolveIO(); function resolveSecurity(); function resolveRuntime(); function resolveLinking(); | No description in source. |
resolveJVM | function resolveJVM(); function resolveBuild(); function resolveMemoryManagement(); function resolveSecurityManagement(); function resolveCompilerManager(); function resolveChallenge(); function resolveReports(); | No description in source. |
resolveCapabilities | function resolveCapabilities(); function createModules(); function generateC(); function generateCPP(); | No description in source. |
generateSLVM | function generateSLVM(); function generateSLJVM(); function verify(); | No description in source. |
SleelaVMCompilerManager #sleela 2.5 (lib/vm/SleelaVMCompilerManager.sleela)
SleelaVMCompilerManager class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
initialize | function initialize(); function loadDeclaration(declaration); function loadSSTSource(source); function loadNordshriftSource(source); function discoverDynamite(source); function resolveDynamite(); function admitDynamiteLoad(); | No description in source. |
resolveSSTLibrary | function resolveSSTLibrary(); function resolveNordshriftLibrary(); function prepareNordshriftCompile(); | No description in source. |
countObjects | function countObjects(); function categorizeObjects(); function reviewRequired(); function reviewDependencies(); function reviewMissing(); function reviewExcess(); function emitCompileReport(); function validate(); function plan(); function emitC(); function emitCPP(); | No description in source. |
SleelaVMCompilerManagerAdvanced #sleela 2.5 (lib/vm/SleelaVMCompilerManagerAdvanced.sleela)
SleelaVMCompilerManagerAdvanced class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
initialize | function initialize(); function requireTotalVM(); function reviewObjectCount(); function reviewCategories(); function reviewRequiredParts(); function reviewDependencies(); function reviewCapabilities(); function reviewCertificates(); function reviewAttestation(); function reviewProvenance(); function reportFine(); function reportMissing(); function reportExcess(); function reportDependencyChain(); function validate(); | No description in source. |
SleelaVMCompilerManagerBasic #sleela 2.5 (lib/vm/SleelaVMCompilerManagerBasic.sleela)
SleelaVMCompilerManagerBasic class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
initialize | function initialize(); function requireCompleteVM(); function reviewObjectCount(); function reviewCategories(); function reviewRequiredParts(); function reviewDependencies(); function reportFine(); function reportMissing(); function reportExcess(); function validate(); | No description in source. |
SleelaVMCompilerManagerReport #sleela 2.5 (lib/vm/SleelaVMCompilerManagerReport.sleela)
SleelaVMCompilerManagerReport class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
initialize | function initialize(); function addFine(object); function addMissing(object); function addExcess(object); function addDependency(object, requirement); function emitText(); function emitC(); function emitCPP(); | No description in source. |
SleelaVMConcurrencyOptions #sleela 2.5 (lib/vm/SleelaVMConcurrencyOptions.sleela)
SleelaVMConcurrencyOptions class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
validate | function validate(); function configureThreads(); function configureScheduler(); function configureAsync(); function fit(threadLimit); | No description in source. |
SleelaVMCore #sleela 2.5 (lib/vm/creator/SleelaVMCore.sleela)
SleelaVMCore class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
formalName | String formalName = "Core"; String path = "/impl"; Integer generation = 0 | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
standardize | function standardize(SleelaVMSource source); | No description in source. |
validateArchitecture | function validateArchitecture(SleelaVMArchitecture architecture); | No description in source. |
validateModules | function validateModules(List modules); | No description in source. |
validateCapabilities | function validateCapabilities(List capabilities); | No description in source. |
bindNativeC | function bindNativeC(); function bindNativeCPP(); | No description in source. |
compileSource | function compileSource(SleelaVMSource source); function emitVMArtifact(SleelaVMBuildPlan plan); | No description in source. |
reportReadiness | function reportReadiness(); function isAuthoritative(); | No description in source. |
SleelaVMCpuOptions #sleela 2.5 (lib/vm/SleelaVMCpuOptions.sleela)
SleelaVMCpuOptions class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
detect | function detect(); function validate(); function selectInstructionSet(); function selectCallingConvention(); function fit(features); | No description in source. |
SleelaVMCreator #sleela 2.5 (lib/vm/creator/SleelaVMCreator.sleela)
SleelaVMCreator class
Defines SleelaVMCreator, the entry point of the VM Creator Edition.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
catalog | SleelaVMGenerationCatalog catalog | No description in source. |
generation | int generation | selected SLVM generation (0 = /impl Core .. 11 Sovereign) |
formalName | String formalName | catalog name for the generation |
vm | SLVM vm | the live Secondary VM this creator built |
heapWords | int heapWords | No description in source. |
memoryWords | int memoryWords | No description in source. |
dmaOption | int dmaOption | 1 => grant direct DMA to the built VM/CPU/program |
gpuOption | int gpuOption | 1 => grant native GPU access |
nativeRamOption | int nativeRamOption | 1 => build the VM to run on real host RAM |
vm | return vm | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure() | No description in source. |
sizeVM | void sizeVM(int heap, int memory) | Size the VM the creator will build (optional; sensible defaults otherwise). |
selectGeneration | boolean selectGeneration(int version) | Select a generation by version; validated against the catalog. |
create | SLVM create() | Build and boot a LIVE Secondary Sleela VM for the selected generation. This is the step the Creator README called "VM artifact" — here it is an actual runnable SLVM instance, not just a packaged build plan. |
SleelaVMDynamicMemoryGuard #sleela 2.5 (lib/vm/SleelaVMDynamicMemoryGuard.sleela)
SleelaVMDynamicMemoryGuard class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
mode | VMDynamicMemoryGuardMode mode | No description in source. |
initialLimit | Integer initialLimit | No description in source. |
hardLimit | Integer hardLimit | No description in source. |
softLimit | Integer softLimit | No description in source. |
maximumLimit | Integer maximumLimit | No description in source. |
growthStep | Integer growthStep | No description in source. |
growthDelay | Integer growthDelay | No description in source. |
gcPressurePercent | Integer gcPressurePercent | No description in source. |
developerConfigured | Boolean developerConfigured | No description in source. |
allowGrowth | Boolean allowGrowth | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
validate | function validate(); | No description in source. |
request | function request(requiredBytes); | No description in source. |
calculateNextLimit | function calculateNextLimit(requiredBytes); | No description in source. |
canGrow | function canGrow(requiredBytes); | No description in source. |
deferGrowth | function deferGrowth(requiredBytes); | No description in source. |
observeUsage | function observeUsage(currentBytes, peakBytes); | No description in source. |
reset | function reset(); | No description in source. |
SleelaVMDynamiteLoader #sleela 2.5 (lib/vm/SleelaVMDynamiteLoader.sleela)
SleelaVMDynamiteLoader class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
referenceName | String referenceName | No description in source. |
sourcePath | String sourcePath | No description in source. |
configuration | String configuration | No description in source. |
propertiesSource | String propertiesSource | No description in source. |
status | String status | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
initialize | function initialize() | No description in source. |
resolve | function resolve() | No description in source. |
deferConstruction | function deferConstruction() | No description in source. |
construct | function construct() | No description in source. |
load | function load() | No description in source. |
execute | function execute() | No description in source. |
unload | function unload() | No description in source. |
SleelaVMExecutionOptions #sleela 2.5 (lib/vm/SleelaVMExecutionOptions.sleela)
SleelaVMExecutionOptions class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
validate | function validate(); function estimateInstructionCost(); function configureTraps(); function configureExceptions(); function configureExecution(); | No description in source. |
SleelaVMFeatureBits #sleela 2.5 (lib/vm/SleelaVMFeatureBits.sleela)
SleelaVMFeatureBits class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
FILES | Integer FILES = 1; Integer NETWORK = 2; Integer DNS = 4; Integer IPC = 8 | No description in source. |
THREADS | Integer THREADS = 16; Integer ASYNC = 32; Integer GUI = 64; Integer AUDIO = 128 | No description in source. |
VIDEO | Integer VIDEO = 256; Integer DEVICES = 512; Integer CRYPTO = 1024; Integer TLS = 2048 | No description in source. |
JIT | Integer JIT = 4096; Integer AOT = 8192; Integer SIMD = 16384; Integer ATOMICS = 32768 | No description in source. |
GC | Integer GC = 65536; Integer CHECKPOINT = 131072; Integer MIGRATION = 262144; Integer ATTESTATION = 524288 | No description in source. |
OBSERVABILITY | Integer OBSERVABILITY = 1048576; Integer DEBUG = 2097152; Integer PROFILING = 4194304; Integer DETERMINISTIC = 8388608 | No description in source. |
RESOLVER | Integer RESOLVER = 16777216; Integer BROKER = 33554432; Integer CERTIFICATES = 67108864; Integer SANDBOX = 134217728 | No description in source. |
LINK_OBSERVATION | Integer LINK_OBSERVATION = 268435456; Integer LINK_TRANSACTIONS = 536870912; Integer LINK_MEMORY = 1073741824; Integer LINK_ATTESTATION = 2147483648 | No description in source. |
CHALLENGE_EVENTS | Integer CHALLENGE_EVENTS = 4294967296; Integer CHALLENGE_REMOTE = 8589934592; Integer REPORTS_INPUT = 17179869184; Integer REPORTS_OUTPUT = 34359738368; Integer REPORTS_MESSAGES = 68719476736; Integer REPORTS_IQ = 137438953472 | No description in source. |
PROCESS | Integer PROCESS = 274877906944; Integer OS_SYSCALLS = 549755813888 | Operating-system system-call capability (syntax 1.5). PROCESS covers process execution (osRun/osSpawn/osWait/osKill); OS_SYSCALLS covers the full host System API surface (environment, identity, cwd, filesystem metadata) exposed via the os* built-ins and OP_OS_* opcodes. Backed by impl/core/sleela_os.c on Windows/Linux/macOS; a spawned process is a VM-local bounded handle. |
DMA | Integer DMA = 1099511627776; Integer GPU = 2199023255552 | Direct hardware acceleration (syntax 1.6). DMA grants a direct memory-access engine (bulk transfers without the CPU copying word by word); GPU grants native GPU access (offload parallel/compute kernels to a host GPU over the bridge, or a modelled SIMT engine when none is present). Both are opt-in and flow from the VM through a hosted CPU to the running program. |
NATIVE_RAM | Integer NATIVE_RAM = 4398046511104 | Native-RAM residency (syntax 1.6). When set, the Secondary VM's linear memory runs on REAL host RAM (SLNativeMemory) instead of the simulated SLRAM store — for running outside simulation for procedural layment. Backed by the native host allocator (sleela_native_ram_*). Opt-in via the VM Creator. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
contains | function contains(mask, bit); function add(mask, bit); function remove(mask, bit); function validate(mask); | No description in source. |
SleelaVMGenerationCatalog #sleela 2.5 (lib/vm/creator/SleelaVMGenerationCatalog.sleela)
SleelaVMGenerationCatalog class
the authoritative version -> formal-name / path mapping for the twelve SLVM generations the Creator can build (/impl Core, then /1 .. /11). SleelaVMCreator consults it to name and validate a selected generation. Family: vm.creator. Consulted by SleelaVMCreator.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
CORE | static final int CORE = 0 | No description in source. |
SOVEREIGN | static final int SOVEREIGN = 11 | highest defined generation |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
nameForVersion | String nameForVersion(int version) | No description in source. |
pathForVersion | String pathForVersion(int version) | No description in source. |
validateVersion | boolean validateVersion(int version) | No description in source. |
isCoreVersion | boolean isCoreVersion(int version) | No description in source. |
highestVersion | int highestVersion() | No description in source. |
generationCount | int generationCount() | No description in source. |
SleelaVMIOOptions #sleela 2.5 (lib/vm/SleelaVMIOOptions.sleela)
SleelaVMIOOptions class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
validate | function validate(); function configureFiles(); function configureNetwork(); function configureIPC(); function configureDevices(); function fit(limits); | No description in source. |
SleelaVMLinkingManagerAdvanced #sleela 2.5 (lib/vm/SleelaVMLinkingManagerAdvanced.sleela)
SleelaVMLinkingManagerAdvanced class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
initialize | function initialize(); function connect(version); function disconnect(); function observeMemory(); function observeCertificates(); | No description in source. |
observeTransactions | function observeTransactions(); function observeResolver(); function observeAudit(); function observeAttestation(); function observeCapabilities(); | No description in source. |
observeProvenance | function observeProvenance(); function observeCheckpoint(); function validate(); function plan(); function emitC(); function emitCPP(); | No description in source. |
SleelaVMLinkingManagerBasic #sleela 2.5 (lib/vm/SleelaVMLinkingManagerBasic.sleela)
SleelaVMLinkingManagerBasic class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
initialize | function initialize(); function connect(version); function disconnect(); function observeMemory(); | No description in source. |
observeCertificates | function observeCertificates(); function observeTransactions(); function validate(); function plan(); function emitC(); function emitCPP(); | No description in source. |
SleelaVMLinkingManagerGovernment #sleela 2.5 (lib/vm/SleelaVMLinkingManagerGovernment.sleela)
SleelaVMLinkingManagerGovernment class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
initialize | function initialize(); function connect(version); function disconnect(); function observeMemory(); function observeCertificates(); | No description in source. |
observeTransactions | function observeTransactions(); function observeResolver(); function observeAudit(); function observeAttestation(); function observeCapabilities(); | No description in source. |
observeProvenance | function observeProvenance(); function observeCheckpoint(); function validate(); function plan(); function emitC(); function emitCPP(); | No description in source. |
SleelaVMLinkingManagerMilitary #sleela 2.5 (lib/vm/SleelaVMLinkingManagerMilitary.sleela)
SleelaVMLinkingManagerMilitary class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
initialize | function initialize(); function connect(version); function disconnect(); function observeMemory(); function observeCertificates(); | No description in source. |
observeTransactions | function observeTransactions(); function observeResolver(); function observeAudit(); function observeAttestation(); function observeCapabilities(); | No description in source. |
observeProvenance | function observeProvenance(); function observeCheckpoint(); function observeTamperEvidence(); function validate(); function plan(); function emitC(); | No description in source. |
emitCPP | function emitCPP(); | No description in source. |
SleelaVMLinkingManagerModerate #sleela 2.5 (lib/vm/SleelaVMLinkingManagerModerate.sleela)
SleelaVMLinkingManagerModerate class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
initialize | function initialize(); function connect(version); function disconnect(); function observeMemory(); function observeCertificates(); | No description in source. |
observeTransactions | function observeTransactions(); function observeResolver(); function observeAudit(); function validate(); function plan(); function emitC(); function emitCPP(); | No description in source. |
SleelaVMMemoryManagementAdvanced #sleela 2.5 (lib/vm/SleelaVMMemoryManagementAdvanced.sleela)
SleelaVMMemoryManagementAdvanced class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
initialize | function initialize(); function allocate(size); function release(pointer); function collect(); | No description in source. |
seal | function seal(region); function scrub(region); function checkpoint(); function restore(); | No description in source. |
migrate | function migrate(); function verifyIntegrity(); function validate(); function plan(); | No description in source. |
emitC | function emitC(); function emitCPP(); | No description in source. |
SleelaVMMemoryManagementManaged #sleela 2.5 (lib/vm/SleelaVMMemoryManagementManaged.sleela)
SleelaVMMemoryManagementManaged class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
initialize | function initialize(); function allocate(size); function release(pointer); function collect(); | No description in source. |
quarantine | function quarantine(pointer,size); function scrub(pointer,size); function validate(); | No description in source. |
plan | function plan(); function emitC(); function emitCPP(); | No description in source. |
SleelaVMMemoryManagementSimple #sleela 2.5 (lib/vm/SleelaVMMemoryManagementSimple.sleela)
SleelaVMMemoryManagementSimple class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
initialize | function initialize(); function allocate(size); function release(pointer); function zeroize(pointer,size); | No description in source. |
validate | function validate(); function plan(); function emitC(); function emitCPP(); | No description in source. |
SleelaVMMemoryOptions #sleela 2.5 (lib/vm/SleelaVMMemoryOptions.sleela)
SleelaVMMemoryOptions class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
dynamicMemoryGuard | SleelaVMDynamicMemoryGuard dynamicMemoryGuard | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
validate | function validate(); function configureDynamicMemoryGuard(); function calculateHeap(); function calculateStack(); function calculatePages(); function configureGC(); function fit(limit); | No description in source. |
SleelaVMModule #sleela 2.5 (lib/vm/SleelaVMModule.sleela)
SleelaVMModule class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
validate | function validate(); function estimateResources(); function resolveDependencies(); function emitC(); function emitCPP(); | No description in source. |
SleelaVMObjectCountDeclaration #sleela 2.5 (lib/vm/SleelaVMObjectCountDeclaration.sleela)
SleelaVMObjectCountDeclaration class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
initialize | function initialize(); function categoryExpected(category); function totalExpected(); function validate(); | No description in source. |
SleelaVMOptionCodes #sleela 2.5 (lib/vm/SleelaVMOptionCodes.sleela)
SleelaVMOptionCodes class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
TARGET_SLVM | Integer TARGET_SLVM = 1; Integer TARGET_SLJVM = 2 | No description in source. |
ARCH_X86_64 | Integer ARCH_X86_64 = 10; Integer ARCH_ARM64 = 11; Integer ARCH_RISCV64 = 12; Integer ARCH_WASM32 = 13 | No description in source. |
OS_LINUX | Integer OS_LINUX = 20; Integer OS_WINDOWS = 21; Integer OS_MACOS = 22 | No description in source. |
ABI_C | Integer ABI_C = 30; Integer ABI_CXX = 31; Integer ABI_JVM = 32 | No description in source. |
EXEC_INTERPRETED | Integer EXEC_INTERPRETED = 40; Integer EXEC_JIT = 41; Integer EXEC_AOT = 42; Integer EXEC_HYBRID = 43 | No description in source. |
GC_NONE | Integer GC_NONE = 50; Integer GC_MARK_SWEEP = 51; Integer GC_GENERATIONAL = 52; Integer GC_COMPACTING = 53 | No description in source. |
THREAD_SINGLE | Integer THREAD_SINGLE = 60; Integer THREAD_NATIVE = 61; Integer THREAD_POOL = 62; Integer THREAD_FIBER = 63 | No description in source. |
IO_SYNC | Integer IO_SYNC = 70; Integer IO_ASYNC = 71; Integer IO_HYBRID = 72 | No description in source. |
SECURITY_NONE | Integer SECURITY_NONE = 80; Integer SECURITY_CAPABILITY = 81; Integer SECURITY_SANDBOX = 82; Integer SECURITY_HARDENED = 83 | No description in source. |
LINK_STATIC | Integer LINK_STATIC = 90; Integer LINK_SHARED = 91; Integer LINK_HYBRID = 92 | No description in source. |
LINK_BASIC | Integer LINK_BASIC = 93; Integer LINK_MODERATE = 94; Integer LINK_ADVANCED = 95; Integer LINK_GOVERNMENT = 96; Integer LINK_MILITARY = 97 | No description in source. |
CHALLENGE_BASIC | Integer CHALLENGE_BASIC = 110; Integer CHALLENGE_MODERATE = 111; Integer CHALLENGE_ADVANCED = 112; Integer REPORTS_STANDARD = 120; Integer CM_BASIC_COMPLETE = 130; Integer CM_ADVANCED_TOTAL = 131 | No description in source. |
PACKAGE_RAW | Integer PACKAGE_RAW = 100; Integer PACKAGE_ARCHIVE = 101; Integer PACKAGE_SIGNED = 102 | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
valid | function valid(code); function category(code); function compatible(left, right); | No description in source. |
SleelaVMOptions #sleela 2.5 (lib/vm/SleelaVMOptions.sleela)
SleelaVMOptions class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
defaults | function defaults(); function validate(); function enableFeature(bit); function disableFeature(bit); function hasFeature(bit); | No description in source. |
selectTarget | function selectTarget(); function selectArchitecture(); function selectOperatingSystem(); function selectABI(); | No description in source. |
selectSecurity | function selectSecurity(); function selectRuntime(); function selectIO(); function selectPackaging(); | No description in source. |
SleelaVMOutput #sleela 2.5 (lib/vm/SleelaVMOutput.sleela)
SleelaVMOutput class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
validate | function validate(); function validateDynamicMemoryGuard(); function calculateHash(); function certify(); function package(); | No description in source. |
SleelaVMPermissibleLoader #sleela 2.5 (lib/vm/SleelaVMPermissibleLoader.sleela)
SleelaVMPermissibleLoader class
SleelaVMPhysicalLimits #sleela 2.5 (lib/vm/SleelaVMPhysicalLimits.sleela)
SleelaVMPhysicalLimits class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
detect | function detect(); function constrain(plan); function validate(plan); | No description in source. |
SleelaVMReportsManager #sleela 2.5 (lib/vm/SleelaVMReportsManager.sleela)
SleelaVMReportsManager class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
initialize | function initialize(); function observeInput(system); function observeOutput(system); function observeMessages(system); function observeSystem(system); | No description in source. |
routeIQ | function routeIQ(object); function routeNamedBinaryObject(object); function sendMessaging(object, destination); function authorize(observer); function audit(report); | No description in source. |
validate | function validate(); function plan(); function emitC(); function emitCPP(); | No description in source. |
SleelaVMResourcePlan #sleela 2.5 (lib/vm/SleelaVMResourcePlan.sleela)
SleelaVMResourcePlan class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
calculate | function calculate(); function validate(); function fitPhysicalLimits(); function emitHeader(); | No description in source. |
SleelaVMRuntimeOptions #sleela 2.5 (lib/vm/SleelaVMRuntimeOptions.sleela)
SleelaVMRuntimeOptions class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
validate | function validate(); function configure(); function negotiate(); function checkpoint(); function recover(); function migrate(); | No description in source. |
SleelaVMSecurityManagementAdvanced #sleela 2.5 (lib/vm/SleelaVMSecurityManagementAdvanced.sleela)
SleelaVMSecurityManagementAdvanced class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
initialize | function initialize(); function authorize(operation); function deny(operation); function audit(event); | No description in source. |
attest | function attest(); function delegate(capability); function revoke(capability); function verifyProvenance(); | No description in source. |
verifyCertificate | function verifyCertificate(certificate); function checkReplay(token); function recover(); | No description in source. |
validate | function validate(); function plan(); function emitC(); function emitCPP(); | No description in source. |
SleelaVMSecurityManagementManaged #sleela 2.5 (lib/vm/SleelaVMSecurityManagementManaged.sleela)
SleelaVMSecurityManagementManaged class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
initialize | function initialize(); function authorize(operation); function deny(operation); function audit(event); | No description in source. |
verifyIdentity | function verifyIdentity(identity); function verifyCertificate(certificate); function checkReplay(token); | No description in source. |
validate | function validate(); function plan(); function emitC(); function emitCPP(); | No description in source. |
SleelaVMSecurityManagementSimple #sleela 2.5 (lib/vm/SleelaVMSecurityManagementSimple.sleela)
SleelaVMSecurityManagementSimple class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
initialize | function initialize(); function authorize(operation); function deny(operation); | No description in source. |
audit | function audit(event); function validate(); function plan(); function emitC(); function emitCPP(); | No description in source. |
SleelaVMSecurityOptions #sleela 2.5 (lib/vm/SleelaVMSecurityOptions.sleela)
SleelaVMSecurityOptions class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
validate | function validate(); function configureCapabilities(); function configureSandbox(); function configureCrypto(); function configureCertificates(); function configureAudit(); | No description in source. |
SleelaVMSource #sleela 2.5 (lib/vm/SleelaVMSource.sleela)
SleelaVMSource class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
dynamicMemoryGuard | SleelaVMDynamicMemoryGuard dynamicMemoryGuard | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
validate | function validate(); function analyzePhysicalLimits(); function selectTarget(); function planModules(); | No description in source. |
resolveOptions | function resolveOptions(); function resolveFitments(); function configureDynamicMemoryGuard(); | No description in source. |
emitC | function emitC(); function emitCPP(); function buildSLVM(); function buildSLJVM(); | No description in source. |
SleelaVMStartup #sleela 2.5 (lib/vm/SleelaVMStartup.sleela)
SleelaVMStartup class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
startup_module | StartupModuleSelection startup_module | No description in source. |
harness | SystemHarnessConnection harness | No description in source. |
execution_mode | VMExecutionMode execution_mode | No description in source. |
readiness | VMReadinessState readiness | No description in source. |
bootstrap_capabilities | VMBootstrapCapabilities bootstrap_capabilities | No description in source. |
pending_calls | VMCallQueue pending_calls | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
start | method start() | No description in source. |
executeBootstrapCallsUntilReady | method executeBootstrapCallsUntilReady() | No description in source. |
coreVMReady | method coreVMReady() | No description in source. |
shutdown | method shutdown() | No description in source. |
SleelaVMSystemCallBridge #sleela 2.5 (lib/vm/SleelaVMSystemCallBridge.sleela)
SleelaVMSystemCallBridge class
Defines SleelaVMSystemCallBridge — the VM-family face of the operating-system System Call API. Where SLVMNativeBinding is the lifecycle anchor for "the VM reaches native code," this class is the concrete bridge that exposes the host System API to a running VM through the os* built-ins (OP_OS_* opcodes), serviced by impl/core/sleela_os.c on Windows, Linux, and macOS. Every SLeeLa VM — the base SLVM and generations SLVM/1..11 — shares one ISA, so if the base VM can issue these system calls, every generation can too; this class is how a VM advertises and performs them. Capability: pairs with SleelaVMFeatureBits.PROCESS and .OS_SYSCALLS. A VM that sets those bits is declaring it supports this bridge. A spawned process is a VM-local bounded handle (the sockets/files discipline), never a raw PID. Family: vm. Native VM/OS work crosses the explicit os* SLVM bridge.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
name | String name | No description in source. |
state | int state | No description in source. |
calls | int calls | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String n) | No description in source. |
start | void start() | No description in source. |
stop | void stop() | No description in source. |
active | boolean active() | No description in source. |
platform | String platform() | ---- Host identity ------------------------------------------------------ |
hostName | String hostName() | No description in source. |
userName | String userName() | No description in source. |
processId | int processId() | No description in source. |
supports | boolean supports(int capability) | No description in source. |
getEnv | String getEnv(String key) | ---- Environment -------------------------------------------------------- |
setEnv | boolean setEnv(String key, String value) | No description in source. |
currentDir | String currentDir() | ---- Working directory -------------------------------------------------- |
changeDir | boolean changeDir(String path) | No description in source. |
tempDir | String tempDir() | No description in source. |
exists | boolean exists(String path) | ---- Filesystem metadata ------------------------------------------------ |
isDir | boolean isDir(String path) | No description in source. |
fileSize | int fileSize(String path) | No description in source. |
makeDir | boolean makeDir(String path) | No description in source. |
remove | boolean remove(String path) | No description in source. |
rename | boolean rename(String from, String to) | No description in source. |
run | int run(String command) | ---- Process execution (bounded VM-local handles) ----------------------- Synchronous run; returns the command's exit code. |
spawn | int spawn(String command) | Background start; returns a VM-local process handle (-1 on failure). |
waitFor | int waitFor(int processHandle) | Wait for a spawned process; returns its exit code and frees the handle. |
kill | boolean kill(int processHandle) | Terminate a spawned process. |
closeProcess | void closeProcess(int processHandle) | Release a spawned process without waiting. |
osSupportVMGroups | SLList osSupportVMGroups() | No description in source. |
osSupportVMOpcodes | SLList osSupportVMOpcodes() | Canonical current OS service opcodes; codes are append-only in the VM ISA. |
coreOSOpcodeBridgeImplemented | boolean coreOSOpcodeBridgeImplemented() | No description in source. |
oslsCAbiAdapterRegistered | boolean oslsCAbiAdapterRegistered() | No description in source. |
oslsSystemInfoJSON | String oslsSystemInfoJSON() | No description in source. |
oslsProcessInfoJSON | String oslsProcessInfoJSON(int pid) | No description in source. |
oslsEnumerateProcessesJSON | String oslsEnumerateProcessesJSON() | No description in source. |
oslsGetEnvironmentValueJSON | String oslsGetEnvironmentValueJSON(String name) | No description in source. |
oslsEnumerateEnvironmentJSON | String oslsEnumerateEnvironmentJSON() | No description in source. |
oslsGetFileInfoJSON | String oslsGetFileInfoJSON(String path) | No description in source. |
oslsListDirectoryJSON | String oslsListDirectoryJSON(String path) | No description in source. |
oslsGetCPUInfoJSON | String oslsGetCPUInfoJSON() | No description in source. |
oslsGetTimezoneInfoJSON | String oslsGetTimezoneInfoJSON() | No description in source. |
oslsGetNetworkInterfacesJSON | String oslsGetNetworkInterfacesJSON() | No description in source. |
oslsCronValidateJSON | String oslsCronValidateJSON(String expression) | No description in source. |
oslsCronNextAfterJSON | String oslsCronNextAfterJSON(String expression, int epochSeconds) | No description in source. |
callCount | int callCount() | No description in source. |
SLNativeMemory #sleela 2.5 (lib/vm/SLNativeMemory.sleela)
SLNativeMemory class
Defines SLNativeMemory — a flat block of REAL host RAM for the Secondary Sleela VM to run on when the native-RAM option is chosen. Unlike SLRAM (which routes every cell through the simulation/VM bridge and keeps access accounting), SLNativeMemory is a single contiguous host allocation accessed directly: it crosses the native bridge once at allocate() to obtain a real pointer-backed region, then reads/writes land straight in host memory with no per-access simulation layer. Purpose: "procedural layment outside of simulation" — when a build prefers to lay out procedures and data in actual RAM for maximum throughput and native residency rather than inside the simulated store. Same word interface as SLRAM so SLVMMemory can use either backing transparently. Family: vm. Native host allocation via bridge; alternative backing to SLRAM.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
wordCount | int wordCount | No description in source. |
width | int width | bits per word |
handle | int handle | native host-allocation handle (0 until allocated) |
resident | int resident | 1 once backed by real host RAM |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(int words, int bits) | No description in source. |
allocate | int allocate() | Allocate a contiguous block of REAL host RAM (not the simulated store). Crosses the bridge once; thereafter accesses are direct. |
inRange | boolean inRange(int addr) | No description in source. |
isResident | boolean isResident() | No description in source. |
readWord | int readWord(int addr) | Direct host-memory access — no per-access accounting or simulation step. |
writeWord | int writeWord(int addr, int value) | No description in source. |
blockMove | void blockMove(int dst, int src, int words) | Direct block move within host RAM (used for procedural layout / DMA-style bulk placement without the simulated copy loop). |
free | void free() | No description in source. |
capacityWords | int capacityWords() | No description in source. |
capacityBytes | int capacityBytes() | No description in source. |
SLPackage #sleela 2.5 (lib/vm/SLPackage.sleela)
SLPackage class
Defines the SLeeLa standard-library package for vm — the connection that exposes the VM family (including the Modium file-resolution classes under src/sleela, e.g. SLVmModium) to the compiler, Loader, and Nordshrift. Every library package carries this facade; vm previously had none.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
packageName | String packageName | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String name) | No description in source. |
name | String name() | No description in source. |
available | boolean available() | No description in source. |
SLPackage #sleela 3.0 (lib/vm/vmsharp/SLPackage.sleela)
VMSharpPackage class
VMSharp(TM) package entry point and source-level component index. VMSharp is a VM manifest that can start as a self-installer bootloader for a minimal desktop or a user-designated OS download/install, on x86/x64 AMD or Intel processors. The classes are declarative models; no firmware is flashed, no disk is written, and the declared per-use/install levy is disclosed, not auto-collected. Authored for the User MEARVK LLC, respectful of United States law and of the persons and groupings of peoples it concerns. Family: vm.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
packageName | String packageName = "vmsharp" | No description in source. |
manifestClass | String manifestClass = "VMSharp" | No description in source. |
bootloaderClass | String bootloaderClass = "VMSharpBootloader" | No description in source. |
installPlanClass | String installPlanClass = "VMSharpInstallPlan" | No description in source. |
levyClass | String levyClass = "VMSharpLevy" | No description in source. |
includedAppClass | String includedAppClass = "VMSharpIncludedApp" | No description in source. |
networkStackClass | String networkStackClass = "VMSharpNetworkStack" | No description in source. |
repoAcquisitionClass | String repoAcquisitionClass = "VMSharpRepoAcquisition" | No description in source. |
osCreatorRunClass | String osCreatorRunClass = "VMSharpOSCreatorRun" | No description in source. |
installWizardClass | String installWizardClass = "VMSharpInstallWizard" | No description in source. |
installOptionClass | String installOptionClass = "VMSharpInstallOption" | No description in source. |
usbMediaClass | String usbMediaClass = "VMSharpUsbMedia" | No description in source. |
usbMakefiles | String usbMakefiles = "usb/Makefile (dispatch), usb/Makefile.linux, usb/Makefile.windows, usb/Makefile.macos" | No description in source. |
diskLayoutClass | String diskLayoutClass = "VMSharpDiskLayout" | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
getPackageName | String getPackageName() | No description in source. |
getManifestClass | String getManifestClass() | No description in source. |
getBootloaderClass | String getBootloaderClass() | No description in source. |
getInstallPlanClass | String getInstallPlanClass() | No description in source. |
getLevyClass | String getLevyClass() | No description in source. |
getIncludedAppClass | String getIncludedAppClass() | No description in source. |
getNetworkStackClass | String getNetworkStackClass() | No description in source. |
getRepoAcquisitionClass | String getRepoAcquisitionClass() | No description in source. |
getOSCreatorRunClass | String getOSCreatorRunClass() | No description in source. |
getInstallWizardClass | String getInstallWizardClass() | No description in source. |
getInstallOptionClass | String getInstallOptionClass() | No description in source. |
getUsbMediaClass | String getUsbMediaClass() | No description in source. |
getUsbMakefiles | String getUsbMakefiles() | No description in source. |
getDiskLayoutClass | String getDiskLayoutClass() | No description in source. |
SLVM #sleela 2.5 (lib/vm/SLVM.sleela)
SLVM class
Defines SLVM — the secondary Sleela VM: the runnable interpreter a
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
name | String name | No description in source. |
state | int state | 0 off, 1 booted, 2 running, 3 halted |
heap | SLVMHeap heap | No description in source. |
memory | SLVMMemory memory | No description in source. |
moduleLoader | SLVMModuleLoader moduleLoader | No description in source. |
module | SLVMModule module | the currently installed module |
substrate | SLSleelaVM substrate | == module.engine(); the native-opcode engine we drive |
main | SLVMThread main | No description in source. |
bindingCount | int bindingCount | Bounded native-binding table (SLeeLa surface has no arrays). |
steps | int steps | opcodes executed through this VM |
lastExit | int lastExit | last serviced VM-exit opcode (-1 if none) |
guestCpu | SLCPURuntime guestCpu | --- guest-CPU hosting (Creator -> SLVM -> CPU -> program stack) --- When SLVM hosts a Sleela CPU model as its executor, the CPU is pinned here and SLVM lends it the substrate so the CPU's lowered program runs nested on the Secondary VM rather than on a private engine. |
guestResult | int guestResult | last observable output of a guest workload |
dmaOption | int dmaOption | --- optional capabilities propagated to a hosted guest CPU --- When set before hostCpu(), the guest CPU is granted direct DMA and/or native GPU access, so a program running under this VM can use them at any point. |
gpuOption | int gpuOption | No description in source. |
nativeRamOption | int nativeRamOption | --- native-RAM option --- When set before boot(), the VM's linear memory runs on REAL host RAM (SLNativeMemory) instead of the simulated SLRAM store, for running outside simulation for procedural layment. Off (simulated) by default. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String vmName) | No description in source. |
useNativeRam | void useNativeRam() | Native-RAM option: when set before boot(), the VM's linear memory runs on REAL host RAM (SLNativeMemory) instead of the simulated SLRAM store — for running outside simulation for procedural layment. Off by default. |
useSimulatedRam | void useSimulatedRam() | No description in source. |
nativeRam | boolean nativeRam() | No description in source. |
boot | void boot(int heapWords, int memoryWords) | Boot: build the heap, linear memory, loader and main thread. The linear memory honors the native-RAM option. |
bootNative | void bootNative(int heapWords, int memoryWords) | Convenience: boot directly onto native host RAM. |
loader | SLVMModuleLoader loader() | No description in source. |
bindNative | void bindNative(SLVMNativeBinding binding) | Register a native binding (e.g. print). Up to 4 in this bounded surface. |
bindingFor | SLVMNativeBinding bindingFor(int opcode) | No description in source. |
install | void install(SLVMModule m) | Install a loaded module and prime its entry method as the first frame. |
run | int run(int budget) | Run up to budget opcodes, servicing VM-exits (native bindings) inline. |
serviceExit | void serviceExit() | Route a parked VM-exit: a bound native service runs and returns a value; an unbound service is acknowledged so the guest can proceed. |
hostCpu | void hostCpu(SLCPURuntime cpu) | --- guest-CPU hosting: run a Sleela CPU model as SLVM's executor --- Pin a Sleela CPU model (any SLCPURuntime / SL<ARCH>CPU) as the guest this VM executes, and lend it a hosted substrate so the CPU runs nested on the Secondary VM. The substrate is sized generously; the CPU's workload grant bounds actual use. |
enableDMA | void enableDMA() | --- optional capabilities: enable BEFORE hostCpu() so the guest inherits them --- Direct DMA: the hosted CPU gets a direct memory-access engine, so a program under this VM can move bulk data without the CPU copying it word by word. |
disableDMA | void disableDMA() | No description in source. |
dmaEnabled | boolean dmaEnabled() | No description in source. |
enableGPU | void enableGPU() | Native GPU access: the hosted CPU gets a GPU device to offload compute to. |
disableGPU | void disableGPU() | No description in source. |
gpuEnabled | boolean gpuEnabled() | No description in source. |
dmaEngine | SLDMAController dmaEngine() | Direct access to the guest's engines (null until hosted/enabled). |
gpuDevice | SLGPUDevice gpuDevice() | No description in source. |
hostedCpu | SLCPURuntime hostedCpu() | No description in source. |
runGuestWorkload | int runGuestWorkload(SLWorkload work, int budget) | Run the full stack in one call: the hosted guest CPU compiles a C/C++/Java/ Sleela workload, maps it onto SLVM's substrate, and SLVM drives that opcode stream (servicing I/O VM-exits through its native bindings). Returns the observable output. This is the Creator -> SLVM -> CPU -> program executor path realized end to end. |
lastGuestResult | int lastGuestResult() | No description in source. |
newInstance | SLVMObject newInstance(int classId) | --- object allocation surface for Sleela-sourced VM code --- |
collect | int collect() | --- GC surface: clear marks, mark reachable from the main thread's "this". --- |
start | void start() | No description in source. |
stop | void stop() | No description in source. |
register | void register() | No description in source. |
vmName | String vmName() | No description in source. |
runState | int runState() | No description in source. |
stepsRun | int stepsRun() | No description in source. |
lastService | int lastService() | No description in source. |
theHeap | SLVMHeap theHeap() | No description in source. |
linearMemory | SLVMMemory linearMemory() | No description in source. |
mainThread | SLVMThread mainThread() | No description in source. |
engine | SLSleelaVM engine() | No description in source. |
active | boolean active() | No description in source. |
halted | boolean halted() | No description in source. |
SLVMAdministrator #sleela 2.5 (lib/vm/creator/SLVMAdministrator.sleela)
SLVMAdministrator class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
formalName | String formalName = "Administrator"; Integer generation = 7; String vmPath = "/7" | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configureAdministration | function configureAdministration(); function configureRecovery(); function configureAudit(); function configureHardenedManagement(); | No description in source. |
validateRecovery | function validateRecovery(); function validateAudit(); function build(SleelaVMSource source); function verify(SleelaVMBuildPlan plan); | No description in source. |
SLVmAudit #sleela 2.5 (lib/vm/src/sleela/SLVmAudit.sleela)
SLVmAudit class
Defines SLVmAudit — the OOD equivalent of the native audit trail (virtual-machine/vm-version/009/vm_audit.{h,c}, v009). It records structured events (CONFIG/DENIAL/PRESSURE/SATURATE/PLATFORM/ERROR/INFO) with a monotonic sequence number and a running FNV-1a chain hash so the trail is ordered and tamper-evident, mirroring each event to SLVmReport. The native side is a 256-entry ring; the Sleela surface keeps the counters, the running chain hash, and the last event (the ring body is native). Mirrors: enum VmAuditKind, vm_audit_record/result/total/count/chain/report. Family: vm. Composes SLVmReport, SLVmResult.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
INFO | static final int INFO = 0 | No description in source. |
CONFIG | static final int CONFIG = 1 | No description in source. |
DENIAL | static final int DENIAL = 2 | No description in source. |
PRESSURE | static final int PRESSURE = 3 | No description in source. |
SATURATE | static final int SATURATE = 4 | No description in source. |
PLATFORM | static final int PLATFORM = 5 | No description in source. |
ERROR | static final int ERROR = 6 | No description in source. |
total | int total | ever recorded |
chainLow | int chainLow | low 31 bits of the running chain hash (surface int) |
lastSeq | int lastSeq | No description in source. |
lastKind | int lastKind | No description in source. |
lastSubsystem | String lastSubsystem | No description in source. |
lastMessage | String lastMessage | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
init | void init() | No description in source. |
severityFor | int severityFor(int kind) | No description in source. |
fold | int fold(int h, int v) | simple positive-int FNV-1a fold step (surface has no unsigned/xor; use multiply+add+mod to keep a stable, order-sensitive running value). |
log | int log(int kind, String subsystem, String message, SLVmReport rep) | record an event (mirror vm_audit_record): seq++, fold the chain, mirror to report. |
logResult | int logResult(SLVmResult r, SLVmReport rep) | fold a typed result into the trail (mirror vm_audit_result). |
totalEvents | int totalEvents() | No description in source. |
chain | int chain() | No description in source. |
kindName | String kindName(int k) | No description in source. |
SLVMAuthority #sleela 2.5 (lib/vm/creator/SLVMAuthority.sleela)
SLVMAuthority class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
formalName | String formalName = "Authority"; Integer generation = 9; String vmPath = "/9" | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configureFilesystemAdaptation | function configureFilesystemAdaptation(); function configureOSAdapters(); function configureFilesystemCapabilities(); | No description in source. |
validateNativeAuthority | function validateNativeAuthority(); function validateFilesystemNegotiation(); function build(SleelaVMSource source); function verify(SleelaVMBuildPlan plan); | No description in source. |
SLVmCapability #sleela 2.5 (lib/vm/src/sleela/SLVmCapability.sleela)
SLVmCapability class
Defines SLVmCapability — the OOD equivalent of the native capability-enforcement choke point (virtual-machine/vm-version/007/ vm_capability.{h,c}, v007). It turns the SLVmConfig capability mask into real decisions: a bridge asks `check` before acting; a disabled capability yields a typed DENIED result (reported, counted) and refuses the op. This closes the gap v001 noted (the mask was recorded but not enforced). Mirrors: vm_cap_allowed/check/denials/reset, vm_cap_name. Family: vm. Composes SLVmConfig, SLVmResult, SLVmReport, SLVmTelemetry.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
config | SLVmConfig config | No description in source. |
denials | int denials | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
bind | void bind(SLVmConfig cfg) | No description in source. |
reset | void reset() | No description in source. |
denialCount | int denialCount() | No description in source. |
allowed | boolean allowed(int cap) | No description in source. |
check | boolean check(int cap, String subsystem, String operation, | Guard a bridge op. Returns true to proceed; on denial fills `out` with a DENIED result, reports+counts it, returns false. |
capName | String capName(int cap) | No description in source. |
SLVMClass #sleela 2.5 (lib/vm/SLVMClass.sleela)
SLVMClass class
Defines SLVMClass — the runtime type descriptor in the secondary Sleela VM. It carries a class id (as stored in every object header by SLVMHeap), a name, an optional superclass id for single inheritance, the instance field count that sizes allocations, and up-to-N declared fields and methods wired as individual slots (the SLeeLa surface has no arrays, so — as SLCPU does with cores — members are held as f0..f7 / m0..m7 and selected by index). Resolving a method or field by name is how call/field opcodes bind. New() sizes an object from fieldTotal; the loader (SLVMModuleLoader) populates the descriptor from a module. Family: vm. Composes SLVMField, SLVMMethod; composed by SLVMModule.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
classId | int classId | No description in source. |
name | String name | No description in source. |
superId | int superId | -1 when there is no superclass |
fieldTotal | int fieldTotal | instance field slots (incl. inherited) => object size |
fieldCount | int fieldCount | No description in source. |
methodCount | int methodCount | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(int id, String className, int superclassId, int totalFields) | No description in source. |
addField | void addField(SLVMField field) | No description in source. |
field | SLVMField field(int index) | No description in source. |
fieldSlot | int fieldSlot(String fieldName) | Map a field name to its heap slot; -1 if not declared here. |
addMethod | void addMethod(SLVMMethod method) | No description in source. |
methodAt | SLVMMethod methodAt(int index) | No description in source. |
resolveMethod | SLVMMethod resolveMethod(String methodName) | Virtual-ish lookup by name within this class (superclass walk is driven by SLVMModule, which owns the id->class table). |
resolveExposedMethod | SLVMMethod resolveExposedMethod(String methodName) | --- access-gated resolution (extensible-network enforcement) ----------- Resolve ONLY a network-exposed (public) method. This is what a remote hop / another file in the network may reach: a private or protected method is NOT returned here, so the network cannot bind a non-exposed symbol. |
resolveMethodForCaller | SLVMMethod resolveMethodForCaller(String methodName, int callerRole) | Resolve on behalf of a caller whose own access role is `callerRole` (SLAccessSemantics.ROLE_*). Rules the VM enforces: - exposed (public) methods: reachable by anyone (including the network); - local (private) methods: reachable only by a local/in-system caller (callerRole local or guarded), never the net; - guarded (protected) methods: reachable by a local or guarded caller (the guard controls run before proceeding). A plain resolveMethod() with no role still works (role 0 = ungated). |
id | int id() | No description in source. |
className | String className() | No description in source. |
superclass | int superclass() | No description in source. |
instanceSize | int instanceSize() | No description in source. |
fields | int fields() | No description in source. |
methods | int methods() | No description in source. |
SLVMComponentFetcher #sleela 2.5 (lib/vm/SLVMComponentFetcher.sleela)
SLVMComponentFetcher class
Defines SLVMComponentFetcher — the VM series' hook into the resilient support-downloader module (lib/operating-system/SLSupportDownloader). The VM sometimes needs to obtain an OS/runtime component at run time (a kernel source, a package index, a backend runtime); if the primary URL 404s, the VM must fall through to prioritized support/mirror URLs rather than fail. This fetcher wires an SLVM to an SLSupportDownloader: the VM asks it to resolve the first reachable support URL for a component kind, or to run the 404-tolerant fallback fetch, so VM-driven component acquisition is resilient the same way the OS document's build-time acquisition is. This is the VM-side hook that complements the OS-document hook (SLDownloadSet composes the same SLSupportDownloader). Either path obtains components with the authoritative -> official -> college/edu -> archive fallback order. Family: vm. Composes SLVM + SLSupportDownloader; fetch/probe cross the osRun bridge (requires #sleela 1.5).
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
vm | SLVM vm | the VM this fetcher serves |
support | SLSupportDownloader support | the shared resilient downloader |
configured | int configured | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(SLVM targetVm) | Wire the fetcher to a VM, creating a fresh support downloader. |
configureShared | void configureShared(SLVM targetVm, SLSupportDownloader shared) | Wire to a VM AND an existing (OS-document-shared) support downloader, so the VM and the OS model use one and the same fallback policy. |
supportDownloader | SLSupportDownloader supportDownloader() | No description in source. |
ready | boolean ready() | No description in source. |
resolve | String resolve(String kind) | Resolve the first reachable support URL for a component kind (probes the mirrors in priority order), or "" if none respond. The VM calls this before acquiring a component so it binds to a live source. |
fetch | int fetch(String kind, String dest) | Run the 404-tolerant fallback fetch for a component kind to a destination. Returns 0 on success (some tier succeeded), non-zero when every support URL (including the archive) failed. Uses osRun to execute the generated loop. |
runFetch | int runFetch(String kind, String url, String dest) | Execute one fetch of url -> dest with the right tool for the kind. |
resolvedPlan | String resolvedPlan(String kind) | A VM-facing summary: which support URL each needed kind would resolve to. |
SLVmConfig #sleela 2.5 (lib/vm/src/sleela/SLVmConfig.sleela)
SLVmConfig class
Defines SLVmConfig — the OOD equivalent of the native user-level VM configuration surface (virtual-machine/vm-version/001/vm_config.{h,c}, VM v001). It is the single place a user tunes a selected VM before start: the memory limit (256 MiB..2 GiB, 0 = manager off), the thread cap (1..128), the report verbosity, and the capability mask. The native side binds these fields to the sleela_memmgr limit and the bridge capability gate; on the Sleela side this class is the loadable record a user edits in setup or a conference and that the native VM reads when it boots the chosen VM. Mirrors: struct VmConfig { memory_limit_bytes; thread_cap; verbosity; capabilities; memory_manager_on }, enums VmVerbosity and VmCapability. Family: vm. A data+policy record; composed by SLVmVersion* manifests and applied through SLVmRuntime. Native application crosses the SLVMNativeBinding VM-exit seam (never a direct C call).
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
VERBOSITY_QUIET | static final int VERBOSITY_QUIET = 0 | Verbosity ordinals (mirror VmVerbosity). |
VERBOSITY_NORMAL | static final int VERBOSITY_NORMAL = 1 | No description in source. |
VERBOSITY_VERBOSE | static final int VERBOSITY_VERBOSE = 2 | No description in source. |
VERBOSITY_DEBUG | static final int VERBOSITY_DEBUG = 3 | No description in source. |
CAP_MEMORY | static final int CAP_MEMORY = 1 | Capability bits (mirror VmCapability; OR together). |
CAP_FILE_IO | static final int CAP_FILE_IO = 2 | No description in source. |
CAP_NETWORK | static final int CAP_NETWORK = 4 | No description in source. |
CAP_THREADS | static final int CAP_THREADS = 8 | No description in source. |
CAP_DYNLIB | static final int CAP_DYNLIB = 16 | No description in source. |
CAP_TERMINAL | static final int CAP_TERMINAL = 32 | No description in source. |
CAP_PATHS | static final int CAP_PATHS = 64 | No description in source. |
CAP_PROCESS | static final int CAP_PROCESS = 128 | No description in source. |
CAP_IPC | static final int CAP_IPC = 256 | No description in source. |
CAP_TIME | static final int CAP_TIME = 512 | No description in source. |
CAP_ALL | static final int CAP_ALL = 1023 | 0x3FF |
MIN_MEMORY_MIB | static final int MIN_MEMORY_MIB = 256 | Bounds (mirror the native #defines). |
MAX_MEMORY_MIB | static final int MAX_MEMORY_MIB = 2048 | No description in source. |
MAX_THREADS | static final int MAX_THREADS = 128 | No description in source. |
memoryLimitMiB | int memoryLimitMiB | ---- the configuration (mirror struct VmConfig) ---- 256..2048; 0 = manager off |
threadCap | int threadCap | 1..128 |
verbosity | int verbosity | VERBOSITY_* |
capabilities | int capabilities | CAP_* bitset |
memoryManagerOn | int memoryManagerOn | 1/0 |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
defaults | void defaults() | Sensible default: 2 GiB, 128 threads, NORMAL, all caps, manager on. |
setMemoryMiB | void setMemoryMiB(int mib) | Clamping setters (mirror vm_config_set_*). |
setThreads | void setThreads(int n) | No description in source. |
setVerbosity | void setVerbosity(int v) | No description in source. |
enable | void enable(int cap) | No description in source. |
disable | void disable(int cap) | No description in source. |
has | boolean has(int cap) | No description in source. |
verbosityName | String verbosityName() | No description in source. |
SLVMDirector #sleela 2.5 (lib/vm/creator/SLVMDirector.sleela)
SLVMDirector class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
formalName | String formalName = "Director"; Integer generation = 6; String vmPath = "/6" | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configureCoordination | function configureCoordination(); function configureCrossSubsystemExecution(); function configurePolicyRouting(); | No description in source. |
validateCoordination | function validateCoordination(); function build(SleelaVMSource source); function verify(SleelaVMBuildPlan plan); | No description in source. |
SLVMExecutive #sleela 2.5 (lib/vm/creator/SLVMExecutive.sleela)
SLVMExecutive class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
formalName | String formalName = "Executive"; Integer generation = 8; String vmPath = "/8" | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configureAdmission | function configureAdmission(); function configureSupervisedExecution(); function configureExecutionPolicy(); | No description in source. |
validateAdmission | function validateAdmission(); function validateExecutionPolicy(); function build(SleelaVMSource source); function verify(SleelaVMBuildPlan plan); | No description in source. |
SLVMField #sleela 2.5 (lib/vm/SLVMField.sleela)
SLVMField class
Defines SLVMField — the metadata for one declared field of a class in the secondary Sleela VM: its name, its slot index within an object's field block (see SLVMHeap layout), its declared type tag, and whether it is static (class-level) or instance-level. SLVMClass holds an ordered list of these; the loader fills them in while resolving a module so field access opcodes can map a name to a stable slot. Family: vm. Composed by SLVMClass.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
name | String name | No description in source. |
slot | int slot | index into the owning object's field block |
typeTag | int typeTag | one of SLVMValue.TAG_* |
isStatic | boolean isStatic | No description in source. |
accessRole | int accessRole | SLAccessSemantics.ROLE_* (0 none/1 exposed/2 local/3 guarded) |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String fieldName, int fieldSlot, int declaredType, boolean staticField) | No description in source. |
configureAccess | void configureAccess(String fieldName, int fieldSlot, int declaredType, | Full form: also record the field's access role. The old configure() delegates here with role 0, so existing callers are unchanged. |
setAccessRole | void setAccessRole(int role) | No description in source. |
fieldName | String fieldName() | No description in source. |
slotIndex | int slotIndex() | No description in source. |
declaredType | int declaredType() | No description in source. |
staticField | boolean staticField() | No description in source. |
instanceField | boolean instanceField() | No description in source. |
role | int role() | No description in source. |
exposedHop | boolean exposedHop() | No description in source. |
localOnly | boolean localOnly() | No description in source. |
guarded | boolean guarded() | No description in source. |
SLVMFoundation #sleela 2.5 (lib/vm/creator/SLVMFoundation.sleela)
SLVMFoundation class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
formalName | String formalName = "Foundation"; Integer generation = 1; String vmPath = "/1" | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
minimumCompleteSource | function minimumCompleteSource(); function selectFoundationModules(); function validateFoundation(); | No description in source. |
configure | function configure(SleelaVMOptions options); function build(SleelaVMSource source); function verify(SleelaVMBuildPlan plan); | No description in source. |
SLVMFrame #sleela 2.5 (lib/vm/SLVMFrame.sleela)
SLVMFrame class
Defines SLVMFrame — one activation record on a thread's call stack in the secondary Sleela VM. A frame owns a local-variable array and an operand stack (both SLVMValue carriers laid out over SLRAM), remembers the method it is running and the return instruction index to resume the caller, and tracks the current instruction pointer within the method's code window. Frames are what make the secondary VM a real interpreter rather than a flat opcode tape: CALL pushes a frame, RET pops it and restores the caller's ip. Family: vm. Composes SLRAM, SLVMValue, SLVMMethod; composed by SLVMThread.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
method | SLVMMethod method | No description in source. |
returnIp | int returnIp | caller ip to resume on RET |
callerClassId | int callerClassId | caller's "this" class, for RET context |
ip | int ip | current instruction index (within method window) |
locals | SLRAM locals | local slots: 2 words each (tag,payload) |
localCount | int localCount | No description in source. |
operands | SLRAM operands | operand stack: 2 words each (tag,payload) |
sp | int sp | operand count (not word index) |
capacity | int capacity | max operands |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(SLVMMethod m, int retIp, int callerClass, int operandCap) | No description in source. |
setLocal | void setLocal(int index, SLVMValue v) | --- locals --- |
getLocal | void getLocal(int index, SLVMValue out) | No description in source. |
push | void push(SLVMValue v) | --- operand stack --- |
pop | void pop(SLVMValue out) | No description in source. |
peek | void peek(SLVMValue out) | No description in source. |
instructionPointer | int instructionPointer() | --- ip control --- |
setIp | void setIp(int newIp) | No description in source. |
advance | void advance() | No description in source. |
runningMethod | SLVMMethod runningMethod() | No description in source. |
returnAddress | int returnAddress() | No description in source. |
callerClass | int callerClass() | No description in source. |
operandDepth | int operandDepth() | No description in source. |
localSlots | int localSlots() | No description in source. |
empty | boolean empty() | No description in source. |
SLVmGc #sleela 2.5 (lib/vm/src/sleela/SLVmGc.sleela)
SLVmGc class
Defines SLVmGc — the OOD equivalent of the native GC-quality layer (virtual-machine/vm-version/005/vm_gc.{h,c}, v005). From deltas of the collector's stats (allocations vs. reclamation vs. collections) it derives a condition (HEALTHY/BUSY/PRESSURE/THRASH), gives young-collection pacing advice, and edge-triggers a typed result through SLVmResult on worsening (plus a recovery notice). It complements GarbageCollector.sleela (the stat record) by adding the quality judgement over it. Mirrors: enum VmGcCondition, struct VmGcSnapshot, vm_gc_observe/condition/ should_collect_young/report. Family: vm. Composes SLVmResult, SLVmReport; reads the collector stats a GarbageCollector record carries.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
HEALTHY | static final int HEALTHY = 0 | No description in source. |
BUSY | static final int BUSY = 1 | No description in source. |
PRESSURE | static final int PRESSURE = 2 | No description in source. |
THRASH | static final int THRASH = 3 | No description in source. |
minReclaimPct | int minReclaimPct | reclaim/alloc below this = pressure (default 25) |
thrashPerK | int thrashPerK | collections per 1000 allocs for thrash (default 50) |
havePrev | int havePrev | No description in source. |
cond | int cond | No description in source. |
reported | int reported | edge-trigger latch |
collectYoung | int collectYoung | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
init | void init() | No description in source. |
setThresholds | void setThresholds(int minReclaim, int thrash) | No description in source. |
classify | int classify(int dAlloc, int dReclaim, int dColl) | No description in source. |
observe | int observe(int allocated, int reclaimed, int collections, SLVmResult res, SLVmReport rep) | observe fresh cumulative stats; returns the condition. |
shouldCollectYoung | boolean shouldCollectYoung() | No description in source. |
conditionName | String conditionName(int c) | No description in source. |
SLVMHeap #sleela 2.5 (lib/vm/SLVMHeap.sleela)
SLVMHeap class
Defines SLVMHeap — the object store of the secondary Sleela VM. It hands out stable integer handles and lays every object out over SLRAM as a small header (classId, fieldCount, mark) followed by its field slots. A value never embeds another object; it embeds a handle, so the GC can relocate or reclaim without the SLeeLa surface needing pointers. Allocation is a bump pointer over an SLRAM arena (unbounded tape => the VM can express arbitrarily large object graphs). mark()/sweepReset() give the native tri-colour collector (GC.md) a surface to drive; here they maintain the mark bit so a Sleela-sourced VM can reason about liveness without crossing to C. Family: vm. Composes SLRAM; composed by SLVM.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
H_CLASS | static final int H_CLASS = 0 | Per-object header layout (words), then fieldCount field slots follow. classId of this object |
H_FIELDS | static final int H_FIELDS = 1 | number of field slots |
H_MARK | static final int H_MARK = 2 | GC mark bit (0 = white, 1 = reachable) |
HEADER | static final int HEADER = 3 | header size in words |
SLOT | static final int SLOT = 2 | Each field slot is a packed SLVMValue: 2 words (tag, payload). |
arena | SLRAM arena | No description in source. |
capacityWords | int capacityWords | No description in source. |
next | int next | bump pointer (word index of next free cell) |
liveObjects | int liveObjects | No description in source. |
allocated | int allocated | total objects ever allocated |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(int words) | No description in source. |
allocate | int allocate(int classId, int fieldCount) | Allocate an object of classId with fieldCount fields; returns its handle (the word index of its header). All fields start as NULL. |
classOf | int classOf(int handle) | No description in source. |
fieldCount | int fieldCount(int handle) | No description in source. |
getField | void getField(int handle, int index, SLVMValue out) | Read field i of an object into the provided SLVMValue carrier. |
setField | void setField(int handle, int index, SLVMValue v) | Write a value into field i of an object. |
mark | void mark(int handle) | --- GC surface (drives / mirrors the native collector) --- |
marked | boolean marked(int handle) | No description in source. |
clearMarks | void clearMarks() | No description in source. |
bytesUsed | int bytesUsed() | No description in source. |
wordsUsed | int wordsUsed() | No description in source. |
capacity | int capacity() | No description in source. |
objectCount | int objectCount() | No description in source. |
totalAllocated | int totalAllocated() | No description in source. |
full | boolean full(int fieldCount) | No description in source. |
SLVMManager #sleela 2.5 (lib/vm/creator/SLVMManager.sleela)
SLVMManager class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
formalName | String formalName = "Manager"; Integer generation = 5; String vmPath = "/5" | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configureResourceManagement | function configureResourceManagement(); function configureProcessManagement(); function configureModuleManagement(); | No description in source. |
validateResourcePlan | function validateResourcePlan(SleelaVMResourcePlan resources); function build(SleelaVMSource source); function verify(SleelaVMBuildPlan plan); | No description in source. |
SLVMMemory #sleela 2.5 (lib/vm/SLVMMemory.sleela)
SLVMMemory class
Defines SLVMMemory — the flat linear address space of the secondary Sleela VM, distinct from the object heap (SLVMHeap). It backs raw loads/stores, string/array blobs, and the module code image over SLRAM, with word- and byte-granular access and simple bounds checking. The heap carves its arena from this space; native bindings may map device windows into it. Keeping a byte-addressable linear memory separate from the typed heap lets the secondary VM model both managed objects and the raw memory a guest OS/CPU model expects — the same split the native layer draws between SLRAM and the managed runtime. Family: vm. Composes SLRAM; composed by SLVM.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
MODE_SIMULATED | static final int MODE_SIMULATED = 0 | Backing mode. SLRAM (bridge-backed, accounted) |
MODE_NATIVE | static final int MODE_NATIVE = 1 | SLNativeMemory (real host RAM, direct) |
mode | int mode | No description in source. |
store | SLRAM store | used in MODE_SIMULATED |
native | SLNativeMemory native | used in MODE_NATIVE |
capacityWords | int capacityWords | No description in source. |
reads | int reads | No description in source. |
writes | int writes | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(int words) | Default (simulated) backing over SLRAM. |
configureNative | void configureNative(int words) | Native-RAM backing: the linear address space lives in REAL host memory, for running outside the simulated store (procedural layment). Same interface. |
nativeBacked | boolean nativeBacked() | No description in source. |
inRange | boolean inRange(int addr) | No description in source. |
readWord | int readWord(int addr) | No description in source. |
writeWord | void writeWord(int addr, int value) | No description in source. |
readByte | int readByte(int byteAddr) | Byte view packed four-per-word, little-endian within the word. |
writeByte | void writeByte(int byteAddr, int value) | No description in source. |
copy | void copy(int dst, int src, int words) | Copy a block of words (memmove-style, forward). |
capacity | int capacity() | No description in source. |
readCount | int readCount() | No description in source. |
writeCount | int writeCount() | No description in source. |
SLVmMemory #sleela 2.5 (lib/vm/src/sleela/SLVmMemory.sleela)
SLVmMemory class
Defines SLVmMemory — the OOD equivalent of the native memory hardening layer (virtual-machine/vm-version/002/vm_memory.{h,c}, v002). It adds WARNING and CRITICAL pressure watermarks over the memory manager's live/limit accounting and classifies a condition (NORMAL/PRESSURE/CRITICAL/ LIMIT), edge-triggering a report through SLVmReport only when a watermark is crossed (not per allocation) and a recovery notice when it returns to normal. The native side samples sleela_memmgr; this class holds the watermarks + the fed live/limit sample and the edge-trigger latch. Mirrors: enum VmMemCondition, vm_memory_set_watermarks/poll/condition/ usage_fraction/report. Family: vm. Composes SLVmReport.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
NORMAL | static final int NORMAL = 0 | No description in source. |
PRESSURE | static final int PRESSURE = 1 | No description in source. |
CRITICAL | static final int CRITICAL = 2 | No description in source. |
LIMIT | static final int LIMIT = 3 | No description in source. |
warnPct | int warnPct | watermarks as percent of the hard limit (defaults 80 / 95). |
critPct | int critPct | No description in source. |
liveMiB | int liveMiB | the latest sampled numbers (fed from the native memmgr stats). |
limitMiB | int limitMiB | No description in source. |
refused | int refused | No description in source. |
last | int last | last classified condition |
peakReported | int peakReported | highest condition already announced (edge-trigger) |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
defaults | void defaults() | No description in source. |
setWatermarks | void setWatermarks(int warning, int critical) | No description in source. |
sample | void sample(int live, int limit, int refusedCount) | Feed a fresh memmgr sample (live/limit MiB + cumulative refused). |
usagePct | int usagePct() | No description in source. |
classify | int classify() | No description in source. |
poll | int poll(SLVmReport r) | Poll + edge-triggered report through SLVmReport. Returns the condition. |
conditionName | String conditionName(int c) | No description in source. |
SLVMMethod #sleela 2.5 (lib/vm/SLVMMethod.sleela)
SLVMMethod class
Defines SLVMMethod — one executable method in the secondary Sleela VM. A method is a window into its module's canonical-opcode code store (SLVMModule holds the SLSleelaVM substrate): an entry instruction index, a length, an argument count, and a local-slot count. Calling a method pushes an SLVMFrame sized to maxLocals and points the substrate's ip at entry. The method does not own code bytes itself — code lives once in the module's SLSleelaVM so every layer executes the same 156 canonical opcodes the native engine (lib/cpu/SLSleelaVM) interprets. A method also carries an access role (exposed-hop / local-system / integrity-guarded) under the extensible-network interpretation, so the VM can gate resolution by role and realize the per-role backdrop. Family: vm. Composed by SLVMClass; drives SLVMFrame + SLVMModule.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
name | String name | No description in source. |
descriptor | String descriptor | e.g. "(II)I" style signature summary |
entry | int entry | first opcode index in the module code store |
length | int length | number of opcodes |
argCount | int argCount | operands popped from caller / consumed as params |
maxLocals | int maxLocals | local slots the frame must reserve |
isStatic | boolean isStatic | No description in source. |
isNative | boolean isNative | body is an SLVMNativeBinding instead of opcodes |
accessRole | int accessRole | Access role under the extensible-network interpretation (mirrors SLAccessSemantics.ROLE_*): 0 none, 1 exposed-hop (public), 2 local-system (private), 3 integrity-guarded (protected). This is the first VM-level access metadata on a method; resolveMethod gates on it (see SLVMClass). |
memTier | int memTier | Memory tier this method runs against (SLMemoryTierRouter.TIER_*): 0 inherit (use the program/document default), 1 usual (DDR2), 2 accurate (DDR5). Set from the usualmem/accuratemem modifiers; the dispatcher uses it to pick the physical memory module the method binds to. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String methodName, String sig, int entryIndex, int codeLength, | No description in source. |
configureAccess | void configureAccess(String methodName, String sig, int entryIndex, int codeLength, | Full form: also record the method's access role. The old configure() delegates here with role 0 (none), so existing callers are unchanged. |
setAccessRole | void setAccessRole(int role) | No description in source. |
setMemTier | void setMemTier(int tier) | No description in source. |
methodName | String methodName() | No description in source. |
signature | String signature() | No description in source. |
entryPoint | int entryPoint() | No description in source. |
lastIndex | int lastIndex() | No description in source. |
arity | int arity() | No description in source. |
locals | int locals() | No description in source. |
staticMethod | boolean staticMethod() | No description in source. |
nativeMethod | boolean nativeMethod() | No description in source. |
role | int role() | Role predicates for the resolve-time access gate. |
exposedHop | boolean exposedHop() | public : REST-exposed |
localOnly | boolean localOnly() | private : local/admin/safety |
guarded | boolean guarded() | protected: integrity-checked |
tier | int tier() | Memory-tier accessors (SLMemoryTierRouter.TIER_*). |
usualTier | boolean usualTier() | No description in source. |
accurateTier | boolean accurateTier() | No description in source. |
contains | boolean contains(int ip) | Does the given instruction index fall inside this method's code window? |
SLVmModium #sleela 2.5 (lib/vm/src/sleela/SLVmModium.sleela)
SLVmModium class
Defines SLVmModium — the file-resolution scanner a VM runs for itself. It verifies that a version's files exist, sit where they should (each recorded relative to itself, its parent, and the whole folder structure that led to it), and are intact by SHA-256 (the ~95% hash scan) against that version's MODIUM.json. For exact reconstitution of a file that fails the hash, the version's rebuild.sql — a portable MySQL database carrying each file's content — is the recovery source; restore is explicit-only and never silently overwrites. The host performs the scan; this class is the Sleela-side record + seam, routed through the OP_MODIUM_SCAN service opcode (149). Mirrors the native `sleela modium` subcommand and the generate-modium.py record (path/name/parent/ancestry/depth/sha256/size). Idempotent by design: the manifest is sorted and stable, so a clean tree always scans the same. Family: vm. Composes SLVmResult, SLVmReport; selected per version via SLVmVersion/SLVmRegistry. Native work crosses the SLVMNativeBinding VM-exit.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
MODE_SHA | static final int MODE_SHA = 0 | scan modes ~95% case: existence + location + SHA-256 |
MODE_EXACT | static final int MODE_EXACT = 1 | additionally byte-exact |
FILE_OK | static final int FILE_OK = 0 | per-file outcome ordinals (mirror the subcommand's classification) |
FILE_MISSING | static final int FILE_MISSING = 1 | not where it should be |
FILE_CORRUPT | static final int FILE_CORRUPT = 2 | present but SHA/bytes mismatch |
FILE_UNREADABLE | static final int FILE_UNREADABLE= 3 | No description in source. |
vmNumber | int vmNumber | 1..10 |
manifestPath | String manifestPath | "virtual-machine/vm-version/NNN/MODIUM.json" |
rebuildPath | String rebuildPath | "virtual-machine/vm-version/NNN/rebuild.sql" |
mode | int mode | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(int number, int scanMode) | No description in source. |
reset | void reset() | No description in source. |
scan | int scan(SLVmResult res, SLVmReport rep) | Request the host scan via the service opcode. Returns a status (0 ok, -1 out of range); detailed per-file results are reported by the host. |
tally | void tally(int outcome) | Tally one file outcome (the host calls this per file). |
resolved | boolean resolved() | No description in source. |
reconstituteHint | String reconstituteHint() | Reconstitution advice: exact recovery comes from rebuild.sql (MySQL), or a restore from the version's committed git content. Never automatic. |
report | void report(SLVmReport rep) | No description in source. |
pad3 | String pad3(int n) | No description in source. |
SLVMModule #sleela 2.5 (lib/vm/SLVMModule.sleela)
SLVMModule class
Defines SLVMModule — a loaded unit of code and types in the secondary Sleela VM: the id->SLVMClass table for the types it declares, an entry class/method to begin execution, and the shared SLSleelaVM substrate that actually holds and runs the 156 canonical opcodes those methods compile to. A module is the granularity the loader (SLVMModuleLoader) resolves and the linker (SleelaVMLinkingManager*) binds. The module owns the substrate so every method in it executes against one code store — the same opcode stream the native engine (lib/cpu/SLSleelaVM) interprets, which is what keeps the two VM layers behaviourally identical. Family: vm. Composes SLVMClass, SLSleelaVM; composed by SLVM.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
name | String name | No description in source. |
state | int state | 0 unloaded, 1 loaded, 2 linked |
substrate | SLSleelaVM substrate | the canonical-opcode engine shared by all methods |
classCount | int classCount | No description in source. |
entryClassId | int entryClassId | No description in source. |
entryMethod | String entryMethod | No description in source. |
access | SLAccessManifest access | Stated access semantics this module was compiled with (null until adopted from the program image). When present, the VM realizes the System backdrop and enforces role-gated resolution from it instead of guessing. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String moduleName, int codeCap, int stackCap, int globalCap) | No description in source. |
adoptAccess | void adoptAccess(SLAccessManifest manifest) | Adopt the access manifest the compiled image carries, so the module honors the stated public/private/protected semantics (exposed hop / local system / integrity-guarded) rather than inferring them. |
accessManifest | SLAccessManifest accessManifest() | No description in source. |
hasAccess | boolean hasAccess() | No description in source. |
accessCompetent | boolean accessCompetent() | No description in source. |
emit | int emit(int opcode, int arg) | Append one canonical opcode to the shared code store; returns its index so methods can be configured with (entry,length) windows. |
codeLength | int codeLength() | No description in source. |
addClass | void addClass(SLVMClass k) | No description in source. |
classIndex | SLVMClass classIndex(int index) | No description in source. |
classById | SLVMClass classById(int id) | Look a class up by the id stored in object headers. |
classByName | SLVMClass classByName(String className) | No description in source. |
resolveMethod | SLVMMethod resolveMethod(int classId, String methodName) | Resolve a method with a superclass walk using the module's class table. |
resolveExposedMethod | SLVMMethod resolveExposedMethod(int classId, String methodName) | Resolve a method the way the network sees it: only an exposed (public) hop binds. This is the module-level enforcement point for "a network of files may assume a public function is reachable" — private/protected do not bind. |
resolveMethodForCaller | SLVMMethod resolveMethodForCaller(int classId, String methodName, int callerRole) | Resolve on behalf of a caller with a known role (local/in-system callers can reach private/protected; a network/exposed caller cannot). |
setEntry | void setEntry(int classId, String methodName) | No description in source. |
load | void load() | No description in source. |
link | void link() | No description in source. |
moduleName | String moduleName() | No description in source. |
engine | SLSleelaVM engine() | No description in source. |
classes | int classes() | No description in source. |
entryClass | int entryClass() | No description in source. |
entryName | String entryName() | No description in source. |
loaded | boolean loaded() | No description in source. |
linked | boolean linked() | No description in source. |
active | boolean active() | No description in source. |
SLVMModuleLoader #sleela 2.5 (lib/vm/SLVMModuleLoader.sleela)
SLVMModuleLoader class
Defines SLVMModuleLoader — the loader-facing lifecycle that turns a named package into a resolved SLVMModule in the secondary Sleela VM. It discovers a package root, builds the module's class/method/field metadata, registers each resolved symbol, and tracks link state so the linking manager (SleelaVMLinkingManager*) can bind entry points. Native discovery remains filesystem-driven below the bridge; this object models the package lifecycle above it. The loader can also adopt the program's access manifest (finishModuleWithAccess) so the loaded module honors the stated public/private/protected system roles and the VM realizes the per-role backdrop. Family: vm. Produces/consumes SLVMModule, SLVMClass, SLAccessManifest; composed by SLVM.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
current | SLVMModule current | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String libraryRoot) | No description in source. |
select | void select(String name) | No description in source. |
discover | void discover(String name) | No description in source. |
beginModule | SLVMModule beginModule(String name, int codeCap, int stackCap, int globalCap) | Begin a module: allocate its substrate-backed body so classes can be added. |
defineClass | void defineClass(SLVMClass k) | Register a resolved class into the current module and count its symbols. |
finishModule | SLVMModule finishModule(int entryClassId, String entryMethod) | Finalise loading: mark the module loaded and set its entry point. |
finishModuleWithAccess | SLVMModule finishModuleWithAccess(int entryClassId, String entryMethod, | Finalise loading AND adopt the program's access manifest, so the loaded module honors the stated public/private/protected system roles (exposed hop / local / integrity-guarded) and the VM can realize the backdrop. Returns the loaded module; the old finishModule() remains for access-free images. |
accessRealized | boolean accessRealized() | Did the current module load a competent access backdrop the VM may realize? |
registerPackage | void registerPackage() | No description in source. |
load | void load() | No description in source. |
unload | void unload() | No description in source. |
active | boolean active() | No description in source. |
selected | boolean selected() | No description in source. |
packageCount | int packageCount() | No description in source. |
symbolCount | int symbolCount() | No description in source. |
packageAvailable | boolean packageAvailable(String p) | No description in source. |
module | SLVMModule module() | No description in source. |
library | String library() | No description in source. |
package | String package() | No description in source. |
SLVMNativeBinding #sleela 2.5 (lib/vm/SLVMNativeBinding.sleela)
SLVMNativeBinding class
Defines SLVMNativeBinding — the controlled seam where a method of the secondary Sleela VM crosses to the native engine. A binding names a native service (by symbol and by a canonical OS/service opcode from the 156-opcode ISA) and records its arity. When the VM dispatches a native method it invokes the binding, which parks a VM-exit the host services — exactly the mechanism lib/cpu/SLSleelaVM uses in hosted mode. This keeps "native work crosses an explicit bridge" (the vm-family rule) concrete: nothing in the secondary VM calls C directly; it goes through a named, arity-checked binding that the hypervisor/OS can audit. Family: vm. Composed by SLVM; mirrors lib/cpu VM-exit routing.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
symbol | String symbol | e.g. "sleela_vm_print_int" |
serviceOpcode | int serviceOpcode | canonical OP_* this binding fronts (-1 if pure native) |
arity | int arity | operands consumed |
bound | int bound | 1 once resolved against the native table |
lastResult | int lastResult | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String nativeSymbol, int opcode, int args) | No description in source. |
resolve | void resolve() | No description in source. |
nativeSymbol | String nativeSymbol() | No description in source. |
opcode | int opcode() | No description in source. |
argCount | int argCount() | No description in source. |
resolved | boolean resolved() | No description in source. |
invoke | int invoke(SLSleelaVM substrate, int payload) | Front the native call by parking a VM-exit on the substrate. The host reads exitReasonOpcode()/exitReasonPayload(), performs the real work, and resumes with pushResult(). payload is the primary argument (e.g. char to print). |
recordResult | void recordResult(int value) | No description in source. |
result | int result() | No description in source. |
SLVMObject #sleela 2.5 (lib/vm/SLVMObject.sleela)
SLVMObject class
Defines SLVMObject — a typed handle to a heap-allocated instance in the secondary Sleela VM. The object's state lives in SLVMHeap (header + field slots); SLVMObject is the convenient surface a Sleela-sourced VM uses to read and write that state by field index without touching raw SLRAM. It binds a heap handle to the heap that owns it, so getField/setField route through the GC-aware store and the object participates in marking. Family: vm. Composes SLVMHeap, SLVMValue.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
heap | SLVMHeap heap | No description in source. |
handle | int handle | -1 == null object |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
bind | void bind(SLVMHeap h, int objectHandle) | No description in source. |
create | void create(SLVMHeap h, int classId, int fieldCount) | Allocate a fresh instance of classId with fieldCount fields on the heap. |
isNull | boolean isNull() | No description in source. |
reference | int reference() | No description in source. |
classId | int classId() | No description in source. |
fieldCount | int fieldCount() | No description in source. |
getField | void getField(int index, SLVMValue out) | No description in source. |
setField | void setField(int index, SLVMValue v) | No description in source. |
getInt | int getInt(int index) | Convenience scalar accessors for the common integer-field case. |
setInt | void setInt(int index, int value) | No description in source. |
mark | void mark() | No description in source. |
SLVMOperator #sleela 2.5 (lib/vm/creator/SLVMOperator.sleela)
SLVMOperator class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
formalName | String formalName = "Operator"; Integer generation = 2; String vmPath = "/2" | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configureOperations | function configureOperations(); function configureRuntime(); function validateOperations(); | No description in source. |
build | function build(SleelaVMSource source); function verify(SleelaVMBuildPlan plan); | No description in source. |
SLVmPlatform #sleela 2.5 (lib/vm/src/sleela/SLVmPlatform.sleela)
SLVmPlatform class
Defines SLVmPlatform — the OOD equivalent of the native platform-parity readout (virtual-machine/vm-version/008/vm_platform.{h,c}, v008). It names the host (Win32/POSIX/Apple) and, per capability, reports parity: supported by the OS AND permitted by config. A capability a user permits but the OS does not support raises a typed UNAVAILABLE result once. The native side reads sleela_platform; this class holds the detected platform + the per-capability OS-support bits fed to it. Mirrors: enum VmPlatform, vm_platform_supports/parity/audit/report. Family: vm. Composes SLVmConfig, SLVmCapability, SLVmResult, SLVmReport.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
UNKNOWN | static final int UNKNOWN = 0 | No description in source. |
LINUX | static final int LINUX = 1 | No description in source. |
WINDOWS | static final int WINDOWS = 2 | No description in source. |
MACOS | static final int MACOS = 3 | No description in source. |
platform | int platform | No description in source. |
osVersion | String osVersion | No description in source. |
arch | String arch | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
init | void init(int detected, String version, String architecture) | No description in source. |
setSupport | void setSupport(int cap, boolean supported) | Caller may mark a capability unsupported on this OS (e.g. ipc/dynlib variance). |
supports | boolean supports(int cap) | No description in source. |
parity | boolean parity(int cap, SLVmCapability caps, SLVmResult res, SLVmReport rep) | 1 if (OS supports) AND (config permits); warns once if permitted-but-not-supported. |
platformName | String platformName() | No description in source. |
SLVmPremiumVersion #sleela 3.0 (lib/vm/src/sleela/SLVmPremiumVersion.sleela)
SLVmPremiumVersion class
Defines SLVmPremiumVersion -- the base manifest a selectable
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
id | String id | ---- identity (faithful to impl/frontend/driver.cpp kPremium) ---- e.g. "slvm-1" |
codename | String codename | The generation codename -- faithful to each VM's SLVM_CODENAME in its src/slvmNN_vm.c. The eleven form an ascending authority ladder that IS the progression: Foundation, Operator, Specialist, Supervisor, Manager, Director, Administrator, Executive, Authority, Principal, Sovereign. |
label | String label | e.g. "dedicated VM: broker, capabilities, security, OS boundary" |
number | int number | 1..11 |
dir | String dir | e.g. "sleela-virtual-machine/001" |
validator | String validator | the admission feature validator this generation compiles+calls at boot (USER-GUIDE: 1 security supervisor ... 11 TAC3 filesystem module) |
profile | SLVmConfig profile | the default configuration a user starts from |
hasVerifiedStorage | int hasVerifiedStorage | 010 |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
base | void base(int n, String identifier, String code, String lbl, String directory, String val) | Subclasses call base() then set their specifics. |
composeThrough | void composeThrough(int n) | Enable every capability up to generation `n` (the cumulative carry-forward). |
capabilityCount | int capabilityCount() | No description in source. |
nativeBinary | String nativeBinary() | The native binary the master build produces for this generation. The generations build to vm-build/slvm-NN (zero-padded dir, un-padded binary). |
build | SLVmRuntime build() | Build a configured runtime for this generation (what selection resolves to). |
getCodename | String getCodename() | getCodename(): the generation's authority-ladder name (real, from source). |
describe | void describe() | No description in source. |
SLVMPrincipal #sleela 2.5 (lib/vm/creator/SLVMPrincipal.sleela)
SLVMPrincipal class
the source-level construction contract for the Principal SLVM generation. Like the other generation classes it is a build-side contract (configure/build/verify), descriptive only; selecting it never implicitly grants OS, filesystem, network, storage, security, or administrative capability. SleelaVMCreator does the actual instantiation/boot. Family: vm.creator.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
formalName | String formalName = "Principal"; Integer generation = 10; String vmPath = "/10" | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configurePrincipalGovernance | function configurePrincipalGovernance(); function selectPrincipalModules(); function validatePrincipal(); | No description in source. |
configure | function configure(SleelaVMOptions options); function build(SleelaVMSource source); function verify(SleelaVMBuildPlan plan); | No description in source. |
SLVmProfile #sleela 2.5 (lib/vm/src/sleela/SLVmProfile.sleela)
SLVmProfile class
Defines SLVmProfile — the OOD equivalent of the native dispatch profiler (virtual-machine/vm-version/006/vm_profile.{h,c}, v006). It keeps per-opcode-family execution counts and accumulated nanoseconds (arith, control, loadstore, call, struct, bridge, print), a hot-family query, and a ranked report, feeding the SLVmTelemetry STEPS/BRIDGE counters so totals stay consistent. The native side reads a monotonic clock; on the Sleela surface (no arrays) the seven families are numbered fields and timing is supplied as a delta. Mirrors: enum VmOpFamily, vm_profile_tick/count/nanos/hot/report. Family: vm. Composes SLVmTelemetry.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
OP_ARITH | static final int OP_ARITH = 0 | No description in source. |
OP_CONTROL | static final int OP_CONTROL = 1 | No description in source. |
OP_LOADSTORE | static final int OP_LOADSTORE = 2 | No description in source. |
OP_CALL | static final int OP_CALL = 3 | No description in source. |
OP_STRUCT | static final int OP_STRUCT = 4 | No description in source. |
OP_BRIDGE | static final int OP_BRIDGE = 5 | No description in source. |
OP_PRINT | static final int OP_PRINT = 6 | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
init | void init() | No description in source. |
attribute | void attribute(int family, int nanos, SLVmTelemetry tel) | attribute one dispatch of a family (nanos may be 0 for a count-only tick), and bump telemetry STEPS (and BRIDGE for native-bridge families). |
nanosOf | int nanosOf(int family) | No description in source. |
hot | int hot() | the family with the most accumulated time (the hot path). |
familyName | String familyName(int f) | No description in source. |
SLVmReport #sleela 2.5 (lib/vm/src/sleela/SLVmReport.sleela)
SLVmReport class
Defines SLVmReport — the OOD equivalent of the native uniform diagnostic surface (virtual-machine/vm-version/001/vm_report.{h,c}, v001). It fixes one legible line format for every VM subsystem, "[idea-vm] <SEV> (<subsystem>[/<code>]): <message>", gated by the active verbosity, so a user sees consistent diagnostics instead of raw status ints. On the native side output goes to a stream; on the Sleela side this class formats and gates the line (print is the surface sink). Mirrors: enum VmSeverity, vm_report/vm_error/vm_warn/vm_notice/vm_debug. Family: vm. Composed by SLVmResult, SLVmMemory, SLVmTelemetry, SLVmAudit, SLVmRuntime; it reads an SLVmConfig for the verbosity gate.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
SEV_DEBUG | static final int SEV_DEBUG = 0 | No description in source. |
SEV_NOTICE | static final int SEV_NOTICE = 1 | No description in source. |
SEV_WARN | static final int SEV_WARN = 2 | No description in source. |
SEV_ERROR | static final int SEV_ERROR = 3 | No description in source. |
verbosity | int verbosity | mirrors the active SLVmConfig verbosity |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
bind | void bind(SLVmConfig cfg) | No description in source. |
severityName | String severityName(int s) | No description in source. |
minShown | int minShown() | Lowest severity shown at the current verbosity (mirror min_shown()). |
emit | int emit(int sev, String subsystem, String code, String message) | Emit one diagnostic if the severity is permitted. Returns 1 if printed. |
error | int error(String subsystem, String code, String message) | No description in source. |
warn | int warn(String subsystem, String code, String message) | No description in source. |
notice | int notice(String subsystem, String message) | No description in source. |
debug | int debug(String subsystem, String message) | No description in source. |
SLVmResult #sleela 2.5 (lib/vm/src/sleela/SLVmResult.sleela)
SLVmResult class
Defines SLVmResult — the OOD equivalent of the native typed result (virtual-machine/vm-version/003/vm_result.{h,c}, v003). One result the whole VM shares: a stable category code + the subsystem + a message, replacing per-family raw status ints. It reports itself through SLVmReport at the severity its code implies, and maps the legacy sleela_* ABI status convention (0 ok / negative error) onto the stable categories so existing bridges adopt it without changing their return values. Mirrors: enum VmResultCode, struct VmResult { code; subsystem; message }, vm_ok/vm_fail/vm_is_ok/vm_result_report/vm_result_from_status. Family: vm. Composes SLVmReport; folded into SLVmAudit.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
E_OK | static final int E_OK = 0 | No description in source. |
E_INVALID | static final int E_INVALID = 1 | No description in source. |
E_LIMIT | static final int E_LIMIT = 2 | No description in source. |
E_NOT_FOUND | static final int E_NOT_FOUND = 3 | No description in source. |
E_UNAVAILABLE | static final int E_UNAVAILABLE = 4 | No description in source. |
E_MALFORMED | static final int E_MALFORMED = 5 | No description in source. |
E_EXHAUSTED | static final int E_EXHAUSTED = 6 | No description in source. |
E_DENIED | static final int E_DENIED = 7 | No description in source. |
E_INTERNAL | static final int E_INTERNAL = 8 | No description in source. |
code | int code | No description in source. |
subsystem | String subsystem | No description in source. |
message | String message | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
ok | void ok() | No description in source. |
fail | void fail(int c, String sub, String msg) | No description in source. |
isOk | boolean isOk() | No description in source. |
codeName | String codeName() | No description in source. |
report | int report(SLVmReport r) | Report through SLVmReport at the severity the code implies. |
fromStatus | int fromStatus(int status) | Map a legacy sleela_* ABI status onto a stable category (mirror vm_result_from_status): 0 ok, negatives per the common convention. |
SLVmRuntime #sleela 2.5 (lib/vm/src/sleela/SLVmRuntime.sleela)
SLVmRuntime class
Defines SLVmRuntime — the OOD equivalent of the native consolidated facade (virtual-machine/vm-version/010/vm_runtime.{h,c}, v010). It composes the whole hardened VM — config, report, status, memory, result, telemetry, gc, profile, capability, platform, audit — and wires them in dependency order behind a four-call surface: init / poll / permit / report / shutdown. This is the Sleela object a VM selection resolves to: the native VM holds this record in memory after loading the chosen version's .sleela and uses it to configure and observe the loaded C/C++ VM. Mirrors: VM_RUNTIME_VERSION, vm_runtime_init/register_table/poll/permit/ note/report/shutdown. Family: vm. Composes SLVmConfig, SLVmReport, SLVmStatus, SLVmMemory, SLVmResult, SLVmTelemetry, SLVmGc, SLVmProfile, SLVmCapability, SLVmPlatform, SLVmAudit. Native effects route via SLVMNativeBinding.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
versionString | String versionString | e.g. "idea-vm v010 (consolidated)" |
config | SLVmConfig config | No description in source. |
report | SLVmReport report | No description in source. |
status | SLVmStatus status | No description in source. |
memory | SLVmMemory memory | No description in source. |
result | SLVmResult result | a reusable scratch result |
telemetry | SLVmTelemetry telemetry | No description in source. |
gc | SLVmGc gc | No description in source. |
profile | SLVmProfile profile | No description in source. |
capability | SLVmCapability capability | No description in source. |
platform | SLVmPlatform platform | No description in source. |
audit | SLVmAudit audit | No description in source. |
up | int up | 0 down, 1 running |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
init | void init(SLVmConfig cfg, String version) | init in dependency order (mirror vm_runtime_init). |
registerTable | void registerTable(int table, int capacity) | register a bounded-table capacity for saturation watching. |
poll | void poll(int gcAllocated, int gcReclaimed, int gcCollections, boolean haveGc) | periodic health sample: memory pressure (+ gc if fresh stats supplied). |
permit | boolean permit(int cap, String subsystem, String operation) | guard a native operation by capability; records a denial to the trail. |
reportStatus | void reportStatus() | the status banner + totals (mirror the consolidated report). |
shutdown | void shutdown() | No description in source. |
SLVmSource #sleela 2.5 (lib/vm/src/sleela/SLVmSource.sleela)
SLVmSource class
Defines SLVmSource — the OOD equivalent of the native VM source-requirement validator (lib/vm/src/sleela_vm_source.c). It records the requirements a selected VM target must satisfy — target kind (SLVM or SLJVM), pointer width, memory/cpu/stack limits, ABI code, module count, and a 128-bit feature mask — and validates them before the native loader is allowed to build and boot the chosen VM. This is the Sleela gate the VM selector consults when a user chooses a non-native VM. Mirrors: struct sleela_vm_requirements_t + sleela_vm_requirements_validate/ _plan_modules/_feature_enabled/_option_compatible (ABI: SLJVM=32, SLVM=30/31). Family: vm. Consulted by SLVmVersion* manifests and SLVmRegistry.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
KIND_SLVM | static final int KIND_SLVM = 0 | No description in source. |
KIND_SLJVM | static final int KIND_SLJVM = 1 | No description in source. |
kind | int kind | No description in source. |
pointerBits | int pointerBits | 32 or 64 |
memoryLimitMiB | int memoryLimitMiB | No description in source. |
cpuLimit | int cpuLimit | No description in source. |
stackLimit | int stackLimit | No description in source. |
abiCode | int abiCode | SLJVM=32; SLVM=30 or 31 |
moduleCount | int moduleCount | No description in source. |
featureMaskLow | int featureMaskLow | bits 0..30 (surface int) |
featureMaskHigh | int featureMaskHigh | bits 31..61 |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(int k, int pbits, int memMiB, int cpu, int stack, int abi) | No description in source. |
validate | boolean validate() | validate (mirror sleela_vm_requirements_validate): kind + widths + ABI code. |
planModules | boolean planModules(int n) | No description in source. |
featureEnabled | boolean featureEnabled(int bit) | feature bit 0..61 via the two halves. |
setFeature | void setFeature(int bit) | No description in source. |
pow2 | int pow2(int n) | No description in source. |
target | String target() | No description in source. |
SLVMSovereign #sleela 2.5 (lib/vm/creator/SLVMSovereign.sleela)
SLVMSovereign class
the source-level construction contract for the Sovereign SLVM generation (the highest defined generation). Like the other generation classes it is a build-side contract (configure/build/verify), descriptive only; selecting it never implicitly grants OS, filesystem, network, storage, security, or administrative capability. SleelaVMCreator does the actual instantiation/boot. Family: vm.creator.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
formalName | String formalName = "Sovereign"; Integer generation = 11; String vmPath = "/11" | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configureSovereignGovernance | function configureSovereignGovernance(); function selectSovereignModules(); function validateSovereign(); | No description in source. |
configure | function configure(SleelaVMOptions options); function build(SleelaVMSource source); function verify(SleelaVMBuildPlan plan); | No description in source. |
SLVMSpecialist #sleela 2.5 (lib/vm/creator/SLVMSpecialist.sleela)
SLVMSpecialist class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
formalName | String formalName = "Specialist"; Integer generation = 3; String vmPath = "/3" | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configureSubsystems | function configureSubsystems(); function configureSpecializedModules(); function validateDependencies(); | No description in source. |
build | function build(SleelaVMSource source); function verify(SleelaVMBuildPlan plan); | No description in source. |
SLVmStatus #sleela 2.5 (lib/vm/src/sleela/SLVmStatus.sleela)
SLVmStatus class
Defines SLVmStatus — the OOD equivalent of the native status readout (virtual-machine/vm-version/001/vm_status.{h,c}, v001): the "what am I running" banner that renders the VM version plus the applied configuration (memory, threads, verbosity, capabilities). It reads an SLVmConfig and prints a compact banner at NORMAL+ verbosity. Mirrors: VM_VERSION_STRING, vm_status_render/banner. Family: vm. Composes SLVmConfig.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
versionString | String versionString | e.g. "idea-vm v001 (ground floor)" |
config | SLVmConfig config | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
bind | void bind(String version, SLVmConfig cfg) | No description in source. |
banner | void banner() | No description in source. |
capsLine | String capsLine() | No description in source. |
SLVMSupervisor #sleela 2.5 (lib/vm/creator/SLVMSupervisor.sleela)
SLVMSupervisor class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
formalName | String formalName = "Supervisor"; Integer generation = 4; String vmPath = "/4" | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configureSupervision | function configureSupervision(); function configureScheduling(); function configureExecutionGuards(); | No description in source. |
validateSupervision | function validateSupervision(); function build(SleelaVMSource source); function verify(SleelaVMBuildPlan plan); | No description in source. |
SLVmTelemetry #sleela 2.5 (lib/vm/src/sleela/SLVmTelemetry.sleela)
SLVmTelemetry class
Defines SLVmTelemetry — the OOD equivalent of the native observability layer (virtual-machine/vm-version/004/vm_telemetry.{h,c}, v004). It holds VM-wide monotonic counters (steps, allocs, bridge calls, errors) and a saturation gauge per bounded handle table (best-of 32, synchro 64, munction 64, ai, canvas), with a high-water mark and an edge-triggered saturation watch that raises an EXHAUSTED result through SLVmResult/SLVmReport when a table crosses its watermark. The native layer is lock-free C11 atomics; on the Sleela surface (no arrays) the four counters and the watched tables are expanded into numbered fields. Mirrors: enum VmCounter, enum VmTable, vm_telemetry_add/get/gauge/report. Family: vm. Composes SLVmResult, SLVmReport. Tables use numbered fields in place of arrays, matching the SLVM binding-table convention.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
watermarkPct | int watermarkPct | default 80 |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
init | void init() | No description in source. |
setWatermark | void setWatermark(int pct) | No description in source. |
addSteps | void addSteps(int n) | counter bumps (mirror vm_telemetry_add) |
addAllocs | void addAllocs(int n) | No description in source. |
addBridge | void addBridge(int n) | No description in source. |
addErrors | void addErrors(int n) | No description in source. |
setCapacity | void setCapacity(int table, int cap) | register a table capacity (0=bestof 1=synchro 2=munction 3=ai 4=canvas) |
gauge | void gauge(int table, int live, SLVmResult res, SLVmReport rep) | update a gauge; edge-trigger an EXHAUSTED result on crossing the watermark. |
setWarned | void setWarned(int table, int v) | No description in source. |
SLVMThread #sleela 2.5 (lib/vm/SLVMThread.sleela)
SLVMThread class
Defines SLVMThread — one thread of control in the secondary Sleela VM. A thread is a chain of SLVMFrames (its call stack) plus a run state. The topmost frame is the one currently executing; CALL links a new frame as its caller, RET unlinks it. Each thread executes independently so the VM can model OP_SPAWN / OP_JOINALL from the canonical ISA. Frames are wired as a linked chain through SLVMFrame rather than an array (SLeeLa surface has no arrays): the thread holds only the current frame and a depth counter; callers keep their frame in a local as they recurse. For the bounded common case the thread also pins up to 8 frames so a scheduler can inspect the stack. Family: vm. Composes SLVMFrame; composed by SLVM.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
STATE_NEW | static final int STATE_NEW = 0 | No description in source. |
STATE_RUNNING | static final int STATE_RUNNING = 1 | No description in source. |
STATE_BLOCKED | static final int STATE_BLOCKED = 2 | No description in source. |
STATE_DONE | static final int STATE_DONE = 3 | No description in source. |
id | int id | No description in source. |
name | String name | No description in source. |
state | int state | No description in source. |
depth | int depth | number of active frames |
thisClassId | int thisClassId | current "this" context class for field opcodes |
thisHandle | int thisHandle | current "this" object handle |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(int threadId, String threadName) | No description in source. |
start | void start() | No description in source. |
block | void block() | No description in source. |
resume | void resume() | No description in source. |
finish | void finish() | No description in source. |
pushFrame | void pushFrame(SLVMFrame frame) | No description in source. |
frameAt | SLVMFrame frameAt(int index) | No description in source. |
currentFrame | SLVMFrame currentFrame() | No description in source. |
popFrame | void popFrame() | No description in source. |
enterContext | void enterContext(int classId, int handle) | No description in source. |
contextClass | int contextClass() | No description in source. |
contextHandle | int contextHandle() | No description in source. |
threadId | int threadId() | No description in source. |
threadName | String threadName() | No description in source. |
runState | int runState() | No description in source. |
stackDepth | int stackDepth() | No description in source. |
running | boolean running() | No description in source. |
done | boolean done() | No description in source. |
active | boolean active() | No description in source. |
SLVMValue #sleela 2.5 (lib/vm/SLVMValue.sleela)
SLVMValue class
Defines SLVMValue — a single tagged runtime value in the secondary Sleela VM. Every operand on a frame's stack, every field slot, and every local is an SLVMValue: a 2-word pair of (tag, payload). The tag says how to read the payload; the payload is either an inline scalar (int/bool/char) or a heap handle (object/string/array reference) into SLVMHeap. This is the atom the whole secondary VM manipulates. Keeping it a flat (tag,payload) pair means values can live uniformly in SLRAM-backed stacks and heaps without the SLeeLa surface needing arrays of structs. Family: vm. Composed by SLVMFrame, SLVMObject, SLVMHeap.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
TAG_NULL | static final int TAG_NULL = 0 | Type tags. NULL is the canonical empty reference. |
TAG_INT | static final int TAG_INT = 1 | No description in source. |
TAG_BOOL | static final int TAG_BOOL = 2 | No description in source. |
TAG_CHAR | static final int TAG_CHAR = 3 | No description in source. |
TAG_REF | static final int TAG_REF = 4 | payload is a heap handle (object/array) |
TAG_STR | static final int TAG_STR = 5 | payload is a heap handle to a string blob |
tag | int tag | No description in source. |
payload | int payload | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
setNull | void setNull() | No description in source. |
setInt | void setInt(int v) | No description in source. |
setBool | void setBool(boolean b) | No description in source. |
setChar | void setChar(int c) | No description in source. |
setRef | void setRef(int handle) | No description in source. |
setStr | void setStr(int handle) | No description in source. |
type | int type() | No description in source. |
raw | int raw() | No description in source. |
asInt | int asInt() | No description in source. |
asBool | boolean asBool() | No description in source. |
asHandle | int asHandle() | No description in source. |
isNull | boolean isNull() | No description in source. |
isScalar | boolean isScalar() | No description in source. |
isReference | boolean isReference() | No description in source. |
truthy | boolean truthy() | Truthiness used by control-flow opcodes (JMPF): null and 0 are false. |
packedTag | int packedTag() | Pack/unpack the (tag,payload) pair as a single word so a value can be stored in one SLRAM slot when a frame stack is laid out two words apart. |
packedPayload | int packedPayload() | No description in source. |
unpack | void unpack(int t, int p) | No description in source. |
SLVmVersion #sleela 2.5 (lib/vm/src/sleela/SLVmVersion.sleela)
SLVmVersion class
Defines SLVmVersion — the base manifest a selectable VM version
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
id | String id | e.g. "idea-vm-001" |
label | String label | e.g. "ground floor" |
number | int number | 1..10 |
nativeDir | String nativeDir | e.g. "virtual-machine/vm-version/001" |
nativeMain | String nativeMain | the C/C++ entry (e.g. "vm_ground_test" / "vm_runtime") |
hasBigIntSeries | int hasBigIntSeries | big integer series: SLeeLa fixed-width int32..int16777216 (signed) and uint32..uint16777216 (unsigned), power-of-two widths 2^5..2^24. A foundational language number capability, present from v001 in every think-tank version (parallels the premium VMs admitting the same series). |
hasMemory | int hasMemory | 002 |
hasResult | int hasResult | 003 |
hasTelemetry | int hasTelemetry | 004 |
hasGc | int hasGc | 005 |
hasProfile | int hasProfile | 006 |
hasCapability | int hasCapability | 007 |
hasPlatform | int hasPlatform | 008 |
hasAudit | int hasAudit | 009 |
hasRuntime | int hasRuntime | 010 |
profile | SLVmConfig profile | the default configuration a user starts from |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
base | void base(int n, String identifier, String lbl, String dir, String mainEntry) | Subclasses call base() then set their specifics. |
composeThrough | void composeThrough(int n) | Enable every additive unit up to version `n` (the cumulative carry-forward). |
unitCount | int unitCount() | No description in source. |
supportsBigIntSeries | int supportsBigIntSeries() | 1 iff this version supports the SLeeLa fixed-width big integer series (int32..int16777216, uint32..uint16777216). True for every version. |
build | SLVmRuntime build() | Build a configured runtime for this version (what selection resolves to). |
describe | void describe() | No description in source. |
startup-and-memory-guard #sleela 2.5 (lib/vm/tutorials/examples/startup-and-memory-guard.sleela)
StartupAndMemoryGuardTutorialExample class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
source | SleelaVMSource source | No description in source. |
startup | SleelaVMStartup startup | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | function configure() | No description in source. |
stop | function stop() | No description in source. |
very-senior-vm #sleela 2.5 (lib/vm/examples/04-very-senior/very-senior-vm.sleela)
ComponentFetcher class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
url | String url(String kind, int tier) | tier 0 authoritative, 1 official-mirror, 2 college/edu, 3 archive |
tierName | String tierName(int t) | No description in source. |
acquire | int acquire(String kind, int primaryDown) | Simulate acquisition: the primary (tier 0) is "down" here, so the fetcher falls through to the first working tier. Returns the tier that succeeded. |
SyscallBridge class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
enabled | boolean enabled | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(boolean processFeature) | No description in source. |
platform | String platform() | A guarded syscall: only answers when the PROCESS/OS_SYSCALLS feature is on. |
up | boolean up() | No description in source. |
MemoryGuard class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
mode | String mode | "slow-careful" / "balanced" / "fast" |
aggressiveness | int aggressiveness | 0..100 |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String m, int a) | No description in source. |
valid | boolean valid() | No description in source. |
summary | String summary() | No description in source. |
ChallengeManager class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure() | No description in source. |
require | void require(boolean cond) | No description in source. |
allPassed | boolean allPassed() | No description in source. |
report | String report() | No description in source. |
verdict | String verdict() | No description in source. |
BuildPlan class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
emitVmConfigC | String emitVmConfigC(String name, boolean syscalls, String guardMode) | No description in source. |
bit | String bit(boolean b) | No description in source. |
VerySeniorVM class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
banner | void banner(String t) | No description in source. |
main | void main() | No description in source. |
VMSharp #sleela 3.0 (lib/vm/vmsharp/VMSharp.sleela)
VMSharp class
VMSharp(TM) -- the loadable manifest for a VM that can start as a
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
id | String id = "vmsharp" | ---- identity ---- |
codename | String codename = "VMSharp" | No description in source. |
label | String label = "self-installer bootloader VM: minimal desktop or designated OS install" | No description in source. |
owner | String owner = "MEARVK LLC" | No description in source. |
bootloader | VMSharpBootloader bootloader | No description in source. |
plan | VMSharpInstallPlan plan | No description in source. |
levy | VMSharpLevy levy | No description in source. |
includedApps | VMSharpIncludedApp[] includedApps | No description in source. |
includedCount | int includedCount | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure() | No description in source. |
loadIncludedApps | void loadIncludedApps() | No description in source. |
getId | String getId() | No description in source. |
getCodename | String getCodename() | No description in source. |
getLabel | String getLabel() | No description in source. |
getOwner | String getOwner() | No description in source. |
getBootloader | VMSharpBootloader getBootloader() | No description in source. |
getPlan | VMSharpInstallPlan getPlan() | No description in source. |
getLevy | VMSharpLevy getLevy() | No description in source. |
includedAppCount | int includedAppCount() | No description in source. |
includedApp | VMSharpIncludedApp includedApp(int i) | The included app at index i (0-based), or null if out of range. |
beginIncludedInstall | boolean beginIncludedInstall(VMSharpIncludedApp app) | No description in source. |
canBootOn | boolean canBootOn(String arch, String vendor) | Can VMSharp boot on the given processor? Delegates to the bootloader model. |
startMinimalDesktop | void startMinimalDesktop() | Start in Minimal Desktop mode (ready immediately once CPU is admitted). |
startDownloadAndDesignate | void startDownloadAndDesignate() | No description in source. |
describe | void describe() | One-line manifest summary for `sleela vm list` style enumeration. |
VMSharpBootloader #sleela 3.0 (lib/vm/vmsharp/VMSharpBootloader.sleela)
VMSharpBootloader class
VMSharp(TM) self-installer bootloader MODEL. It models the boot handoff and CPU-architecture admission for VMSharp on commodity desktop processors: 32-bit x86 and 64-bit x64, whether AMD or Intel. It is a declarative state/gating model -- it reports which architectures and vendors are admitted and which boot firmware interface (BIOS/MBR or UEFI) is selected -- and it does NOT flash firmware, write a boot sector, modify a partition table, or touch real hardware. The authoritative live CPU facts come from the OSLS read-only inspection call oslsGetCPUInfo (vendor/model); this class decides admission from the architecture and vendor it is given. Honesty boundary: a real bootable image is produced only by the pinned OS Creator toolchain, not by this source class. This model is what the VMSharp manifest and installer plan reason over before any such image is built.
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
supportsArch | boolean supportsArch(String arch) | ---- supported architectures and vendors ---- "x86" (IA-32, 32-bit) and "x64" (x86-64/AMD64, 64-bit) are admitted. |
supportsVendor | boolean supportsVendor(String vendor) | No description in source. |
admits | boolean admits(String arch, String vendor) | A processor is admitted when both its architecture and its vendor are. |
firmwareFor | String firmwareFor(String arch) | No description in source. |
admissionReport | String admissionReport(String arch, String vendor) | A short human-readable admission verdict for a boot screen. |
VMSharpDemo #sleela 3.0 (lib/vm/vmsharp/examples/VMSharpDemo.sleela)
VMSharpDemo class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
main | void main() | No description in source. |
VMSharpDiskLayout #sleela 3.0 (lib/vm/vmsharp/VMSharpDiskLayout.sleela)
VMSharpDiskLayout class
VMSharp(TM) initial hard-drive MANIFEST and partitioning MODEL.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
rootFilesystem | String rootFilesystem = "ext4" | ---- the choice ---- |
espFilesystem | String espFilesystem = "fat32" | No description in source. |
rootSizeGiB | int rootSizeGiB = 0 | rootSizeGiB 0 means use the remaining space after ESP and swap. |
swapSizeGiB | int swapSizeGiB = 4 | No description in source. |
espSizeMiB | int espSizeMiB = 512 | No description in source. |
partitionTable | String partitionTable = "gpt" | partitionTable: gpt (UEFI) or msdos (BIOS). |
targetDevice | String targetDevice = "" | No description in source. |
deviceDesignated | boolean deviceDesignated = false | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure() | No description in source. |
rootable | boolean rootable(String fs) | No description in source. |
efiSystemPartition | boolean efiSystemPartition(String fs) | May this filesystem hold the EFI System Partition (must be FAT)? |
mkfsTool | String mkfsTool(String fs) | No description in source. |
chooseRootFilesystem | boolean chooseRootFilesystem(String fs) | No description in source. |
getRootFilesystem | String getRootFilesystem() | No description in source. |
rootChoices | String rootChoices() | A newline menu of the root filesystems VMSharp offers (EXT4 default first). |
setRootSizeGiB | void setRootSizeGiB(int g) | No description in source. |
setSwapSizeGiB | void setSwapSizeGiB(int g) | No description in source. |
setEspSizeMiB | void setEspSizeMiB(int m) | No description in source. |
useGpt | void useGpt() | No description in source. |
useMsdos | void useMsdos() | No description in source. |
getPartitionTable | String getPartitionTable() | No description in source. |
designateTarget | void designateTarget(String device) | No description in source. |
getTargetDevice | String getTargetDevice() | No description in source. |
isTargetDesignated | boolean isTargetDesignated() | No description in source. |
partitionManifest | SLList partitionManifest() | No description in source. |
partitionCount | int partitionCount() | No description in source. |
partitionPlan | SLList partitionPlan() | No description in source. |
partitionPlanSteps | int partitionPlanSteps() | No description in source. |
isReady | boolean isReady() | No description in source. |
summary | String summary() | A one-line layout summary. |
VMSharpIncludedApp #sleela 3.0 (lib/vm/vmsharp/VMSharpIncludedApp.sleela)
VMSharpIncludedApp class
A VMSharp(TM) INCLUDED APP -- an application the VMSharp image carries as a pre-designated install so it can be brought up on the VMSharp Desktop without the user having to designate a source by hand. This class is a declarative record of ONE included app: its name, audience, upstream source repository and branch, build toolchain, the build and run commands, and the entry point. It also carries a "quiet, perfect install" profile -- a description of an unattended, deterministic install that reports success or fails closed, never a partial or silent-wrong state. Honesty boundary: this class records an install PLAN faithful to the real upstream project. It does NOT clone, download, compile, or run anything, and it moves no funds. A real build/install is performed only by the pinned toolchain the VMSharp OS Creator drives, honoring the user's confirmation and the VMSharpLevy disclosure. Authored for the User MEARVK LLC, respectful of United States law and of the persons and groupings of peoples it concerns.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
appName | String appName = "" | ---- app identity ---- |
audience | String audience = "" | No description in source. |
sourceRepo | String sourceRepo = "" | No description in source. |
sourceBranch | String sourceBranch = "" | No description in source. |
toolchain | String toolchain = "" | No description in source. |
buildCommand | String buildCommand = "" | No description in source. |
runCommand | String runCommand = "" | No description in source. |
entryPoint | String entryPoint = "" | No description in source. |
quietInstall | boolean quietInstall = true | No description in source. |
perfectInstall | boolean perfectInstall = true | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String name, String who, String repo, String branch, | No description in source. |
getAppName | String getAppName() | No description in source. |
getAudience | String getAudience() | No description in source. |
getSourceRepo | String getSourceRepo() | No description in source. |
getSourceBranch | String getSourceBranch() | No description in source. |
getToolchain | String getToolchain() | No description in source. |
getBuildCommand | String getBuildCommand() | No description in source. |
getRunCommand | String getRunCommand() | No description in source. |
getEntryPoint | String getEntryPoint() | No description in source. |
isQuietInstall | boolean isQuietInstall() | No description in source. |
isPerfectInstall | boolean isPerfectInstall() | No description in source. |
isFullySpecified | boolean isFullySpecified() | No description in source. |
sourceDesignation | String sourceDesignation() | The source designation string a VMSharpInstallPlan consumes (repo at branch). |
installSummary | String installSummary() | A one-line disclosure a quiet-install screen can present before proceeding. |
VMSharpInstallOption #sleela 3.0 (lib/vm/vmsharp/VMSharpInstallOption.sleela)
VMSharpInstallOption class
One selectable option on a VMSharp(TM) install screen -- a key, a title, a one-line description, and a selected/enabled state. It is the finish-level UI component the install screens render and the user selects, the VMSharp-package sibling of lib/ui SLMenuItem / lib/core SLOption kept self-contained so the install wizard runs without the native UI bridge. Declarative: it holds selection state and renders to text; it performs no install action itself. Authored for the User MEARVK LLC, respectful of United States law and of the persons and groupings of peoples it concerns. Family: vm.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
key | String key = "" | ---- the option ---- |
title | String title = "" | No description in source. |
description | String description = "" | No description in source. |
selected | boolean selected = false | No description in source. |
enabled | boolean enabled = true | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String optKey, String optTitle, String optDescription) | No description in source. |
getKey | String getKey() | No description in source. |
getTitle | String getTitle() | No description in source. |
getDescription | String getDescription() | No description in source. |
isSelected | boolean isSelected() | No description in source. |
isEnabled | boolean isEnabled() | No description in source. |
select | void select() | No description in source. |
deselect | void deselect() | No description in source. |
enable | void enable() | No description in source. |
disable | void disable() | No description in source. |
render | String render() | Render one option line: a marker, the key, the title, and a disabled tag. |
renderDetail | String renderDetail() | A second indented line with the description, for a detailed screen. |
VMSharpInstallPlan #sleela 3.0 (lib/vm/vmsharp/VMSharpInstallPlan.sleela)
VMSharpInstallPlan class
VMSharp(TM) startup/install plan MODEL. VMSharp can start in one of two modes once its bootloader admits the processor: 1. MinimalDesktop -- bring up a minimal desktop session from the image. 2. DownloadAndDesignate -- fetch an OS image the user designates by URL, then install it to a target the user designates. This class is a declarative plan and ordered step list. It performs no download, no disk write, no partitioning, and no install. OS installation is a STATE-CHANGING operation: this model requires an explicit user designation (a confirmed target) and a confirmed source before its plan is considered ready, mirroring the OSLS boundary that keeps state-changing work off the read-only path. Nothing here mutates a host. Respectful of United States law and of the persons and groupings of peoples it concerns: the plan never proceeds without explicit, recorded designation.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
MODE_MINIMAL_DESKTOP | int MODE_MINIMAL_DESKTOP = 1 | ---- the two startup modes ---- |
MODE_DOWNLOAD_AND_DESIGNATE | int MODE_DOWNLOAD_AND_DESIGNATE = 2 | No description in source. |
mode | int mode = 0 | No description in source. |
sourceDesignation | String sourceDesignation = "" | For DownloadAndDesignate: the user-designated OS image source and target. |
targetDesignation | String targetDesignation = "" | No description in source. |
sourceConfirmed | boolean sourceConfirmed = false | No description in source. |
targetConfirmed | boolean targetConfirmed = false | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
getMode | int getMode() | No description in source. |
getModeName | String getModeName() | No description in source. |
chooseMinimalDesktop | void chooseMinimalDesktop() | No description in source. |
chooseDownloadAndDesignate | void chooseDownloadAndDesignate() | No description in source. |
designateSource | void designateSource(String source) | No description in source. |
designateTarget | void designateTarget(String target) | Record the user-designated install target. Recording does NOT write it. |
getSourceDesignation | String getSourceDesignation() | No description in source. |
getTargetDesignation | String getTargetDesignation() | No description in source. |
isReady | boolean isReady() | No description in source. |
steps | SLList steps() | No description in source. |
stepCount | int stepCount() | No description in source. |
VMSharpInstallWizard #sleela 3.0 (lib/vm/vmsharp/VMSharpInstallWizard.sleela)
VMSharpInstallWizard class
The VMSharp(TM) install wizard -- the ordered set of install
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
OPTION_LIMITED_DESKTOP | int OPTION_LIMITED_DESKTOP = 1 | No description in source. |
OPTION_OS_SENSITIVITY | int OPTION_OS_SENSITIVITY = 2 | No description in source. |
vm | VMSharp vm | No description in source. |
creatorRun | VMSharpOSCreatorRun creatorRun | No description in source. |
options | VMSharpInstallOption[] options | No description in source. |
optionCount | int optionCount | No description in source. |
cpuArch | String cpuArch = "" | the host CPU facts the wizard was given (from oslsGetCPUInfo) |
cpuVendor | String cpuVendor = "" | No description in source. |
cpuAdmitted | boolean cpuAdmitted = false | No description in source. |
chosen | int chosen = 0 | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure() | No description in source. |
manifest | VMSharp manifest() | No description in source. |
osCreatorRun | VMSharpOSCreatorRun osCreatorRun() | No description in source. |
getOptionCount | int getOptionCount() | No description in source. |
optionAt | VMSharpInstallOption optionAt(int i) | No description in source. |
welcomeScreen | String welcomeScreen() | ---- Screen 1: welcome ---- |
recordCpu | void recordCpu(String arch, String vendor) | No description in source. |
isCpuAdmitted | boolean isCpuAdmitted() | No description in source. |
cpuScreen | String cpuScreen() | No description in source. |
modeSelectScreen | String modeSelectScreen() | ---- Screen 3: mode selection ---- |
choose | boolean choose(String key) | No description in source. |
getChosen | int getChosen() | No description in source. |
desktopScreen | String desktopScreen() | ---- Screen 4a: limited Desktop confirm ---- |
osSensitivityScreen | String osSensitivityScreen(String resolvedAddresses, boolean acquired) | No description in source. |
diskLayoutScreen | String diskLayoutScreen(String rootFs, String targetDisk) | No description in source. |
levyScreen | String levyScreen() | ---- Screen 5: levy disclosure ---- |
canConfirm | boolean canConfirm() | No description in source. |
confirmScreen | String confirmScreen() | No description in source. |
VMSharpInstallWizardDemo #sleela 3.0 (lib/vm/vmsharp/examples/VMSharpInstallWizardDemo.sleela)
VMSharpInstallWizardDemo class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
main | void main() | No description in source. |
VMSharpLevy #sleela 3.0 (lib/vm/vmsharp/VMSharpLevy.sleela)
VMSharpLevy class
VMSharp(TM) per-use/per-install levy model. This records a DECLARED fiscal figure and its destination; it is descriptive fiscal metadata, not a payment, collection, escrow, or fund-transfer mechanism. No money moves as a result of this class: it carries the stated amount (USD 380 per use/install), the named destination (a United States national retirement process), and a simple running tally a caller may increment when it has independently and lawfully effected a real charge elsewhere. Honesty boundary: this class never contacts a payment network, never holds funds, and asserts nothing about whether any charge was actually made. The amount and destination are faithful to the owner's stated intent; the class is the auditable record of that intent, respectful of United States law and of the persons and groupings of peoples it concerns.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
perInstallUsd | int perInstallUsd = 380 | ---- the declared levy ---- Amount in whole US dollars charged per VMSharp use/install, as stated. |
destination | String destination = "United States national retirement process" | The declared destination: a United States national retirement process. |
currency | String currency = "USD" | The currency of the declared figure. |
recordedUses | int recordedUses = 0 | Running count of uses/installs the caller has recorded (not charges made). |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
getPerInstallUsd | int getPerInstallUsd() | No description in source. |
getDestination | String getDestination() | No description in source. |
getCurrency | String getCurrency() | No description in source. |
getRecordedUses | int getRecordedUses() | No description in source. |
recordUse | void recordUse() | No description in source. |
declaredTotalUsd | int declaredTotalUsd() | No description in source. |
disclosure | String disclosure() | A one-line disclosure a boot/install screen can present to the user. |
VMSharpNetworkStack #sleela 3.0 (lib/vm/vmsharp/VMSharpNetworkStack.sleela)
VMSharpNetworkStack class
VMSharp(TM) networking-stack MODEL. It describes how VMSharp reaches an external host (e.g. github.com) so it can acquire a repository: the transport (HTTPS over TCP/IP), the default port, the reachability check, and the ordered procedural a reach follows (resolve -> connect -> TLS handshake -> request -> receive). It composes with the OSLS read-only call oslsNetworkResolve for name resolution. It is a declarative model of the stack and its procedure -- it opens no socket, makes no connection, and transfers no bytes; a real transfer is performed by the host network stack under the VMSharp OS, honoring the user's confirmation. Authored for the User MEARVK LLC, respectful of United States law and of the persons and groupings of peoples it concerns. Family: vm.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
transport | String transport = "HTTPS" | ---- the stack ---- |
port | int port = 443 | No description in source. |
host | String host = "" | No description in source. |
resolvedAddresses | String resolvedAddresses = "" | No description in source. |
resolved | boolean resolved = false | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
getTransport | String getTransport() | No description in source. |
getPort | int getPort() | No description in source. |
getHost | String getHost() | No description in source. |
getResolvedAddresses | String getResolvedAddresses() | No description in source. |
isResolved | boolean isResolved() | No description in source. |
recordResolution | void recordResolution(String hostName, String addresses) | No description in source. |
isReachable | boolean isReachable() | No description in source. |
procedure | SLList procedure() | No description in source. |
procedureSteps | int procedureSteps() | No description in source. |
summary | String summary() | A one-line summary of the transport this stack uses for a host. |
VMSharpOSCreatorDemo #sleela 3.0 (lib/vm/vmsharp/examples/VMSharpOSCreatorDemo.sleela)
VMSharpOSCreatorDemo class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
main | void main() | No description in source. |
VMSharpOSCreatorRun #sleela 3.0 (lib/vm/vmsharp/VMSharpOSCreatorRun.sleela)
VMSharpOSCreatorRun class
VMSharp(TM) -> OS Creator run MODEL (first brush). It wires the
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
targetOwner | String targetOwner = "mearvk" | ---- the target OS source warehouse ---- |
targetRepo | String targetRepo = "OS.Sensitivity.III" | No description in source. |
targetBranch | String targetBranch = "main" | No description in source. |
targetHost | String targetHost = "github.com" | No description in source. |
destDir | String destDir = "vmsharp-os-sensitivity-iii" | No description in source. |
netStack | VMSharpNetworkStack netStack | No description in source. |
acq | VMSharpRepoAcquisition acq | No description in source. |
disk | VMSharpDiskLayout disk | No description in source. |
reachable | boolean reachable | No description in source. |
acquired | boolean acquired | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure() | No description in source. |
network | VMSharpNetworkStack network() | No description in source. |
acquisition | VMSharpRepoAcquisition acquisition() | No description in source. |
diskLayout | VMSharpDiskLayout diskLayout() | The initial hard-drive layout (filesystem choice + partition manifest). |
getTargetRepo | String getTargetRepo() | No description in source. |
getTargetHost | String getTargetHost() | No description in source. |
recordReach | void recordReach(String addresses) | No description in source. |
markAcquired | boolean markAcquired() | No description in source. |
isReachable | boolean isReachable() | No description in source. |
isAcquired | boolean isAcquired() | No description in source. |
acquisitionCommand | String acquisitionCommand() | The acquisition command for the chosen method into the destination dir. |
provenanceLine | String provenanceLine() | No description in source. |
osCreatorCommand | String osCreatorCommand() | No description in source. |
osCreatorReady | boolean osCreatorReady() | No description in source. |
runPlan | SLList runPlan() | No description in source. |
runPlanSteps | int runPlanSteps() | No description in source. |
VMSharpRepoAcquisition #sleela 3.0 (lib/vm/vmsharp/VMSharpRepoAcquisition.sleela)
VMSharpRepoAcquisition class
VMSharp(TM) repository-acquisition MODEL. Given a GitHub repo
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
METHOD_CLONE | int METHOD_CLONE = 1 | No description in source. |
METHOD_TARBALL | int METHOD_TARBALL = 2 | No description in source. |
METHOD_ZIP | int METHOD_ZIP = 3 | No description in source. |
owner | String owner = "" | No description in source. |
repo | String repo = "" | No description in source. |
branch | String branch = "" | No description in source. |
method | int method = 1 | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String repoOwner, String repoName, String repoBranch) | No description in source. |
useClone | void useClone() | No description in source. |
useTarball | void useTarball() | No description in source. |
useZip | void useZip() | No description in source. |
getOwner | String getOwner() | No description in source. |
getRepo | String getRepo() | No description in source. |
getBranch | String getBranch() | No description in source. |
getMethod | int getMethod() | No description in source. |
getMethodName | String getMethodName() | No description in source. |
cloneUrl | String cloneUrl() | The https clone URL for this repo. |
tarballUrl | String tarballUrl() | No description in source. |
zipUrl | String zipUrl() | No description in source. |
acquisitionCommand | String acquisitionCommand(String dest) | No description in source. |
resourceUrl | String resourceUrl() | The resource URL the network stack would reach for the selected method. |
summary | String summary() | A one-line acquisition summary. |
VMSharpUsbMedia #sleela 3.0 (lib/vm/vmsharp/VMSharpUsbMedia.sleela)
VMSharpUsbMedia class
VMSharp(TM) USB boot-media MODEL. It describes initializing
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
BRAND_LINUX | int BRAND_LINUX = 1 | ---- the three OS brands whose Makefiles stage/install the media ---- |
BRAND_WINDOWS | int BRAND_WINDOWS = 2 | No description in source. |
BRAND_MACOS | int BRAND_MACOS = 3 | No description in source. |
PREF_SEQUITUR | String PREF_SEQUITUR = "sequitur" | ---- the engineering-preference profiles ---- |
PREF_IQ | String PREF_IQ = "iq" | No description in source. |
PREF_HAVINGNESS | String PREF_HAVINGNESS = "havingness" | No description in source. |
engineeringPreference | String engineeringPreference = "sequitur" | No description in source. |
usbDevice | String usbDevice = "" | No description in source. |
deviceDesignated | boolean deviceDesignated = false | No description in source. |
staged | boolean staged = false | No description in source. |
written | boolean written = false | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure() | No description in source. |
setEngineeringPreference | void setEngineeringPreference(String pref) | Set the engineering preference; unknown values fall back to sequitur. |
getEngineeringPreference | String getEngineeringPreference() | No description in source. |
makefileForBrand | String makefileForBrand(int brand) | The per-brand Makefile that stages and installs the media. |
stage | void stage() | `make` stages the VMSharp files into a staging dir (no device needed). |
isStaged | boolean isStaged() | No description in source. |
designateDevice | void designateDevice(String device) | No description in source. |
getUsbDevice | String getUsbDevice() | No description in source. |
isDeviceDesignated | boolean isDeviceDesignated() | No description in source. |
markWritten | boolean markWritten() | No description in source. |
isWritten | boolean isWritten() | No description in source. |
isBootReady | boolean isBootReady() | The media is bootable-ready only after it is staged AND written. |
bootMediaPlan | SLList bootMediaPlan() | No description in source. |
bootMediaSteps | int bootMediaSteps() | No description in source. |
firmwareFor | String firmwareFor(String arch) | No description in source. |
summary | String summary() | A one-line media summary. |
VMSharpUsbMediaDemo #sleela 3.0 (lib/vm/vmsharp/examples/VMSharpUsbMediaDemo.sleela)
VMSharpUsbMediaDemo class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
main | void main() | No description in source. |