|
IgrOS-Kernel 0.1.34.545
Simple C++20 Kernel for i386/x86_64
|
Device operations description. More...

Go to the source code of this file.
Classes | |
| struct | igros::sys::device_t |
| Device description structure. More... | |
Namespaces | |
| namespace | igros |
| IgrOS kernel: common types and literals. | |
| namespace | igros::sys |
| System formats (ELF). | |
Typedefs | |
| using | igros::sys::devFuncInit_t = std::add_pointer_t<auto()->igros_pointer_t> |
| Device init function pointer. | |
| using | igros::sys::devFuncDeinit_t = std::add_pointer_t<void(igros_pointer_t)> |
| Device deinit function pointer. | |
| using | igros::sys::devFuncOpen_t = std::add_pointer_t<auto(const char*, const igros_dword_t)->igros_pointer_t> |
| Device open function pointer. | |
| using | igros::sys::devFuncClose_t = std::add_pointer_t<void(igros_pointer_t)> |
| Device close function pointer. | |
| using | igros::sys::devFuncWrite_t = std::add_pointer_t<auto(const igros_pointer_t, const void* const, const igros_usize_t)->igros_usize_t> |
| Device write function pointer. | |
| using | igros::sys::devFuncRead_t = std::add_pointer_t<auto(const igros_pointer_t, void* const, const igros_usize_t)->igros_usize_t> |
| Device read function pointer. | |
| using | igros::sys::devFuncIOCTL_t = std::add_pointer_t<auto(const igros_pointer_t, const igros_dword_t, ...)->igros_usize_t> |
| Device IOCTL function pointer. | |
Functions | |
| auto | igros::sys::registerDevice (const device_t &dev) noexcept -> bool |
| Register device. | |
| auto | igros::sys::unregisterDevice (const device_t &dev) noexcept -> bool |
| Unregister device. | |
Device operations description.
Definition in file device.hpp.