mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 21:48:11 +00:00
Kernel: Move i386.{cpp,h} => Arch/i386/CPU.{cpp,h}
There's a ton of work that would need to be done before we could spin up on another architecture, but let's at least try to separate things out a bit.
This commit is contained in:
parent
5bce004d84
commit
736092a087
20 changed files with 20 additions and 21 deletions
|
@ -4,6 +4,7 @@
|
|||
#include <AK/StringBuilder.h>
|
||||
#include <AK/Time.h>
|
||||
#include <AK/Types.h>
|
||||
#include <Kernel/Arch/i386/CPU.h>
|
||||
#include <Kernel/Devices/NullDevice.h>
|
||||
#include <Kernel/FileSystem/Custody.h>
|
||||
#include <Kernel/FileSystem/FIFO.h>
|
||||
|
@ -21,7 +22,6 @@
|
|||
#include <Kernel/Syscall.h>
|
||||
#include <Kernel/TTY/MasterPTY.h>
|
||||
#include <Kernel/VM/MemoryManager.h>
|
||||
#include <Kernel/i386.h>
|
||||
#include <Kernel/i8253.h>
|
||||
#include <Kernel/kmalloc.h>
|
||||
#include <LibC/errno_numbers.h>
|
||||
|
@ -1441,8 +1441,7 @@ pid_t Process::sys$waitpid(pid_t waitee, int* wstatus, int options)
|
|||
return current->m_waitee_pid;
|
||||
}
|
||||
|
||||
enum class KernelMemoryCheckResult
|
||||
{
|
||||
enum class KernelMemoryCheckResult {
|
||||
NotInsideKernelMemory,
|
||||
AccessGranted,
|
||||
AccessDenied
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue