mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:48:11 +00:00
Kernel: Introduce the MemoryDevice
This is a character device that is being used by the dmidecode utility. We only allow to map the BIOS ROM area to userspace with this device.
This commit is contained in:
parent
df59b80e23
commit
5ab1864497
6 changed files with 235 additions and 0 deletions
|
@ -36,6 +36,7 @@
|
|||
#include <Kernel/Devices/FullDevice.h>
|
||||
#include <Kernel/Devices/I8042Controller.h>
|
||||
#include <Kernel/Devices/MBVGADevice.h>
|
||||
#include <Kernel/Devices/MemoryDevice.h>
|
||||
#include <Kernel/Devices/NullDevice.h>
|
||||
#include <Kernel/Devices/RandomDevice.h>
|
||||
#include <Kernel/Devices/SB16.h>
|
||||
|
@ -262,6 +263,7 @@ void init_stage2(void*)
|
|||
|
||||
Syscall::initialize();
|
||||
|
||||
new MemoryDevice;
|
||||
new ZeroDevice;
|
||||
new FullDevice;
|
||||
new RandomDevice;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue