mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-03-11 21:51:50 +09:00
geturl.js
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user