111 Commits

Author SHA1 Message Date
Frinzell, Aaron d27a5ddfce Check control return values in bios_ts.py 2022-02-25 13:38:13 -08:00
Frinzell, Aaron 0be5bed8ac Add usage documentation to smm_code_chk.py 2022-02-01 08:37:28 -08:00
Frinzell, Aaron ab54329bc3 Add usage documentation to spi_access.py 2022-02-01 08:16:32 -08:00
Frinzell, Aaron f4f196b47f Add usage documentation to sgx_check.py 2022-02-01 08:14:19 -08:00
brentholtsclaw 67f5f9ca43 Display correct thread when printing (smm_code_chk)
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2022-01-31 09:04:58 -08:00
Aaron Frinzell e3af00c996 Add usage documentation to rtclock.py 2022-01-28 10:14:58 -08:00
headkaze 97e7699953 Add Guid and Size output to access_uefispec module 2022-01-28 10:04:43 -08:00
Aaron Frinzell 378f8d0db9 Better remap.py logic if not reading REMAP registers properly 2021-12-08 09:21:52 -08:00
brentholtsclaw db383aef9d Modify is_supported and logic to support other OS
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2021-12-08 09:16:26 -08:00
Aaron Frinzell fa51966ea2 Add usage documentation to smm_dma.py 2021-12-02 15:58:18 -08:00
Aaron Frinzell e764d11aad Add usage documentation to smrr.py 2021-12-02 15:57:19 -08:00
Aaron Frinzell fa8665d84f Updates to spd_wd.py 2021-09-28 10:20:30 -07:00
Aaron Frinzell 7084a4fedf Add usage documentation to remap.py and memlock.py 2021-08-26 10:53:18 -07:00
Aaron Frinzell e10c43fb69 Add usage documentation to smm.py 2021-08-26 10:53:06 -07:00
Aaron Frinzell eb40e2b88d Minor docstring update on s3bootscript.py 2021-08-26 10:51:56 -07:00
Aaron Frinzell 8e0216b637 Update s3bootscript.py copyright year 2021-08-26 10:51:56 -07:00
Aaron Frinzell ce8f0473fc Add & update usage documentation to s3bootscript.py and access_uefispec.py 2021-08-26 10:51:56 -07:00
brentholtsclaw 0e53326a83 Create exceptions.py for chipsec exceptions
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2021-08-26 10:50:51 -07:00
Assaf Carlsbad d11c177df3 Introduce a new module to check for the presence and configuration of the WSMT table. 2021-06-21 16:26:11 -07:00
Assaf Carlsbad 4aa6a63026 Fix status code check for set_EFI_variable. 2021-05-06 15:42:47 -07:00
Assaf Carlsbad 4e2dd42eec Try to modify other variables as well. 2021-05-06 15:42:47 -07:00
Assaf Carlsbad 9380c3ab81 Print error message only if ro_concern is not empty. 2021-05-06 15:42:47 -07:00
Assaf Carlsbad ecbf8a1e17 Delete unreferenced lists. 2021-05-06 15:42:47 -07:00
Assaf Carlsbad 4a904ab45c Get rid of call to ord(). 2021-05-06 15:42:47 -07:00
Aaron Frinzell aa20fae3d7 sgx_check: Update missed formatting changes 2021-04-30 14:48:08 -07:00
Aaron Frinzell b441e20086 Add messaging for SPI checks 2021-03-31 14:11:38 -07:00
Aaron Frinzell a3bf3c6ec7 Fix encoding issue 2021-03-31 10:41:32 -07:00
Aaron Frinzell edb7f68fca smm_code_chk.py capture self.res 2021-03-31 10:41:32 -07:00
Erik Bjorge c5b15cdada Adding display of register when in verbose mode.
Verbose mode should allow for initial verification of register settings
instead of blindly trusting the test.

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>
2021-03-09 19:20:50 -08:00
Aaron Frinzell 9e2b168223 spi_fdopss check for FDOPSS 2021-02-24 16:14:15 -08:00
Assaf Carlsbad ff8df8b752 Define MSR_SMM_FEATURE_CONTROL only for platforms the support it. 2021-02-24 10:19:40 -08:00
Assaf Carlsbad 8ca35ffbfb Add GPL license. 2021-02-24 10:19:40 -08:00
Assaf Carlsbad 0af175c88b Return ModuleResult.FAILED instead of ModuleResult.ERROR. 2021-02-24 10:19:40 -08:00
Assaf Carlsbad 99a23778bc Introduce a new module that checks that SMM_Code_Chk_En is configured properly. 2021-02-24 10:19:40 -08:00
Sae86 79661752c4 Changing helper calls to HAL calls
- debugenabled: helper -> cpu
    - hypercall: helper -> mem

Signed-off-by: Sae86 <sae.batllori@intel.com>
2021-02-05 12:28:33 -08:00
Nathaniel Mitchell 30ee829b3f Fixed error in uefi shell for spectre v2 test
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2021-01-27 08:16:45 -08:00
Sae86 c7259cfac0 Signed-off-by: Sae86 <sae.batllori@intel.com>
Modifying copyright date.

Hal msg bus - removed non working link
Hal spd - changed simmtester links to functioning ones
Cfg sfdp - added docstring
utilcmd mem_cmd - removed random lonely colon
Modules-Common-cpu-cpuinfo and iauntrusted - added temp docstrings
Tools-vmm-hv and xen folders -> imports needed more detail
Modules Me mfg mode - fixed error caused by asterisk in links
2021-01-26 16:10:34 -08:00
Aaron Frinzell ea16df16f7 Move bios_smi.py control 2021-01-21 11:24:30 -08:00
Aaron Frinzell 7ec4faa0a3 me_mfg_mode.py self.res update 2020-12-15 15:28:34 -08:00
Aaron Frinzell a66772b1e3 Scanner changes and updates 2020-10-28 09:51:40 -07:00
Assaf Carlsbad 95ae69af1f Use 'enabled' instead of 'supported'. 2020-09-24 09:53:03 -07:00
Assaf Carlsbad 8560ee253e Spectre_v2: check for the presence of the Retpoline mitigation on Windows platforms. 2020-09-24 09:53:03 -07:00
brentholtsclaw f7fe1be074 More whitespace cleanup
E231, E201, E226

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-07-31 13:46:13 -07:00
brentholtsclaw af7fa737ee Clean up indentation
E111

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-07-01 16:35:07 -07:00
brentholtsclaw a00b2838e5 Cleanup trailing whitespace
W291,W293,W391

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-07-01 15:44:21 -07:00
brentholtsclaw 44481157a5 Fix divide for python3 in bios_kbrd_buffer
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-06-30 09:55:59 -07:00
Aaron Frinzell 14c224abe0 Remove unused variable 2020-06-29 09:32:09 -07:00
Aaron Frinzell 41788a611b SPI access updates 2020-06-29 09:32:09 -07:00
brentholtsclaw f1d5666d9c Update ia_untrused
check soc_bios_done bit
check each thread for IA_Untrusted bit

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-06-29 09:31:47 -07:00
brentholtsclaw 4eadcf4e95 Update tco_en logic and module cleanup
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-06-26 13:58:57 -07:00