IgrOS-Kernel 0.1.34.545
Simple C++20 Kernel for i386/x86_64
Loading...
Searching...
No Matches
driver.hpp File Reference

Kernel driver interface. More...

#include <array>
#include <type_traits>
#include <arch/types.hpp>
#include <klib/kPrint.hpp>
Include dependency graph for driver.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  igros::drivers::driver_t
 Kernel driver description. More...

Namespaces

namespace  igros
 IgrOS kernel: common types and literals.
namespace  igros::drivers
 Driver table and initialization.

Typedefs

using igros::drivers::driverInit_t = std::add_pointer_t<auto() noexcept -> bool>
 Driver init function (returns true on success).

Functions

template<igros_usize_t N>
auto igros::drivers::init (const std::array< drivers::driver_t, N > &drivers) noexcept -> igros_usize_t
 Initialize drivers in order and print status of each, returns failed drivers count.

Detailed Description

Kernel driver interface.

Date
03 Nov 2026
Author
Igor Baklykov

Definition in file driver.hpp.