fix failure within decode_EFI_variables and print_efi_variable where characters are not ascii
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
Python3 failing `nvram_start = nvram_buf.find( sign )` within py3 because sign is defined as a string in else condition line 619
Reference #681
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
Try to use Extended header logic is used and the filesize causes an error, fall back the filesize within version1 header
Remove whitespace within file
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
added COMPRESSION_ALGORITHMS within chipsec/defines
modified logic witin spi_uefi to rotate through valid algorithms until one is found
modified error within helpers where a list was put inside a list
modified linux helper to use subprocess.call opposed to subprocess.check_output
fixes issues #609, #610, #611
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
Changed find_EFI_Configuration_Table to not log error and only log if HAL logging is enabled
Changed get_number_threads_from_APIC_table to utilize return structure from get_parse_ACPI_table
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
A workaround for RWE driver causing CHIPSEC over Hyper-V to report SMRR is not supported regardless of used driver.
Since CHIPSEC manual states that it no longer supprts RwEverything driver on Windows, that workaround should be removed.
If this workaround is still needed for some reason, better tell RWE driver from CHIPSEC driver, and act accordingly.
-------------------
1. Removed previous compression methodology
a. All files were removed
2. Using compression tools directly from tianocore/edk2/BaseTools
a. Downloaded from master branch
b. Changed Makefiles to build within Chipsec
c. Added BrotliCompress
3. Reworked Windows and Linux Helper to utilize tools built from compression tools
a. Both helpers utilize same logic of calling compression tools
b. Updated to support BrotliCompress
4. Modified GUID functionality within uefi_common to unpack struct as strings opposed to numbers
- added conditional within section logic to pass sections that are unknown/reserved and raw to build_efi_model function
- @ErikBjorge is looking into how the variable utf-16 part should handled
Several instances of what seems to be the callers not being updated
when code was refactored.
Signed-off-by: Ignacio Hernandez <ignacio.hernandez@intel.com>
- Found that native linux helper needs to first map io memory before reading it
- changed hal and helper functionality to allow base address and offset to be passed
to the function allowing the call to native_map_io_space to be used without guessing the base address
- discovered a bug within hal list_MMIO_BARs that failed if a MMIOBAR was unreadable added a try except to fix
- Fix missing slashes in DAL path
- Fix formatting of pcidb HAL module
- Fix TPM Eventlog documentation
- Minor edits to install process for multiple OS instances
- Changed method for numbering lists in install instructions
Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>
- Removed non-ASCII character
- Removed tab characters
- Removed extra blank line in documentation
Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>