From 4dd4c80eb07ad8277bfe35be265b51dd6b7202bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20N=C3=BCcke?= Date: Mon, 24 May 2021 04:05:56 +0200 Subject: [PATCH] Changed mount name for builtin scripts 9pfs. --- src/main/java/li/cil/oc2/common/vm/BuiltinDevices.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/li/cil/oc2/common/vm/BuiltinDevices.java b/src/main/java/li/cil/oc2/common/vm/BuiltinDevices.java index e280d5da..92ebcfe1 100644 --- a/src/main/java/li/cil/oc2/common/vm/BuiltinDevices.java +++ b/src/main/java/li/cil/oc2/common/vm/BuiltinDevices.java @@ -49,7 +49,7 @@ public final class BuiltinDevices { uart.getInterrupt().set(UART_INTERRUPT, context.getInterruptController()); context.getMemoryRangeAllocator().claimMemoryRange(uart); - vfs = new VirtIOFileSystemDevice(context.getMemoryMap(), "data", FileSystems.getLayeredFileSystem()); + vfs = new VirtIOFileSystemDevice(context.getMemoryMap(), "builtin", FileSystems.getLayeredFileSystem()); if (!context.getInterruptAllocator().claimInterrupt(VFS_INTERRUPT)) throw new IllegalStateException(); vfs.getInterrupt().set(VFS_INTERRUPT, context.getInterruptController()); context.getMemoryRangeAllocator().claimMemoryRange(vfs);