aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86_64/arch/bus/cpu.hpp8
-rw-r--r--arch/x86_64/arch/bus/isa.hpp5
-rw-r--r--arch/x86_64/arch/devices/pit.hpp1
-rw-r--r--arch/x86_64/arch/drivers/pit.hpp1
4 files changed, 9 insertions, 6 deletions
diff --git a/arch/x86_64/arch/bus/cpu.hpp b/arch/x86_64/arch/bus/cpu.hpp
index 40181b06..b027b5f5 100644
--- a/arch/x86_64/arch/bus/cpu.hpp
+++ b/arch/x86_64/arch/bus/cpu.hpp
@@ -16,7 +16,7 @@ namespace arch::bus
struct core_signature
{
//! The ID of this facet.
- constexpr auto static id = kapi::capabilities::facet_id{"core_signature"};
+ constexpr auto static id = kapi::capabilities::facet_id{"sig.dev.ccore"};
//! Allow for correct destruction through base pointers.
virtual ~core_signature() = default;
@@ -32,7 +32,7 @@ namespace arch::bus
struct core_claim
{
//! The ID of this facet
- constexpr auto static id = kapi::capabilities::facet_id{"core_claim"};
+ constexpr auto static id = kapi::capabilities::facet_id{"clm.drv.ccore"};
//! Allow for correct destruction through base pointers.
virtual ~core_claim() = default;
@@ -42,7 +42,7 @@ namespace arch::bus
struct lapic_signature
{
//! The ID of this facet.
- constexpr auto static id = kapi::capabilities::facet_id{"lapic_signature"};
+ constexpr auto static id = kapi::capabilities::facet_id{"sig.dev.lapic"};
//! Allow for correct destruction through base pointers.
virtual ~lapic_signature() = default;
@@ -58,7 +58,7 @@ namespace arch::bus
struct lapic_claim
{
//! The ID of this facet.
- constexpr auto static id = kapi::capabilities::facet_id{"lapic_claim"};
+ constexpr auto static id = kapi::capabilities::facet_id{"clm.drv.lapic"};
//! Allow for correct destruction through base pointers.
virtual ~lapic_claim() = default;
diff --git a/arch/x86_64/arch/bus/isa.hpp b/arch/x86_64/arch/bus/isa.hpp
index fe2e83a6..44a68059 100644
--- a/arch/x86_64/arch/bus/isa.hpp
+++ b/arch/x86_64/arch/bus/isa.hpp
@@ -1,6 +1,7 @@
#ifndef TEACHOS_X86_64_BUS_ISA_HPP
#define TEACHOS_X86_64_BUS_ISA_HPP
+#include <kapi/capabilities/facet_id.hpp>
#include <kapi/devices.hpp>
#include <kstd/result.hpp>
@@ -15,7 +16,7 @@ namespace arch::bus
struct isa_signature
{
//! The ID of this facet.
- constexpr auto static id = kapi::capabilities::facet_id{"isa_signature"};
+ constexpr auto static id = kapi::capabilities::facet_id{"sig.dev.isa"};
//! Allow for correct destruction through base pointers.
virtual ~isa_signature() = default;
@@ -28,7 +29,7 @@ namespace arch::bus
struct isa_claim
{
//! The ID of this facet
- constexpr auto static id = kapi::capabilities::facet_id{"isa_claim"};
+ constexpr auto static id = kapi::capabilities::facet_id{"clm.drv.isa"};
//! Allow for correct destruction through base pointers.
virtual ~isa_claim() = default;
diff --git a/arch/x86_64/arch/devices/pit.hpp b/arch/x86_64/arch/devices/pit.hpp
index e2546d27..08bf423a 100644
--- a/arch/x86_64/arch/devices/pit.hpp
+++ b/arch/x86_64/arch/devices/pit.hpp
@@ -3,6 +3,7 @@
#include <arch/bus/isa.hpp>
+#include <kapi/capabilities/facet_id.hpp>
#include <kapi/devices.hpp>
#include <string_view>
diff --git a/arch/x86_64/arch/drivers/pit.hpp b/arch/x86_64/arch/drivers/pit.hpp
index 32ad7573..ad8add4b 100644
--- a/arch/x86_64/arch/drivers/pit.hpp
+++ b/arch/x86_64/arch/drivers/pit.hpp
@@ -3,6 +3,7 @@
#include <arch/bus/isa.hpp>
+#include <kapi/capabilities/facet_id.hpp>
#include <kapi/devices.hpp>
#include <kapi/interrupts.hpp>