aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/include
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-04-02 14:24:52 +0200
committerFelix Morgner <felix.morgner@ost.ch>2026-04-02 14:24:52 +0200
commit66ffd2ad8c793c4eea1527848fe4772e42595718 (patch)
tree9d86601b57270172d76d5e617218507864ee4f54 /arch/x86_64/include
parentb84c4c9d8c90f3d3fd5a60de282278912fad2f04 (diff)
downloadteachos-66ffd2ad8c793c4eea1527848fe4772e42595718.tar.xz
teachos-66ffd2ad8c793c4eea1527848fe4772e42595718.zip
kapi: extract common bus code
Diffstat (limited to 'arch/x86_64/include')
-rw-r--r--arch/x86_64/include/arch/bus/isa.hpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/x86_64/include/arch/bus/isa.hpp b/arch/x86_64/include/arch/bus/isa.hpp
index 41dda93..bd92b2e 100644
--- a/arch/x86_64/include/arch/bus/isa.hpp
+++ b/arch/x86_64/include/arch/bus/isa.hpp
@@ -2,10 +2,6 @@
#define TEACHOS_X86_64_BUS_ISA_HPP
#include "kapi/devices/bus.hpp"
-#include "kapi/devices/device.hpp"
-
-#include <kstd/memory>
-#include <kstd/vector>
namespace arch::bus
{
@@ -13,17 +9,6 @@ namespace arch::bus
struct isa final : public kapi::devices::bus
{
isa();
-
- auto add_child(kstd::unique_ptr<device> child) -> void override;
-
- [[nodiscard]] auto children() const -> kstd::vector<kstd::observer_ptr<device>> const & override;
-
- auto init() -> bool override;
-
- private:
- kstd::vector<kstd::unique_ptr<device>> m_devices{};
- kstd::vector<kstd::observer_ptr<device>> m_observers{};
- bool m_initialized{};
};
} // namespace arch::bus