Skip to content

Commit

Permalink
Established global variables and defined their interdependencies for …
Browse files Browse the repository at this point in the history
…determining firmware base mask alignment
  • Loading branch information
prakashb72 authored and gahan9 committed Jan 25, 2024
1 parent 3593b7e commit 1fe3e53
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/xmlcli/XmlCliLib.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@
CliSpecMajorVersion = 0x00
CliSpecMinorVersion = 0x00

MAXIMUM_BIOS_MEMORY_MAP = 0xFFFFFFFF
PAGE_SIZE = 0x1000
FIRMWARE_BASE_MASK_ALIGNMENT = (MAXIMUM_BIOS_MEMORY_MAP - PAGE_SIZE + 0x1)

CliCmdDict = {APPEND_BIOS_KNOBS_CMD_ID: 'APPEND_BIOS_KNOBS_CMD_ID', RESTOREMODIFY_KNOBS_CMD_ID: 'RESTOREMODIFY_KNOBS_CMD_ID',
READ_BIOS_KNOBS_CMD_ID : 'READ_BIOS_KNOBS_CMD_ID', LOAD_DEFAULT_KNOBS_CMD_ID: 'LOAD_DEFAULT_KNOBS_CMD_ID',
PROG_BIOS_CMD_ID : 'PROG_BIOS_CMD_ID', FETCH_BIOS_CMD_ID: 'FETCH_BIOS_CMD_ID',
Expand Down

0 comments on commit 1fe3e53

Please sign in to comment.