1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 10:18:15 +09:00

Kernel: Move all code into the Kernel namespace

This commit is contained in:
Andreas Kling 2020-02-16 01:27:42 +01:00
parent d42f0f4661
commit a356e48150
Notes: sideshowbarker 2024-07-19 09:17:31 +09:00
201 changed files with 907 additions and 111 deletions

View file

@ -27,6 +27,8 @@
#include <Kernel/Devices/RandomDevice.h>
#include <Kernel/Random.h>
namespace Kernel {
RandomDevice::RandomDevice()
: CharacterDevice(1, 8)
{
@ -52,3 +54,5 @@ ssize_t RandomDevice::write(FileDescription&, const u8*, ssize_t size)
// FIXME: Use input for entropy? I guess that could be a neat feature?
return min(PAGE_SIZE, size);
}
}