Skip to content
Commit f02d4360 authored by Tam Chi Nguyen's avatar Tam Chi Nguyen Committed by Nhi Pham
Browse files

AmpereAltraPkg: Add NVParamRuntimeDxe to read/write NVPARAM at runtime



NVParamRuntimeDxe is a proxy to access NVPARAM at runtime via UEFI variables
like NVParamOffset and NVParamValue.

UEFI Variable GUID for the runtime NVPARAM access:
0xa12544a4, 0xbcc0, 0x4b12, { 0xaa, 0x56, 0x0a, 0x2a, 0x76, 0xf1, 0x65, 0x63 }

To read a NVPARAM:
    + Write offset to UEFI variable name "NVParamOffset"
    + Read back UEFI variable name "NVParamValue"

To write a NVPARAM:
    + Write offset to UEFI variable name "NVParamOffset"
    + Write 4 bytes value to UEFI variable name "NVParamValue"

Signed-off-by: default avatarNhi Pham <nhi@os.amperecomputing.com>
parent 77491163
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment