mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 22:28:12 +00:00
Add a simple IDEDiskDevice class that implements DiskDevice from VFS.
This commit is contained in:
parent
8293a0ff36
commit
12e515735b
6 changed files with 88 additions and 11 deletions
|
@ -14,6 +14,7 @@
|
|||
#include "CMOS.h"
|
||||
#include "FileSystem.h"
|
||||
#include "Userspace.h"
|
||||
#include "IDEDiskDevice.h"
|
||||
|
||||
#if 0
|
||||
/* Keyboard LED disco task ;^) */
|
||||
|
@ -123,6 +124,8 @@ void init()
|
|||
Disk::initialize();
|
||||
FileSystem::initialize();
|
||||
|
||||
auto hd0 = IDEDiskDevice::create();
|
||||
|
||||
// new Task(motd_main, "motd", IPC::Handle::MotdTask, Task::Ring0);
|
||||
new Task(user_main, "user", IPC::Handle::UserTask, Task::Ring3);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue