mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-17 00:26:44 -04:00
Fix ramdisk size
This commit is contained in:
parent
79b6088bba
commit
536fbcbb1c
@ -64,10 +64,11 @@ void make_ram_disk(){
|
||||
return;
|
||||
}
|
||||
|
||||
_disks[number_of_disks] = {number_of_disks, disks::disk_type::RAM, &descriptor};
|
||||
++number_of_disks;
|
||||
_disks[number_of_disks] = {number_of_disks, disks::disk_type::RAM, descriptor};
|
||||
|
||||
devfs::register_device("/dev/", "ram0", devfs::device_type::BLOCK_DEVICE, ramdisk_driver, &_disks[number_of_disks]);
|
||||
|
||||
++number_of_disks;
|
||||
}
|
||||
|
||||
} //end of anonymous namespace
|
||||
|
Loading…
x
Reference in New Issue
Block a user