td_shim_interface/td_uefi_pi/mod.rs
1// Copyright © 2019 Intel Corporation
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15//! UEFI Platform Initialization data structures and accessors.
16//!
17//! This crate defines constants and data structures defined by the
18//! [UEFI-PI Spec](https://uefi.org/sites/default/files/resources/PI_Spec_1_6.pdf)
19//! and needed by the `td-shim` project. It also provides functions to parse those data structures
20//! from raw data buffer.
21//!
22//! Constants and data structures defined by [UEFI PI Spec] are hosted by [crate::pi], functions
23//! to access them are hosted by [crate::fv] and [crate::hob].
24
25pub mod fv;
26pub mod hob;
27pub mod pi;