Commit Graph

1695 Commits

Author SHA1 Message Date
Frinzell, Aaron 2bb2c879be Type Hint and fstring updates to physmem.py
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2023-02-07 16:47:45 -08:00
Frinzell, Aaron a2867869bd Type Hint and fstring updates to cpu.py
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2023-02-07 16:47:29 -08:00
Frinzell, Aaron 1df7752571 Type Hint and fstring updates to cpuid.py
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2023-02-07 16:46:15 -08:00
Frinzell, Aaron bbb7a07908 Type Hint and fstring updates to smbus.py
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2023-02-07 16:43:35 -08:00
Frinzell, Aaron 85ca5f9e61 Type Hint and fstring updates to defines.py
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2023-02-07 16:43:21 -08:00
Frinzell, Aaron 10234c5407 Move SKIPPED results under NOTAPPLICABLE summary
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2023-02-07 16:43:05 -08:00
Frinzell, Aaron f8e8bd0ec4 Move to fstrings in chipset.py
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2023-02-07 16:38:41 -08:00
Nathaniel Mitchell 62fcefced3 Update to 1.10.2
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
1.10.2
2023-02-03 09:45:53 -08:00
Nathaniel Mitchell bb673f79f2 Add VS 2022 tools to the supported list 'VS170COMNTOOLS'
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2023-02-02 09:53:11 -08:00
Nathaniel Mitchell e1ea2b031b Correct writemem call to be 3 args\nNote: If you get an error, please re-extract the python files from __install__
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2023-02-01 11:49:48 -08:00
Frinzell, Aaron 8b532958c2 Fix UEFI ACPI guid
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2023-02-01 10:27:06 -08:00
Frinzell, Aaron 9c48913767 Add ref lables to contact.rst and code-style-python.rst
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2023-01-30 16:47:09 -08:00
Plato Mavropoulos 82ce973186 Fix some no-member errors at logger, uefi 2023-01-30 16:39:13 -08:00
brentholtsclaw b1b8482742 Clear flake8 issues
Incorrect function call within unknown_efi_decompress
Missing function rotate_list

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2023-01-30 16:38:56 -08:00
brentholtsclaw 7b88525077 ACPI tables clean up
Move RDSP into ACPI_TABLES class
Remove cs dependency from BERT Table

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2023-01-30 16:38:02 -08:00
Nathaniel Mitchell 4ce4ebc56c Update to 1.10.1
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
1.10.1
2023-01-25 12:33:55 -08:00
Audrey Dutcher 747cba18a6 Remove bytestostring call in edk2.writemem 2023-01-25 12:10:42 -08:00
Dan Scott 47fed065b3 Add RaptorLake configuration
Signed-off-by: Dan Scott <dan.scott@intel.com>
2023-01-25 11:05:56 -08:00
Frinzell, Aaron f6495edc74 Bring back print_banner() and print_banner_properties()
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2023-01-25 10:42:41 -06:00
Frinzell, Aaron 4f4b82597d Decouple banner routines from logger.py
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2023-01-25 10:42:41 -06:00
Frinzell, Aaron bec289246d Fix Type Hints in testcase.py
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2023-01-25 10:42:13 -06:00
Nathaniel Mitchell da2ea9532f Remove old docker images that are not active and add some new ones
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2023-01-24 16:39:46 -08:00
Nathaniel Mitchell 21691ce214 Add *.log to .gitignore
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2023-01-24 13:19:25 -08:00
brentholtsclaw 2c31254a61 Change level code
level class was moved outside of logger class in #1646

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2023-01-23 16:54:37 -08:00
brentholtsclaw 33e193b0ba Disable chipsecLogger propogate
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2023-01-19 13:22:23 -08:00
brentholtsclaw cc479e6891 Amend chipsecstreamlogger logic
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2023-01-19 13:22:23 -08:00
brentholtsclaw 81caf7b056 Update python color logic
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2023-01-19 13:22:23 -08:00
brentholtsclaw 845a7a8031 Address comments
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2023-01-19 13:22:23 -08:00
brentholtsclaw a0e4186d9c Change logger to use formatter
Add two formatting classes for stream and logfile

Add filter to apply additional labels based upon logging level

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2023-01-19 13:22:23 -08:00
Nathaniel Mitchell 47bc4b2198 Fix issue with modifying variables in variables.py
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2023-01-18 17:42:42 -08:00
Frinzell, Aaron ceb2f77e8b Add Type Hints and move to fstrings in acpi_tables.py
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2023-01-18 17:12:37 -08:00
brentholtsclaw 22816aa4a0 use log_error not error
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2023-01-18 17:12:19 -08:00
brentholtsclaw 00efed8997 Addressing comments
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2023-01-18 17:12:19 -08:00
brentholtsclaw 85ff8e5865 Cleanup improper merge results
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2023-01-18 17:12:19 -08:00
brentholtsclaw bfa3c4ee39 Decouple chipsec_main from logger
Remove start_test from logger
Enhance TestCase class to add start_test funtionality
Change logic within run_loaded modules to use TestCase opposed to logger
Add fstring to testcase.py
Add Type information to testcase.py

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2023-01-18 17:12:19 -08:00
Frinzell, Aaron 9f85b80e33 Type Hint and fstring updates to cmos.py, io.py, and iobar.py
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2023-01-18 17:02:28 -08:00
Sara Batllori c959367252 Move debug, hal and verbose log wrappers out of deprecated list
Signed-off-by: Sara Batllori <sara.batllori@intel.com>
2023-01-18 17:02:05 -08:00
Plato Mavropoulos 4262a447d2 Fix premature return at module children updating
When update_efi_tree() is called recursively to update the attributes of a module which contains children, it is possible for the children attributes to be partially updated (effectively skipped) because a premature return occurs when a UI section is encountered. This means that the children modules may have missing (i.e. None) value for (parent) GUID.

For some reason, update_efi_tree() function appears to have two purposes: 1) Update EFI tree, but also 2) Return the name (ui_string) of a given module. It should only be doing the former and separate the returning of a module's name to a different function.

Alas, it seems that the bug can be fixed by replacing the premature return statement with a "ui_string" variable assignment instead, which is then properly returned at the end of the update_efi_tree() function.
2023-01-13 13:48:09 -08:00
Frinzell, Aaron 23f55fa0a5 Address some issues in acpi_tables.py
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2023-01-13 10:05:26 -06:00
brentholtsclaw 53bbf5f9c0 Service is depricated removing configuration file
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2023-01-11 16:42:28 -08:00
Frinzell, Aaron 307f4ee075 Define PEP515 support
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2023-01-11 16:42:17 -08:00
Nathaniel Mitchell 8ccecc3758 update osx pbxproj to exclude arm64e
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2023-01-09 15:03:30 -08:00
Dan Scott d1e3ab2800 Update to 1.10.0
Signed-off-by: Dan Scott <dan.scott@intel.com>
1.10.0
2022-12-19 15:10:12 -08:00
Sara Batllori b90667275e Update logger to use python logging
Signed-off-by: Sara Batllori <sara.batllori@intel.com>
2022-12-19 14:42:43 -08:00
Nathaniel Mitchell 0c9a50fa5e Update install documentation to reflect compression changes
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2022-12-14 13:06:03 -08:00
Nathaniel Mitchell 5d6c3d90ec Add chipsec_main flag for module_exclude
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2022-12-14 12:44:43 -08:00
brentholtsclaw e2de1b2e98 Enable codeql on linux driver code
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2022-12-14 12:44:09 -08:00
Nathaniel Mitchell 4f7a4b8149 Update debian/* for dpkg-buildpackage
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2022-12-14 12:43:51 -08:00
Nathaniel Mitchell 0b2c4ee9ca Remove empty class definition parentheses
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2022-12-14 12:43:34 -08:00
Frinzell, Aaron 468f1893ec Define PEP572 and for-else while-else support
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2022-12-14 12:43:18 -08:00