Use lowercase keys for devices

This commit is contained in:
2026-03-16 21:25:06 +01:00
parent 65a7511e36
commit 1b1e1e4954
9 changed files with 18 additions and 18 deletions

View File

@@ -72,11 +72,11 @@ void bootmain (void) {
struct reschedule_ctx rctx;
memset (&rctx, 0, sizeof (rctx));
struct device* sys0 = device_find ("SYS0");
vfs_create_volume (thiscpu->kproc, &rctx, "SYS", FS_TARFS, sys0, false);
struct device* sys0 = device_find ("sys0");
vfs_create_volume (thiscpu->kproc, &rctx, "sys", FS_TARFS, sys0, false);
struct device* temp0 = device_find ("TEMP0");
vfs_create_volume (thiscpu->kproc, &rctx, "TEMP", FS_FAT16, temp0, true);
struct device* temp0 = device_find ("temp0");
vfs_create_volume (thiscpu->kproc, &rctx, "temp", FS_FAT16, temp0, true);
smp_init ();

View File

@@ -111,7 +111,7 @@ static void smp_bootstrap (struct limine_mp_info* mp_info) {
struct reschedule_ctx rctx;
memset (&rctx, 0, sizeof (rctx));
struct proc* spin_proc = proc_from_file (thiscpu->kproc, "SYS", "/spin", &rctx);
struct proc* spin_proc = proc_from_file (thiscpu->kproc, "sys", "/spin", &rctx);
proc_register (spin_proc, thiscpu, &rctx);
spin_lock (&spin_proc->cpu->lock, &fc);