renaming system.maxmem to sys.maxmem

This commit is contained in:
minjaesong
2022-09-01 18:13:13 +09:00
parent b41ff1c834
commit 079641ef1e
16 changed files with 8410 additions and 20 deletions

View File

@@ -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)
}