Skip to content

Commit 5646a89

Browse files
committed
fpt: extend documentation
Signed-off-by: Daniel Maslowski <info@orangecms.org>
1 parent 18d0018 commit 5646a89

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

src/fpt.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
1+
//! Flash Partition Table (FPT)
2+
//!
3+
//! Knowledge herein is solely based on independent analysis efforts.
4+
//! The expansion of the acronym FPT is confirmed by Intel in the appendix
5+
//! on ME Firmware Status Registers in
6+
//! <https://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/intel-power-node-manager-v3-spec.pdf>.
17
//! For references regarding data structures and logic,
28
//! see <https://github.com/peterbjornx/meimagetool> `...intelme/model/fpt/` (Java)
39
//! and <https://github.com/linuxboot/fiano/blob/main/pkg/intel/me/structures.go>
410
//! and <https://github.com/platomav/MEAnalyzer>
511
//! and <https://github.com/corna/me_cleaner>
12+
//! and <https://github.com/mostav02/Remove_IntelME_FPT>.
613
714
use core::{
815
convert::Infallible,

src/ifd.rs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,27 @@
11
//! Intel Flash Descriptor (IFD), which was extended over time; for reference,
22
//! see <https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/io-controller-hub-8-datasheet.pdf>
33
//! and <https://edc.intel.com/content/www/us/en/design/ipla/software-development-platforms/client/platforms/alder-lake-mobile-p/intel-600-series-chipset-family-on-package-platform-controller-hub-pch-datash/002/>
4+
//! and <https://www.intel.com/content/www/us/en/content-details/710279/intel-600-series-and-intel-700-series-chipset-family-on-package-platform-controller-hub-pch-datasheet-volume-2-of-2.html>
45
//! and <https://opensecuritytraining.info/IntroBIOS_files/Day2_02_Advanced%20x86%20-%20BIOS%20and%20SMM%20Internals%20-%20Flash%20Descriptor.pdf>
56
//! and coreboot util/ifdtool
67
//!
78
//! NOTE: xxBA is the common abbreviation for _base address_.
89
//! NOTE: The base addresses are compact values and really mean bits 4..11
910
//! of 25-bit values, so we nead to expand them to get the real addresses.
1011
//! See the implementations for the calculations.
12+
//!
13+
//! | Section |
14+
//! | ---------------------------- |
15+
//! | Signature |
16+
//! | Descriptor Map |
17+
//! | Components |
18+
//! | Regions |
19+
//! | Masters |
20+
//! | PCH Soft Straps |
21+
//! | Reserved |
22+
//! | Management Engine VSCC Table |
23+
//! | Descriptor Upper Map |
24+
//! | OEM Section |
1125
1226
use std::fmt::Display;
1327

0 commit comments

Comments
 (0)