d20cc994ba
util/smmstoretool: add uint64 data type
...
It's in particular useful for working with variables that contain 64-bit
pointers, like CapsuleUpdateData* global variables defined by UEFI
specification.
Change-Id: I4b46b41cdc5f69d4ca189659bef1e44f64c0d554
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com >
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82611
Tested-by: build bot (Jenkins) <no-reply@coreboot.org >
Reviewed-by: Krystian Hebel <krystian.hebel@3mdeb.com >
2024-06-14 14:19:46 +00:00
dd6c3b4a61
util/smmstoretool: fix uint{16,32} not being listed by help
...
These data types were added during review of CB:79080 but they weren't
added to the help message.
Change-Id: I6e79d65c80c292c3f5d2a2611e602db5cc6cf374
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com >
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82610
Reviewed-by: Krystian Hebel <krystian.hebel@3mdeb.com >
Tested-by: build bot (Jenkins) <no-reply@coreboot.org >
Reviewed-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com >
2024-06-14 14:18:58 +00:00
89e056bdf1
util/smmstoretool: support processing ROMs
...
Input file is parsed for FMAP and SMMSTORE region which is used if
found. Otherwise, the whole file is assumed to be the region. Passing
an image with FMAP that lacks SMMSTORER is an error.
Change-Id: Ieab555d7bbcfa4dadf6a5070d1297acd737440fb
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com >
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80903
Tested-by: build bot (Jenkins) <no-reply@coreboot.org >
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz >
2024-03-09 23:26:41 +00:00
04bd965143
util: add smmstoretool for editing SMMSTORE
...
Offline SMMSTORE variable modification tool. Can be used to
pre-configure ROM image or debug EFI state stored in a dump.
Change-Id: I6c1c06f1d0c39c13b5be76a3070f09b715aca6e0
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com >
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79080
Tested-by: build bot (Jenkins) <no-reply@coreboot.org >
Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com >
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz >
2024-03-09 23:22:55 +00:00