819 Commits

Author SHA1 Message Date
Nathaniel Mitchell fc9914be76 Updating to 1.4.6
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
1.4.6
2020-01-23 18:15:10 -08:00
BrentHoltsclaw e7b2c983ec Cleanup imports within modules directory
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2020-01-23 15:07:44 -08:00
BrentHoltsclaw cb4f8e889d Clean up spi_access and add check for valid flash descriptor
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2020-01-23 08:55:22 -08:00
BrentHoltsclaw 24e97b3e56 Update SDFP commit
Moved sfdp to common configuration
updated spi hal to use register functions opposed to xml parsing

Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2020-01-23 08:55:00 -08:00
Sushmith Hiremath 407ab6a4bc - SFDP module to parse JDEC parameter table
- Bug fixes in spi_util

Signed-off-by: Sushmith Hiremath <sushmith.m.hiremath@intel.com>
2020-01-23 08:55:00 -08:00
BrentHoltsclaw 8819b9a64a Fixup chipsec_util unsupported platform logic
Enforce the -i option

Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2020-01-23 08:54:46 -08:00
npmitche 203813a978 Revert "Fixup chipsec_util unsupported platform logic"
This reverts commit 9ec064d08e.
2020-01-22 16:01:28 -08:00
BrentHoltsclaw 9ec064d08e Fixup chipsec_util unsupported platform logic
Enforce the -i option

Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2020-01-22 15:54:18 -08:00
nick 23cc63f126 checing IA32_FEATURE_CONTROL and TCO1_CNT lock on atom 2020-01-22 15:53:36 -08:00
BrentHoltsclaw 44f98e4f2c Fix ability to log to log_file
Error occuring when using decompress

Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2020-01-21 14:44:52 -08:00
assafcarlsbad 27f79aa991 Update copyright years. 2020-01-21 14:44:37 -08:00
assafcarlsbad 79d662bf80 Update access_uefispec.py 2020-01-21 14:44:37 -08:00
Assaf Carlsbad cc63edbc46 Check that 'uefispec_concern' is not empty before logging an error message. 2020-01-21 14:44:37 -08:00
Assaf Carlsbad 666d075213 Always un-mount the ESP, even in the face of exceptions. 2020-01-21 14:44:13 -08:00
BrentHoltsclaw cded2e4ffb Fix error for uefi win support
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2020-01-21 13:25:04 -08:00
BrentHoltsclaw 3cb40f58ca Fix macOS asm build issue
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2020-01-16 08:59:09 -08:00
Assaf Carlsbad 09288a8fcb Fix RWEverything helper. 2020-01-16 08:58:08 -08:00
Assaf Carlsbad 017a1076a9 Build path to blacklist.json such that it will be valid when running the py2exe version. 2020-01-13 10:42:04 -08:00
Assaf Carlsbad 90ad30cfe0 Pack blacklist.json as a data file when building CHIPSEC with py2exe. 2020-01-13 10:42:04 -08:00
Assaf Carlsbad 60eb5b438a Expose the --helper option to chipsec_util as well. 2020-01-13 10:36:16 -08:00
nha 49cf932164 a more elegant solution 2020-01-13 10:35:03 -08:00
nick 80211480a3 remove debug 2020-01-13 10:35:03 -08:00
nick 7b4ad36493 ACPI SMI py2/3 fix 2020-01-13 10:35:03 -08:00
nick a9764f1ff5 updating dnv config 2020-01-13 10:32:16 -08:00
Assaf Carlsbad 0ede74393a Add newline. 2020-01-13 10:30:58 -08:00
Assaf Carlsbad 2e441ea589 Forward all logging to the base method. 2020-01-13 10:30:58 -08:00
Assaf Carlsbad 378578b599 Add optional 'level' argument to log method. 2020-01-13 10:30:58 -08:00
Assaf Carlsbad 53c6310861 Strip terminating NULL bytes from the CPU brand. 2020-01-13 10:29:46 -08:00
Assaf Carlsbad d687133678 Correctly handle the case where the CPU already has microcode updates. 2020-01-13 10:27:51 -08:00
Assaf Carlsbad 777429e1b9 Set failure status when pool allocation fails. 2020-01-13 10:27:51 -08:00
Assaf Carlsbad 56e4cff5ce Fix input buffer length check for IOCTL_LOAD_UCODE_PATCH.
Fix traces.
2020-01-13 10:27:51 -08:00
Assaf Carlsbad 0ba7f122af Fix input buffer length check for IOCTL_WRMSR. 2020-01-13 10:26:52 -08:00
Assaf Carlsbad b445429fbc Add support for the Intel Core i7-8565U CPU, whose CPUID signature is 0x806EB. 2020-01-13 10:25:42 -08:00
Assaf Carlsbad 4fe69620b8 Add some Windows related entries to gitignore. 2020-01-13 10:25:17 -08:00
Assaf Carlsbad 7dcab92d0f Consistent handling of the case new_cpu_thread_id >= _num_active_cpus. 2020-01-13 10:23:48 -08:00
BrentHoltsclaw 642b917b9b Updating to 1.4.5
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
1.4.5
2019-12-20 10:54:31 -08:00
BrentHoltsclaw b5007dc249 Win helper efi variable fixes for py3
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2019-12-20 10:49:24 -08:00
BrentHoltsclaw 43a0c414c2 Fixup fake guid creation
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2019-12-19 15:45:16 -08:00
BrentHoltsclaw 99f2c0a04b Fixup spi_uefi File/Section parsing
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2019-12-19 15:45:16 -08:00
BrentHoltsclaw a582c5249f Cleanup sgx_check
Add is_supported funciton
cleanup imports
check register field name not bits where applicable
modify prmrr config lock check

Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2019-12-19 15:43:48 -08:00
BrentHoltsclaw f341539f3b Remove PCH data from SKX and require PCH to be loaded
Add req_pch="True" in configuration tag
Diff c620.xml and skx.xml to remove pch registers

Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2019-12-19 15:43:29 -08:00
BrentHoltsclaw f984ad68e4 fixup some lgtm_errors
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2019-12-19 14:10:43 -08:00
BrentHoltsclaw 4159de5246 Remove duplicate DID 5918 entry
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2019-12-19 14:10:27 -08:00
Assaf Carlsbad e486ab487e Set _unknown_pch to False when the PCH DID is known. 2019-12-18 16:30:08 -08:00
Assaf Carlsbad 8a2c941f3c Fix VirtMemory base class initialization. 2019-12-18 16:29:41 -08:00
Assaf Carlsbad 9f80c67bf0 Fix compression tools build - the trailing backslash was interpreted as a multi-line definition. 2019-12-18 16:29:20 -08:00
Assaf Carlsbad af7545d27b Fix couple of issues with running chipsec_util as a standalone executable. 2019-12-18 16:28:48 -08:00
Assaf Carlsbad 5f9555bb0e Use apt format specifiers: %u for unsigned int, %ul for unsigned long and %zu for size_t. 2019-12-18 16:27:46 -08:00
Assaf Carlsbad 38fdeb0d71 Delete extra argument passed to DbgPrint not used by format string. 2019-12-18 16:27:46 -08:00
Assaf Carlsbad 0f2d02fb1d Fix typo: Traslated -> Translated. 2019-12-18 16:27:46 -08:00