From 566c5d1e99b096f83b39bc37be57db0c6a4fe195 Mon Sep 17 00:00:00 2001 From: sin-ack Date: Sat, 4 Sep 2021 21:04:10 +0000 Subject: AK+Kernel: Move KResult.h to Kernel/API for userspace access This commit moves the KResult and KResultOr objects to Kernel/API to signify that they may now be freely used by userspace code at points where a syscall-related error result is to be expected. It also exposes KResult and KResultOr to the global namespace to make it nicer to use for userspace code. --- Kernel/Bus/USB/UHCI/UHCIRootHub.h | 2 +- Kernel/Bus/USB/USBController.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Kernel/Bus') diff --git a/Kernel/Bus/USB/UHCI/UHCIRootHub.h b/Kernel/Bus/USB/UHCI/UHCIRootHub.h index 964b4be736..1597287235 100644 --- a/Kernel/Bus/USB/UHCI/UHCIRootHub.h +++ b/Kernel/Bus/USB/UHCI/UHCIRootHub.h @@ -8,9 +8,9 @@ #include #include +#include #include #include -#include namespace Kernel::USB { diff --git a/Kernel/Bus/USB/USBController.h b/Kernel/Bus/USB/USBController.h index 902387a69f..3a97e34ab0 100644 --- a/Kernel/Bus/USB/USBController.h +++ b/Kernel/Bus/USB/USBController.h @@ -7,9 +7,9 @@ #pragma once #include +#include #include #include -#include namespace Kernel::USB { -- cgit v1.2.3