Changed mount name for builtin scripts 9pfs.

This commit is contained in:
Florian Nücke
2021-05-24 04:05:56 +02:00
parent 69bee69ccc
commit 4dd4c80eb0

View File

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