1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:07:36 +00:00

Kernel: Use VirtualAddress & PhysicalAddress classes from LibBareMetal

This commit is contained in:
Liav A 2020-02-09 18:15:58 +02:00 committed by Andreas Kling
parent 7c4dd0c8cf
commit 99ea80695e
16 changed files with 20 additions and 163 deletions

View file

@ -29,7 +29,7 @@
#include <AK/String.h>
#include <AK/Types.h>
#include <Kernel/Devices/BlockDevice.h>
#include <Kernel/VM/PhysicalAddress.h>
#include <LibBareMetal/Memory/PhysicalAddress.h>
class BXVGADevice final : public BlockDevice {
AK_MAKE_ETERNAL

View file

@ -101,8 +101,8 @@
#include <Kernel/Devices/BlockDevice.h>
#include <Kernel/IRQHandler.h>
#include <Kernel/Lock.h>
#include <Kernel/VM/PhysicalAddress.h>
#include <Kernel/VM/PhysicalPage.h>
#include <LibBareMetal/Memory/PhysicalAddress.h>
struct FloppyControllerCommand {
u8 cmd; // Command to send to the controller

View file

@ -29,7 +29,7 @@
#include <AK/String.h>
#include <AK/Types.h>
#include <Kernel/Devices/BlockDevice.h>
#include <Kernel/VM/PhysicalAddress.h>
#include <LibBareMetal/Memory/PhysicalAddress.h>
class MBVGADevice final : public BlockDevice {
AK_MAKE_ETERNAL

View file

@ -41,9 +41,9 @@
#include <Kernel/IRQHandler.h>
#include <Kernel/Lock.h>
#include <Kernel/PCI/Access.h>
#include <Kernel/VM/PhysicalAddress.h>
#include <Kernel/VM/PhysicalPage.h>
#include <Kernel/WaitQueue.h>
#include <LibBareMetal/Memory/PhysicalAddress.h>
struct PhysicalRegionDescriptor {
PhysicalAddress offset;

View file

@ -29,9 +29,9 @@
#include <AK/CircularQueue.h>
#include <Kernel/Devices/CharacterDevice.h>
#include <Kernel/IRQHandler.h>
#include <Kernel/VM/PhysicalAddress.h>
#include <Kernel/VM/PhysicalPage.h>
#include <Kernel/WaitQueue.h>
#include <LibBareMetal/Memory/PhysicalAddress.h>
class SB16;