aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / vendor / uefi-raw / src / protocol / mod.rs
| 1 | // SPDX-License-Identifier: MIT OR Apache-2.0 |
| 2 | |
| 3 | //! Protocol definitions. |
| 4 | //! |
| 5 | //! # TL;DR |
| 6 | //! Technically, a protocol is a `C` struct holding functions and/or data, with |
| 7 | //! an associated [`GUID`]. |
| 8 | //! |
| 9 | //! # Overview |
| 10 | //! UEFI protocols are a structured collection of functions and/or data, |
| 11 | //! identified by a [`GUID`], which defines an interface between components in |
| 12 | //! the UEFI environment, such as between drivers, applications, or firmware |
| 13 | //! services. |
| 14 | //! |
| 15 | //! Protocols are central to UEFI’s handle-based object model, and they provide |
| 16 | //! a clean, extensible way for components to discover and use services from one |
| 17 | //! another. |
| 18 | //! |
| 19 | //! Implementation-wise, a protocol is a `C` struct holding function pointers |
| 20 | //! and/or data. Please note that some protocols may use [`core::ptr::null`] as |
| 21 | //! interface. For example, the device path protocol can be implemented but |
| 22 | //! return `null`. |
| 23 | //! |
| 24 | //! [`GUID`]: crate::Guid |
| 25 | |
| 26 | // Not every type or field needs to be documented. |
| 27 | #![expect(missing_docs)] |
| 28 | |
| 29 | pub mod acpi; |
| 30 | pub mod ata; |
| 31 | pub mod block; |
| 32 | pub mod console; |
| 33 | pub mod device_path; |
| 34 | pub mod disk; |
| 35 | pub mod driver; |
| 36 | pub mod file_system; |
| 37 | pub mod firmware_management; |
| 38 | pub mod firmware_volume; |
| 39 | pub mod hii; |
| 40 | pub mod iommu; |
| 41 | pub mod loaded_image; |
| 42 | pub mod media; |
| 43 | pub mod memory_protection; |
| 44 | pub mod misc; |
| 45 | pub mod network; |
| 46 | pub mod nvme; |
| 47 | pub mod pci; |
| 48 | pub mod rng; |
| 49 | pub mod scsi; |
| 50 | pub mod shell; |
| 51 | pub mod shell_params; |
| 52 | pub mod string; |
| 53 | pub mod tcg; |
| 54 | pub mod usb; |