aboutsummaryrefslogtreecommitdiff
path: root/kapi
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-07-30 13:59:59 +0200
committerFelix Morgner <felix.morgner@ost.ch>2026-07-30 13:59:59 +0200
commit782b3c8563b2aacfe8f48a49fc6de7cbc26c4861 (patch)
tree50ed26cbad7c9796f02a21d19bce1946fe0cb1d7 /kapi
parent2b542cb4d5f2302f41d478892694124472cde8b0 (diff)
downloadkernel-782b3c8563b2aacfe8f48a49fc6de7cbc26c4861.tar.xz
kernel-782b3c8563b2aacfe8f48a49fc6de7cbc26c4861.zip
kernel: implement dev zero and null
Diffstat (limited to 'kapi')
-rw-r--r--kapi/kapi/devices/error.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/kapi/kapi/devices/error.hpp b/kapi/kapi/devices/error.hpp
index b4812550..cf33daa9 100644
--- a/kapi/kapi/devices/error.hpp
+++ b/kapi/kapi/devices/error.hpp
@@ -14,6 +14,10 @@ namespace kapi::devices
{
//! The driver did not match on the given device.
no_match = 1,
+ //! The device has no signature.
+ no_device_signature = 2,
+ //! The device signature was invalid.
+ invalid_device_signature = 3,
};
[[nodiscard]] auto driver_match_category() noexcept -> kstd::error_category const &;