mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-11 13:41:50 +09:00
renaming system.maxmem to sys.maxmem
This commit is contained in:
@@ -178,6 +178,9 @@ class VMJSR223Delegate(val vm: VM) {
|
||||
vm.sysrqDown = false
|
||||
}
|
||||
|
||||
fun maxmem(): Int {
|
||||
return vm.memsize.toInt()
|
||||
}
|
||||
fun getMallocStatus(): IntArray {
|
||||
return intArrayOf(vm.MALLOC_UNIT, vm.allocatedBlockCount)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user