Moved sfdp to common configuration
updated spi hal to use register functions opposed to xml parsing
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
* 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>
* Updated util_cmds starting within d to use argparse
* Add get_thread_count to unittest mock_helper to fix unit_test error
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
chipsec_util decode command expects a full spi image. If the flash descriptor is not found errors will occur
Added informational message which instructs users to use chipsec_util uefi decode for images where the spi descriptor is invalid or does not exist
- Found that native linux helper needs to first map io memory before reading it
- changed hal and helper functionality to allow base address and offset to be passed
to the function allowing the call to native_map_io_space to be used without guessing the base address
- discovered a bug within hal list_MMIO_BARs that failed if a MMIOBAR was unreadable added a try except to fix
Adding support to detect the PCH on a given platform and then load any
PCH specific configuration files.
Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com>
* More operation in chipsec_util reg command
Added write, read_field, write_field, get_control, set_control
operations
* reg read util command updated
Returned back "chipsec_util reg read" syntax and added tests.
* Commented out test_reg_get_control
Need to implement get_MMIO_BAR_base_address or read_pci_reg for SPIBAR
in mock_helper.py