Skip to content

Commit

Permalink
Kernel: Move VirtualAddress.h into VM/
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomekling committed Jul 9, 2019
1 parent 23a6c20 commit eca5c2b
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion AK/ELF/ELFLoader.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <AK/ELF/ELFImage.h>

#ifdef KERNEL
#include <Kernel/VirtualAddress.h>
#include <Kernel/VM/VirtualAddress.h>
class Region;
#endif

Expand Down
2 changes: 1 addition & 1 deletion Kernel/Arch/i386/CPU.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <AK/Badge.h>
#include <AK/Noncopyable.h>
#include <Kernel/VirtualAddress.h>
#include <Kernel/VM/VirtualAddress.h>
#include <Kernel/kstdio.h>

#define PAGE_SIZE 4096
Expand Down
1 change: 0 additions & 1 deletion Kernel/Devices/BlockDevice.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#pragma once

#include <Kernel/Devices/Device.h>
#include <Kernel/VirtualAddress.h>

class BlockDevice : public Device {
public:
Expand Down
2 changes: 1 addition & 1 deletion Kernel/FileSystem/File.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <AK/Types.h>
#include <Kernel/KResult.h>
#include <Kernel/UnixTypes.h>
#include <Kernel/VirtualAddress.h>
#include <Kernel/VM/VirtualAddress.h>

class FileDescription;
class Process;
Expand Down
2 changes: 1 addition & 1 deletion Kernel/FileSystem/FileDescription.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <Kernel/FileSystem/InodeMetadata.h>
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/Net/Socket.h>
#include <Kernel/VirtualAddress.h>
#include <Kernel/VM/VirtualAddress.h>

class File;
class TTY;
Expand Down
1 change: 0 additions & 1 deletion Kernel/Thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <Kernel/KResult.h>
#include <Kernel/UnixTypes.h>
#include <Kernel/VM/Region.h>
#include <Kernel/VirtualAddress.h>

class Alarm;
class FileDescription;
Expand Down
1 change: 0 additions & 1 deletion Kernel/VM/MemoryManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <Kernel/VM/PhysicalRegion.h>
#include <Kernel/VM/Region.h>
#include <Kernel/VM/VMObject.h>
#include <Kernel/VirtualAddress.h>

#define PAGE_ROUND_UP(x) ((((u32)(x)) + PAGE_SIZE - 1) & (~(PAGE_SIZE - 1)))

Expand Down
2 changes: 1 addition & 1 deletion Kernel/VM/RangeAllocator.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include <AK/Vector.h>
#include <Kernel/VirtualAddress.h>
#include <Kernel/VM/VirtualAddress.h>

class Range {
friend class RangeAllocator;
Expand Down
File renamed without changes.

0 comments on commit eca5c2b

Please sign in to comment.