geturl.js

This commit is contained in:
minjaesong
2022-09-22 23:25:46 +09:00
parent 2dc6f581cc
commit 7a0874b4a3
4 changed files with 63 additions and 14 deletions

View File

@@ -67,6 +67,15 @@ class VM(
init {
println("[VM] Creating new VM with ID of $id, memsize $memsize")
peripheralTable[0] = PeripheralEntry(
IOSpace(this),
HW_RESERVE_SIZE,
MMIO_SIZE.toInt() - 256,
64
)
init()
}
@@ -78,16 +87,6 @@ class VM(
fun init() {
killAllContexts()
peripheralTable[0] = PeripheralEntry(
IOSpace(this),
HW_RESERVE_SIZE,
MMIO_SIZE.toInt() - 256,
64
)
println("[VM] Creating new VM with ID of $id, memsize $memsize")
startTime = System.currentTimeMillis()
mallocMap.clear()