aboutsummaryrefslogtreecommitdiff
path: root/kernel/devices/include
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/devices/include')
-rw-r--r--kernel/devices/include/devices/storage/storage_controller.hpp5
-rw-r--r--kernel/devices/include/devices/storage/storage_management.hpp5
2 files changed, 8 insertions, 2 deletions
diff --git a/kernel/devices/include/devices/storage/storage_controller.hpp b/kernel/devices/include/devices/storage/storage_controller.hpp
index e90b01c..7760fc9 100644
--- a/kernel/devices/include/devices/storage/storage_controller.hpp
+++ b/kernel/devices/include/devices/storage/storage_controller.hpp
@@ -47,7 +47,10 @@ namespace devices::storage
*/
[[nodiscard]] auto devices_count() const -> size_t;
- // TODO BA-FS26 add comment
+ /**
+ * @brief Return all devices managed by this controller.
+ * @return Vector of all managed devices.
+ */
[[nodiscard]] auto all_devices() const -> kstd::vector<kstd::shared_ptr<devices::device>> const &;
/**
diff --git a/kernel/devices/include/devices/storage/storage_management.hpp b/kernel/devices/include/devices/storage/storage_management.hpp
index dc2f6c9..65211c8 100644
--- a/kernel/devices/include/devices/storage/storage_management.hpp
+++ b/kernel/devices/include/devices/storage/storage_management.hpp
@@ -44,7 +44,10 @@ namespace devices::storage
*/
auto add_controller(kstd::shared_ptr<storage_controller> controller) -> void;
- // TODO BA-FS26 add comment
+ /**
+ * @brief Return all registered storage controllers.
+ * @return Vector of all registered storage controllers.
+ */
[[nodiscard]] auto all_controllers() const -> kstd::vector<kstd::shared_ptr<storage_controller>> const &;
/**