Commit Graph

100 Commits

Author SHA1 Message Date
Aaron Frinzell eb27e705db Update interrupts_cmd.py CLI 2021-03-25 10:13:35 -07:00
Erik Bjorge 1607ee8b42 Fixed parameter processing in I/O command
The I/O command reversed the usage of metavar and the actual parameter.
Also cleaned up the command name and made parameter processing more
consistent with other commands.

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>
2021-03-09 19:19:16 -08:00
Aaron Frinzell 8551e14b39 Update spidesc_cmd.py CLI 2021-01-26 16:11:45 -08:00
Aaron Frinzell 14b47b87fc Update spd_cmd.py CLI 2021-01-26 16:11:06 -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 bd16a16d96 Update reg_cmd.py CLI 2021-01-26 16:08:15 -08:00
Aaron Frinzell 0caa5709cf Update msgbus_cmd.py CLI 2021-01-26 16:06:14 -08:00
Aaron Frinzell 19922c2b03 Update vmm_cmd.py CLI 2021-01-26 16:05:52 -08:00
Aaron Frinzell a241fdde9a Update mmcfg_cmd.py CLI 2021-01-26 16:05:11 -08:00
Aaron Frinzell 702bb6a9b7 LGTM except 2020-12-15 15:29:25 -08:00
Aaron Frinzell af5d51bb3d Update vmem_cmd.py CLI 2020-12-15 15:29:25 -08:00
Aaron Frinzell 047235888c Update ucode_cmd.py CLI 2020-12-15 15:28:59 -08:00
Aaron Frinzell 8fc0e629a2 Update tmp_util.py CLI 2020-12-15 15:28:46 -08:00
Aaron Frinzell c6854c49e9 Update smbus_cmd.py CLI 2020-11-18 20:38:57 -08:00
Aaron Frinzell b60d5c7ec3 Update spi_cmd.py CLI 2020-11-18 20:38:46 -08:00
Aaron Frinzell a5bc9786f4 Update mem_cmd.py CLI 2020-11-18 20:38:33 -08:00
Aaron Frinzell f942232fc9 Update msr_cmd.py CLI 2020-11-18 20:38:21 -08:00
Aaron Frinzell edc73dacb3 Update iommu_cmd.py CLI 2020-11-18 20:38:10 -08: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
Aaron Frinzell 350486d171 Update igd_cmd.py CLI 2020-10-28 10:10:37 -07:00
Aaron Frinzell d8011e8601 Update mmio_cmd.py CLI 2020-10-28 10:02:36 -07:00
Aaron Frinzell 8c0e9d1ded Update decode_cmd.py CLI 2020-10-28 09:58:50 -07:00
brentholtsclaw 9428fd498c Fixes to uefi_cmd so functions work properly
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-10-28 09:52:41 -07:00
brentholtsclaw 095ce07320 Updating util commands
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-09-24 09:53:31 -07:00
Ignacio Hernandez a1522fa629 Add a topology command
This new command will print out a list of the packages and cores
found in the system

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
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 0955ea3568 Misc fixes for cpu_cmd
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-06-11 15:00:10 -07:00
brentholtsclaw 84e13e9b59 Misc functional fixes
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-06-11 15:00:10 -07:00
brentholtsclaw 42310edfb7 Apply suggested changes
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-04-20 08:39:02 -07:00
BrentHoltsclaw 514c23d84d Modify files based upon chipset.py changes
Fixup files that relied on CHIPSET_ID_XXX logic
Modify files for functions moved within cs class

Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2020-04-20 08:39:02 -07:00
brentholtsclaw 12bb725351 Update copyright
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-04-17 09:23:07 -07:00
brentholtsclaw 9c47edabf7 Misc LGTM fixes
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-04-17 09:23:07 -07:00
Frinzell d7646897f7 Fix util command errors 2020-04-16 12:01:58 -07:00
NicholasArmour f8b45ea3c0 Update uefi_cmd.py 2020-03-25 13:55:39 -07:00
NicholasArmour 3a5f12ecf5 suggested is_supported changes 2020-03-25 13:55:39 -07:00
Nicholas Armour be56670c0a bug fixes after testing 2020-03-25 13:55:39 -07:00
Armour, Nicholas 55a403a07b lgtm fixes 2020-03-25 13:55:39 -07:00
Armour, Nicholas 8edce67955 Using Argparse in uefi_cmd.py WIP 2020-03-25 13:55:39 -07:00
Assaf Carlsbad 3ce6b2526c Check for proper usage before construction a TPM object. 2020-02-05 11:14:51 -08:00
Assaf Carlsbad 2f8703a424 Fix metavar notation for current log file. 2020-02-05 11:14:17 -08:00
Assaf Carlsbad 7ab1328731 Fix argument names for deltas command. 2020-02-05 11:14:17 -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
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
Erik Bjorge 736871e5f9 Adding initial SMBIOS support (#722)
* Initial SMBIOS HAL and Command

- Only searches for the Entry Point structure
- Currently only detects 2.x structures correctly

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>

* Added support for 64bit 3.x entry point

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>

* Updated command processing

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>

* Added ability to parse structures based on header

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>

* Updated command processing

- Made command processing a bit more flexible
- Improved logging messages
- Added place holders for future functionality

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>

* Added ability to get structures by type

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>

* Added string extraction support

- Also added some initial code for decoding type 0 structure information
- Updated interface to make things cleaner

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>

* Added decode support

- Only supports partial decode of Type 0 (2.0) structure

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>

* Removed unused variable

- Also fixed tool name in timing string

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>

* Adding basic BIOS Information module

- Adding module to get the BIOS Information SMBIOS data

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>

* Python 3 updates

- Requires additional Python 3 UEFI HAL changes

Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>
2019-10-31 14:17:47 -07:00
Nicholas Armour bc0bf70770 remove dead code 2019-10-21 13:04:35 -07:00