diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-09-01 10:13:43 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-09-01 10:13:43 +0200 |
| commit | c50f289f463f20eec6ae1085099e57de73cbab4f (patch) | |
| tree | 806d2791d4926743bc184b893f17199b74b732b5 /arch | |
| parent | 0f706c156dab12f288741fd23b4241d8ae0865f6 (diff) | |
| download | kernel-c50f289f463f20eec6ae1085099e57de73cbab4f.tar.xz kernel-c50f289f463f20eec6ae1085099e57de73cbab4f.zip | |
chore: clean up facet ids
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/x86_64/arch/bus/cpu.hpp | 8 | ||||
| -rw-r--r-- | arch/x86_64/arch/bus/isa.hpp | 5 | ||||
| -rw-r--r-- | arch/x86_64/arch/devices/pit.hpp | 1 | ||||
| -rw-r--r-- | arch/x86_64/arch/drivers/pit.hpp | 1 |
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> |
