Kernel: Move VirtIO RNG implementation to the Security/Random directory

This commit is contained in:
Liav A. 2024-03-01 13:03:49 +02:00 committed by Andrew Kaster
parent bbb749ab47
commit 0bab9a9313
Notes: sideshowbarker 2024-07-17 06:35:23 +09:00
5 changed files with 4 additions and 4 deletions

View file

@ -10,10 +10,10 @@
#include <Kernel/Bus/PCI/API.h> #include <Kernel/Bus/PCI/API.h>
#include <Kernel/Bus/PCI/IDs.h> #include <Kernel/Bus/PCI/IDs.h>
#include <Kernel/Bus/VirtIO/Device.h> #include <Kernel/Bus/VirtIO/Device.h>
#include <Kernel/Bus/VirtIO/RNG.h>
#include <Kernel/Bus/VirtIO/Transport/PCIe/Detect.h> #include <Kernel/Bus/VirtIO/Transport/PCIe/Detect.h>
#include <Kernel/Devices/Serial/VirtIO/Console.h> #include <Kernel/Devices/Serial/VirtIO/Console.h>
#include <Kernel/Sections.h> #include <Kernel/Sections.h>
#include <Kernel/Security/Random/VirtIO/RNG.h>
namespace Kernel::VirtIO { namespace Kernel::VirtIO {

View file

@ -50,7 +50,6 @@ set(KERNEL_SOURCES
Bus/VirtIO/Transport/InterruptHandler.cpp Bus/VirtIO/Transport/InterruptHandler.cpp
Bus/VirtIO/Device.cpp Bus/VirtIO/Device.cpp
Bus/VirtIO/Queue.cpp Bus/VirtIO/Queue.cpp
Bus/VirtIO/RNG.cpp
Devices/AsyncDeviceRequest.cpp Devices/AsyncDeviceRequest.cpp
Devices/Audio/AC97/AC97.cpp Devices/Audio/AC97/AC97.cpp
Devices/Audio/Channel.cpp Devices/Audio/Channel.cpp
@ -277,6 +276,7 @@ set(KERNEL_SOURCES
Net/Socket.cpp Net/Socket.cpp
Net/TCPSocket.cpp Net/TCPSocket.cpp
Net/UDPSocket.cpp Net/UDPSocket.cpp
Security/Random/VirtIO/RNG.cpp
Security/AddressSanitizer.cpp Security/AddressSanitizer.cpp
Security/Credentials.cpp Security/Credentials.cpp
Security/Random.cpp Security/Random.cpp

View file

@ -4,9 +4,9 @@
* SPDX-License-Identifier: BSD-2-Clause * SPDX-License-Identifier: BSD-2-Clause
*/ */
#include <Kernel/Bus/VirtIO/RNG.h>
#include <Kernel/Bus/VirtIO/Transport/PCIe/TransportLink.h> #include <Kernel/Bus/VirtIO/Transport/PCIe/TransportLink.h>
#include <Kernel/Sections.h> #include <Kernel/Sections.h>
#include <Kernel/Security/Random/VirtIO/RNG.h>
namespace Kernel::VirtIO { namespace Kernel::VirtIO {

View file

@ -496,7 +496,6 @@ executable("Kernel_bin") {
"Bus/USB/USBTransfer.cpp", "Bus/USB/USBTransfer.cpp",
"Bus/VirtIO/Device.cpp", "Bus/VirtIO/Device.cpp",
"Bus/VirtIO/Queue.cpp", "Bus/VirtIO/Queue.cpp",
"Bus/VirtIO/RNG.cpp",
"Devices/AsyncDeviceRequest.cpp", "Devices/AsyncDeviceRequest.cpp",
"Devices/Audio/AC97/AC97.cpp", "Devices/Audio/AC97/AC97.cpp",
"Devices/Audio/Channel.cpp", "Devices/Audio/Channel.cpp",
@ -718,6 +717,7 @@ executable("Kernel_bin") {
"Security/Credentials.cpp", "Security/Credentials.cpp",
"Security/Jail.cpp", "Security/Jail.cpp",
"Security/Random.cpp", "Security/Random.cpp",
"Security/Random/VirtIO/RNG.cpp",
"Security/UBSanitizer.cpp", "Security/UBSanitizer.cpp",
"Syscalls/SyscallHandler.cpp", "Syscalls/SyscallHandler.cpp",
"Syscalls/alarm.cpp", "Syscalls/alarm.cpp",