Use lowercase keys for devices
This commit is contained in:
@@ -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 ();
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user