Commit Graph

351 Commits

Author SHA1 Message Date
Thiebaud Weksteen d770d651ae Add HAL and utilcmd for TPM Event Log 2017-09-20 13:21:29 -07:00
Erik Bjorge 55f8476e17 Adding ability to undefine a configuration entry.
Used to remove a configuration file entry that is not valid for a specific platform.

Define the undef attribute.
undef="comment"
2017-09-20 13:21:10 -07:00
Takaaki Fukai f6bc58abcd Fix module references in chipsec/hal/cpu.py 2017-09-13 10:07:38 -07:00
Erik Bjorge 5bdaab0435 Updated support for 7th/8th generation processors.
-Fixed long names to match EDS.
-Added 8th generation U-Quad Core support.
2017-09-13 09:57:23 -07:00
Erik Bjorge a5088182ce Updating to non-production version. 2017-09-11 16:39:46 -07:00
Erik Bjorge 284cf0bed6 Updated to version 1.3.3 v1.3.3 2017-09-05 16:34:14 -07:00
Erik Bjorge e8b8ce6651 Adding SPI Access test.
This test checks the SPI Flash region access permissions programmed in
the flash descriptor.
2017-08-30 14:52:21 -07:00
hcwang 6a90d52d28 Added a error handling when the search string is not found. 2017-08-30 14:51:31 -07:00
hcwang 65af429d4b Added a function "search" to look for a signature in memory. Ex: chipsec_util mem search 0xF0000 0x10000 _SM_ 2017-08-30 14:51:31 -07:00
Erik Bjorge e79f42afef Added error handling for bad register types.
If a unknown register type is accessed via read_register or write_register an exception will be generated instead of failing silently.
2017-08-30 14:49:33 -07:00
Loucaides 90dbc0ece0 consistently use os.path.join in DRIVER_FILE_PATHS 2017-08-30 14:47:10 -07:00
Loucaides a4d1333bbd each helper checks for driver in appropriate places 2017-08-30 14:47:10 -07:00
Loucaides 2a1adea0ca move decision between rwe and win driver to helpers.py and fix other PR comments 2017-08-30 14:47:10 -07:00
Loucaides 2518b7372f remove debug prints 2017-08-30 14:47:10 -07:00
Loucaides 60504da1bc Use RWE/windows helpers when the corresponding driver is present
Fix error when calling decompress functionality using RWE helper
2017-08-30 14:47:10 -07:00
Erik Bjorge 3c381eae94 Updating to non-release version 2017-08-14 10:12:23 -07:00
Erik Bjorge 2731308367 Updating to release 1.3.2 v1.3.2 2017-08-10 10:49:31 -07:00
Martin Galvan 5ff6efead6 Linux driver: Fix IOCTL_WRMMIO for x86_64
This patch fixes IOCTL_WRMMIO so that the high and low halves of the 8-byte MMIO
value are written to the appropriate addresses.
2017-08-10 10:12:18 -07:00
Erik Bjorge 9003444150 Switched to MMIO for P2SB register access.
Under some versions of Linux the memory access method fails.  Should use
MMIO anyway.
2017-08-07 16:00:10 -07:00
Erik Bjorge 04ed21e79f Adding new version of X64 Python for UEFI Shell
Adding a new version of the X64 Python for the UEFI Shell to include the
latest updates for SW SMI generation.
2017-08-04 15:46:56 -07:00
Nick Mooney 49348dc0db Add mmap support to kernel module 2017-07-24 13:26:08 -07:00
Nick Mooney 0f8fc1d86c Add mmap support to chipsec device 2017-07-24 13:26:08 -07:00
Takaaki Fukai 3f8d612b56 Fix the range check in bios_wp.py 2017-07-24 09:26:56 -07:00
Erik Bjorge 388606733d Fixed x64 calling convention for SW SMI generation. (#255)
See chapter 2 of the UEFI specificaiton for more information about the
x64 calling convention.
2017-07-21 19:43:19 -07:00
Thiebaud Weksteen 5624c1b23f Add FREG definitions for SKL and KBL 2017-07-21 10:25:45 -07:00
c7zero 16af0c7dfd More operation in chipsec_util reg command (#238)
* 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
2017-07-20 13:05:51 -07:00
Thiebaud Weksteen 5f6451e8ea Fix version displayed in chipsec_utils 2017-06-23 11:24:20 -07:00
Oleksandr Bazhaniuk c2e7d7f5c4 fix mem read in kernel 4.8+ 2017-06-23 11:23:47 -07:00
Erik Bjorge b630416b38 Updating to post release version number. 2017-06-09 18:01:43 -07:00
Erik Bjorge a822099700 Release version 1.3.1 v1.3.1 2017-06-09 17:03:40 -07:00
andrew-furtak 74fd90a77f #229 fix. Parameters passing fixed for _swsmi (#235) 2017-06-09 15:03:07 -07:00
BrentHoltsclaw 279370cb9b Added fix for issue #233 2017-06-09 11:56:14 -07:00
BrentHoltsclaw 33b97c67f1 Added fix for issue #204 2017-06-09 11:08:05 -07:00
Erik Bjorge ece76e3d0b Fixed chipsec_util decode types (#232) 2017-06-08 18:42:55 -07:00
Erik Bjorge a1a338b1be Updated code used to load configuration files. (#220)
Configuration files loaded in following order.
1. Common
2. Platform
3. Other

Also enforced a consistent (alphabetical) load order.
2017-06-08 14:04:28 -07:00
Erik Bjorge 8910c3acb9 Fixed detection of successful SMBUS transactions. (#213) 2017-05-31 09:36:40 -07:00
Erik Bjorge b1fe88f05b Fixed print_register when using mm_msgbus registers. 2017-05-16 09:55:48 -07:00
Erik Bjorge e05dd208e3 Updated BUC register definition to use sideband access. (#219)
For 100/200 series PCH the BUC is accessed via sideband and not RCBA.
2017-05-09 22:56:33 -07:00
Thiébaud Weksteen 9240e1aa58 Add register util command (#217) 2017-05-09 22:55:32 -07:00
Erik Bjorge 6a1735ab94 Adding public processor information. 2017-05-09 12:11:11 -07:00
Thiébaud Weksteen d6ee2baaaa Move to Trusty for Travis build (#216) 2017-05-08 22:36:25 -07:00
Erik Bjorge 15bdde362d Added MMIO MSGBUS specific interface. (#210)
Added a selectable MMIO based MSGBUS interface that can be selected by
tests or the configuration register type.
2017-05-08 22:22:01 -07:00
Thiébaud Weksteen bdea49936a Remove unused __version__ (#215) 2017-05-08 22:17:35 -07:00
Aaron Frinzell ebe8458dec read_register() cpu_thread support (#211)
Complete cpu_thread support in read_register()
2017-05-01 00:59:09 -07:00
Erik Bjorge c753453679 Updated code to append additional version information. (#209)
If any additional version information is available for a custom release
it will be appended to the end of version string.
2017-05-01 00:56:34 -07:00
c7zero 187e93b57f Updated README and added Erik Bjorge to AUTHORS (#206) 2017-05-01 00:54:13 -07:00
abazhaniuk 81310df94d fix ascii symbols in uefi decode command (#205) 2017-04-22 10:56:53 -10:00
andrew-furtak f826cb0e78 PFS support and parsing fixes. (#196) 2017-04-21 06:34:41 -10:00
abazhaniuk 1c09ea5ada fix issue with building driver on 32bit system (#203) 2017-04-21 06:34:25 -10:00
Thiébaud Weksteen 3fdf95e572 Remove unused read_chunk (#201) 2017-04-20 16:03:33 +10:00