Commit Graph

164 Commits

Author SHA1 Message Date
Aaron Frinzell ef825166df Minor typo in hal\interrupts.py 2021-01-26 16:14:09 -08:00
Aaron Frinzell e912c3473e Fix spd.py decode fn 2021-01-26 16:12:36 -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 a6a5df9b2a UEFI HAL module variable and description updates 2020-12-15 15:28:19 -08:00
brentholtsclaw d32ebd6565 Pass string not array to EFI_GUID_STR from parse_sb_db
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-11-18 20:37:55 -08:00
Ignacio Hernandez 5fab85b70d Updated pcidb
Signed-off-by: Ignacio Hernandez <ignacio.hernandez@intel.com>
2020-10-28 16:15:55 -07:00
brentholtsclaw be928b5e56 Add decode option to save specific filetypes
Modify uefi_cmd to add filetype argument
Modify spi_uefi to parse and save filetypes from a list
Modify spi_uefi to clean up flake8 issues

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-10-28 10:47:42 -07:00
Ignacio Hernandez 57ff8b6bd2 Adding get_cpu_topology()
Returns a topology dictionary which contains two dictionaries:
'packages', where each item  contains a list of the threads
	    sharing the same package_id
'cores', where each item contains the list of threads running on
         the same physical core.

Signed-off-by: Ignacio Hernandez <ignacio.hernandez@intel.com>
2020-08-27 11:05:14 -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
Ignacio Hernandez dcf4eddfe0 Making EFIVARS filenames lowercase
The files are lowercase in Linux, Windows should not care

Signed-off-by: Ignacio Hernandez <ignacio.hernandez@intel.com>
2020-07-28 11:31:04 -07:00
Aaron Frinzell 656872dd55 MMIO BAR enabled update 2020-07-28 11:25:16 -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 d6458e9e81 LGTM warning fixes
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-06-30 11:12:45 -07:00
brentholtsclaw a21f08eda5 Fix NextFwFileSection read past buffer and import cleanup
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-06-30 11:12:45 -07:00
brentholtsclaw 738c9b31a4 Changes to uefi decompress functions
Created hal.uefi_fv to contain uefi_fv functions
Modified Guids to use UUID
function cleanup

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-06-30 11:12:45 -07:00
brentholtsclaw beacd44206 Add is_enabled function to hal.igd update common.xml
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-06-29 16:04:19 -07:00
Aaron Frinzell 41788a611b SPI access updates 2020-06-29 09:32:09 -07:00
brentholtsclaw 84e13e9b59 Misc functional fixes
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-06-11 15:00:10 -07:00
Frinzell 881e119307 spd.py minor updates 2020-05-29 14:05:03 -07:00
p-state 3a981cba61 add SMBIOS_SYSTEM_INFO_2_0 2020-05-20 15:57:51 -07:00
p-state b4134e94d2 don't pass value twice; use value index instead 2020-05-20 15:57:51 -07:00
p-state 367f8b746e fix empty table if only SMBIOS v2 is available 2020-05-20 15:57:51 -07:00
brentholtsclaw 45ef668234 Add ability to use LENGTH and ADMSKXXX regs within client atom
Depends on #844
Fix for issue #877

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-05-01 08:21:45 -07:00
brentholtsclaw bdc5a20611 Move Cfg class to chipset.py
Delete file
Move class to chipset.py
Remove imports from common.py

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-04-22 16:26:11 -07:00
BrentHoltsclaw 4f3b7236ba Remove duplicate configuration from common.py and move specific configuration to hal files
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2020-04-22 16:26:11 -07:00
brentholtsclaw 4492206438 HAL fixes from LGTM (3/3)
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-04-17 09:13:02 -07:00
brentholtsclaw 32d0633fcf HAL fixes from LGTM (2/3)
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-04-16 12:00:36 -07:00
brentholtsclaw f2b0d31d31 HAL fixes from LGTM (1/3)
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-04-16 12:00:18 -07:00
brentholtsclaw dfd80953aa Edit display_SPI_Ranges_Access_Permissions output
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-03-26 12:58:09 -07:00
BrentHoltsclaw 7d9215ba27 Fix decompress pfs and readability
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2020-03-02 15:28:00 -08:00
Nathaniel Mitchell 59e9caf6fe Fixing syntax issue when comparing variable to literal.
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2020-02-28 15:46:27 -08:00
Assaf Carlsbad d4a0bacc57 Fix TPM's _send_command method to be compatible with Python 3. 2020-02-05 11:14:51 -08:00
Assaf Carlsbad 5789e2125d Fix logging of the Flash Descriptor signature. 2020-02-05 11:14:33 -08:00
Nathaniel Mitchell 157104bff4 Fixed copy right year and removed enterprise verbiage.
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2020-02-05 11:08:38 -08:00
Nathaniel Mitchell dfc9d5953a Fixed errors caused by list_EFI_variables in Windows.
Fixing issues in helper/modules that are caused by some versions of windows blocking runtime access to UEFI varialbes. Also fixed issue print_buffer issue when using --hal.

Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2020-02-05 11:08:38 -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
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
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
Assaf Carlsbad 8a2c941f3c Fix VirtMemory base class initialization. 2019-12-18 16:29:41 -08:00
NicholasArmour aa770f770f requested changes 2019-12-05 15:48:55 -08:00
NicholasArmour 81d04c5752 added comments, moved some code around 2019-12-05 15:48:55 -08:00
NicholasArmour 71a1768751 SMM communication protocol 2019-12-05 15:48:55 -08:00
Calvin Balke e10c11cd82 Added bugfix for issue 765 in msgbus HAL code
See issue 765 for more information
2019-12-05 15:48:07 -08:00
BrentHoltsclaw 88673d56ec Fix decode functionality
Fix error when cannot decode EFI_SECTION_USER_INTERFACE
Fix error in File size logic within NextFwFile functionality

Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2019-11-18 15:14:27 -08:00
Erik Bjorge 40ff7cffbf Get extended BIOS R/W access information
Use the Flash Descriptor Observability registers to OR in the settings
from the flash descriptor to the existing FRAP register fields.

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>
2019-11-18 15:13:59 -08:00