summaryrefslogtreecommitdiffhomepage
path: root/Private/KernelKit
diff options
context:
space:
mode:
Diffstat (limited to 'Private/KernelKit')
-rw-r--r--Private/KernelKit/Framebuffer.hpp2
-rw-r--r--Private/KernelKit/PCI/IO.hpp2
-rw-r--r--Private/KernelKit/PEF.hpp6
-rw-r--r--Private/KernelKit/PermissionSelector.hxx3
-rw-r--r--Private/KernelKit/ProcessManager.hpp2
-rw-r--r--Private/KernelKit/SMPManager.hpp2
-rw-r--r--Private/KernelKit/Timer.hpp2
7 files changed, 12 insertions, 7 deletions
diff --git a/Private/KernelKit/Framebuffer.hpp b/Private/KernelKit/Framebuffer.hpp
index 8ad23571..feb34d3a 100644
--- a/Private/KernelKit/Framebuffer.hpp
+++ b/Private/KernelKit/Framebuffer.hpp
@@ -37,7 +37,7 @@ class Framebuffer final {
Framebuffer &operator=(const Framebuffer &) = delete;
Framebuffer(const Framebuffer &) = default;
- volatile UIntPtr *operator[](const UIntPtr &width_and_height);
+ volatile UIntPtr *operator[](const UIntPtr &pos);
operator bool() {
return m_FrameBufferAddr && m_Colour != FramebufferColorKind::INVALID;
diff --git a/Private/KernelKit/PCI/IO.hpp b/Private/KernelKit/PCI/IO.hpp
index 778650b6..4511fca1 100644
--- a/Private/KernelKit/PCI/IO.hpp
+++ b/Private/KernelKit/PCI/IO.hpp
@@ -9,7 +9,7 @@
#pragma once
-#include <ArchKit/Arch.hpp>
+#include <ArchKit/ArchKit.hpp>
#include <NewKit/Array.hpp>
#include <NewKit/Defines.hpp>
#include <NewKit/Ref.hpp>
diff --git a/Private/KernelKit/PEF.hpp b/Private/KernelKit/PEF.hpp
index 8c67c6ae..0cee2e90 100644
--- a/Private/KernelKit/PEF.hpp
+++ b/Private/KernelKit/PEF.hpp
@@ -22,7 +22,11 @@
#define kPefVersion 1
#define kPefNameLen 64
-// @brief Preferred Executable Format, a format designed for any computer.
+/// @brief Preferred Executable Format, a format designed
+/// for RISC/CISC Von-neumann processor types.
+
+/// The PEF also uses the x64 PE calling convention and ABI.
+/// It's just that the container are different.
namespace HCore {
enum {
diff --git a/Private/KernelKit/PermissionSelector.hxx b/Private/KernelKit/PermissionSelector.hxx
index 7b799c50..14bb5a9e 100644
--- a/Private/KernelKit/PermissionSelector.hxx
+++ b/Private/KernelKit/PermissionSelector.hxx
@@ -28,7 +28,8 @@ enum class RingKind {
kRingUser = 3,
kRingDriver = 2,
kRingKernel = 0,
- kUnknown = -1,
+ kRingUnknown = -1,
+ kRingCount = 4,
};
class PermissionSelector final {
diff --git a/Private/KernelKit/ProcessManager.hpp b/Private/KernelKit/ProcessManager.hpp
index 14c6eb28..8c536a3b 100644
--- a/Private/KernelKit/ProcessManager.hpp
+++ b/Private/KernelKit/ProcessManager.hpp
@@ -10,7 +10,7 @@
#ifndef __PROCESS_MANAGER__
#define __PROCESS_MANAGER__
-#include <ArchKit/Arch.hpp>
+#include <ArchKit/ArchKit.hpp>
#include <KernelKit/FileManager.hpp>
#include <KernelKit/PermissionSelector.hxx>
#include <NewKit/LockDelegate.hpp>
diff --git a/Private/KernelKit/SMPManager.hpp b/Private/KernelKit/SMPManager.hpp
index f7b048ad..0a71a165 100644
--- a/Private/KernelKit/SMPManager.hpp
+++ b/Private/KernelKit/SMPManager.hpp
@@ -10,7 +10,7 @@
#ifndef _INC_SMP_MANAGER_HPP
#define _INC_SMP_MANAGER_HPP
-#include <ArchKit/Arch.hpp>
+#include <ArchKit/ArchKit.hpp>
#include <CompilerKit/CompilerKit.hpp>
#include <NewKit/Ref.hpp>
diff --git a/Private/KernelKit/Timer.hpp b/Private/KernelKit/Timer.hpp
index af03a7d0..eeeeac3e 100644
--- a/Private/KernelKit/Timer.hpp
+++ b/Private/KernelKit/Timer.hpp
@@ -9,7 +9,7 @@
#pragma once
-#include <ArchKit/Arch.hpp>
+#include <ArchKit/ArchKit.hpp>
#include <CompilerKit/CompilerKit.hpp>
#include <NewKit/ErrorID.hpp>