patina 22.2.0

Common types and functionality used in UEFI development.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Test that duplicate StandardBootServices parameters are rejected at compile time.

use patina::{
    boot_services::StandardBootServices,
    component::component,
    error::Result,
};

pub struct TestComponent;

#[component]
impl TestComponent {
    fn entry_point(self, _bs1: StandardBootServices, _bs2: StandardBootServices) -> Result<()> {
        Ok(())
    }
}

fn main() {}