mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
Kernel: Rename OffsetDiskDevice to DiskPartition
This commit is contained in:
parent
8eb492aa11
commit
32d78a8526
Notes:
sideshowbarker
2024-07-19 13:47:28 +09:00
Author: https://github.com/deoxxa
Commit: 32d78a8526
Pull-request: https://github.com/SerenityOS/serenity/pull/165
Reviewed-by: https://github.com/awesomekling
5 changed files with 70 additions and 70 deletions
|
@ -6,7 +6,7 @@
|
|||
#include "Process.h"
|
||||
#include "PIC.h"
|
||||
#include <Kernel/Devices/IDEDiskDevice.h>
|
||||
#include <Kernel/Devices/OffsetDiskDevice.h>
|
||||
#include <Kernel/Devices/DiskPartition.h>
|
||||
#include "KSyms.h"
|
||||
#include <Kernel/Devices/NullDevice.h>
|
||||
#include <Kernel/Devices/ZeroDevice.h>
|
||||
|
@ -72,7 +72,7 @@ VFS* vfs;
|
|||
auto dev_random = make<RandomDevice>();
|
||||
auto dev_ptmx = make<PTYMultiplexer>();
|
||||
auto dev_hd0 = IDEDiskDevice::create();
|
||||
auto dev_hd0p1 = OffsetDiskDevice::create(dev_hd0.copy_ref(), PARTITION_OFFSET);
|
||||
auto dev_hd0p1 = DiskPartition::create(dev_hd0.copy_ref(), PARTITION_OFFSET);
|
||||
auto e2fs = Ext2FS::create(dev_hd0p1.copy_ref());
|
||||
e2fs->initialize();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue