Commit Graph

61 Commits

Author SHA1 Message Date
Thiebaud Weksteen 2f8172fa26 Move interrupts command to a class 2016-05-27 11:36:59 +10:00
Thiebaud Weksteen 2a37de7c11 Move desc command to a class 2016-05-27 11:32:53 +10:00
Thiebaud Weksteen 4eaf51d8c3 Move decode command to a class 2016-05-27 11:32:18 +10:00
Thiebaud Weksteen deac61a00d Move cpu command to a class 2016-05-27 11:30:33 +10:00
Thiebaud Weksteen 704271c063 Move cpuid command to a class 2016-05-27 11:29:43 +10:00
Thiebaud Weksteen a4350f70b6 Move cmos command to a class 2016-05-27 11:24:27 +10:00
Thiebaud Weksteen 1ed18786ca Move chipset command to a class 2016-05-27 11:24:21 +10:00
Thiebaud Weksteen 75e62f9967 Move acpi command to a class 2016-05-27 11:23:31 +10:00
Thiebaud Weksteen 85b912be4e Add BaseCommand class 2016-05-23 09:35:44 +10:00
c7zero 47db665f0d Merge pull request #26 from tweksteen/cmos_test_reviewed
Add test for CMOS dump
2016-04-16 12:55:19 -07:00
c7zero 9ed584a6e6 Merge pull request #25 from tweksteen/spi_test_reviewed
Add test for SPI info
2016-04-16 11:11:15 -07:00
c7zero d53fa42f55 Merge pull request #27 from tweksteen/x1_carbon_test_reviewed
Add hardware test for X1 Carbon
2016-04-16 11:06:32 -07:00
c7zero 6ec11a1758 Merge pull request #23 from tweksteen/fix_i386_linux_driver
Fix Linux driver build on i386
2016-04-16 11:05:23 -07:00
Thiebaud Weksteen e06828e88e Remove unused setUp and tearDown 2016-04-13 15:55:18 +10:00
Thiebaud Weksteen 11bff9db68 Add hardware test for X1 Carbon 2016-04-11 13:30:29 +10:00
Thiebaud Weksteen 9f4d207723 Add test for CMOS dump 2016-04-11 13:22:04 +10:00
Thiebaud Weksteen 6ee7a73ac5 Add test for SPI info 2016-04-07 15:08:28 +10:00
c7zero e1a6bc82c4 Merge pull request #24 from tweksteen/raise_oshelper
Change sys.exit to re-raise
2016-04-05 21:46:21 -07:00
Thiebaud Weksteen 929c8bdf88 Change sys.exit to re-raise 2016-04-05 16:59:54 +10:00
Thiebaud Weksteen 5a0bdb05dc Sort ACPI tables by name 2016-04-05 16:40:23 +10:00
Thiebaud Weksteen 1c17154536 Fix Linux driver build on i386 2016-04-05 16:20:07 +10:00
c7zero a0188747e5 Merged changes from #17 pull request
Merged the following changes:
- remap module was incorrectly skipped on Skylake
- chipset.py: add support for mobile Skylake (U/Y)
from "Add Skylake mobile support" #17
2016-04-03 19:15:50 -07:00
CHIPSEC 4e9b01d123 removed win specific cleanup script 2016-04-03 17:06:44 -07:00
c7zero 9b7993906a Merge pull request #21 from chipsec/dev
Add tests for ACPI
2016-04-03 17:03:13 -07:00
c7zero 6437e8679e Merge pull request #11 from tweksteen/setup
Fix setup.py for Linux
2016-04-03 14:41:34 -07:00
Thiebaud Weksteen 032d72777e Fix ACPI RSDP resolution based on EBDA 2016-03-11 15:07:10 +11:00
Thiebaud Weksteen b74f321445 Add tests for ACPI RSDP, RSDT and XSDT.
Fix the parsing of RSDT. Fix finding RSDP when using 0xE0000.
Fix the parsing of RSDP (ACPI v1).
2016-03-11 14:49:43 +11:00
Thiebaud Weksteen c97e8fad7c Add basic tests 2016-03-11 14:48:41 +11:00
Thiebaud Weksteen 11662c8cd8 Fix Linux helper close 2016-03-11 14:47:06 +11:00
Thiebaud Weksteen 3d2192426e Do not force kernel module loading on Linux 2016-03-11 11:37:26 +11:00
Thiebaud Weksteen 972bbe72ea Use metaclass to autoload helpers 2016-03-11 11:09:53 +11:00
Thiebaud Weksteen 54b90969e3 Fix __str__ method for VSS and VSS_APPLE 2015-11-27 15:47:12 +11:00
Thiebaud Weksteen a90ae91454 Move VSS_NEW to VSS_AUTH 2015-11-26 16:31:44 +11:00
Thiebaud Weksteen bd2573b6ee Add vss_apple format for nvram 2015-11-26 16:13:00 +11:00
Thiebaud Weksteen 87d5bb7771 Fix setup.py for Linux 2015-11-09 13:08:08 +11:00
CHIPSEC dc3ec303aa remove vbox specific defines 2015-11-06 17:22:09 -08:00
CHIPSEC 20cc5a3067 Version 1.2.2
See README.md for release notes.
2015-11-06 16:08:05 -08:00
CHIPSEC 7cdac31e60 Merge pull request #5 from grrrrrrrrr/master
Fixing a small ctypes bug that would not give the correct return value.
2015-11-06 08:56:52 -08:00
CHIPSEC 0133524947 Merge pull request #8 from tweksteen/remove_global
Remove global variables from Linux helper
2015-11-06 08:56:20 -08:00
Thiebaud Weksteen b50310d7d5 Remove unnecessary debug.h from Linux driver 2015-10-28 14:10:03 +11:00
Thiebaud Weksteen 6b6130014a Move _IOCTL_BASE to an attribute 2015-10-28 13:54:35 +11:00
Thiebaud Weksteen d2796a7f0b Remove unused CPU_MASK_LEN 2015-10-28 10:53:05 +11:00
Thiebaud Weksteen 2b3b83aa09 Move _PACK to an attribute 2015-10-28 10:50:46 +11:00
Thiebaud Weksteen 8db7c280a7 Move _DEV_FH to an attribute 2015-10-28 10:46:09 +11:00
Thiebaud Weksteen 4afda55b4b Move DEVICE_NAME to a class constant 2015-10-28 10:37:18 +11:00
Thiebaud Weksteen 3d4292851e Fix TABLE NULL constructor name 2015-10-26 15:01:33 +11:00
Andreas Moser b5bd6eec65 Fixing a small ctypes bug that would not give the correct return value. 2015-07-30 11:26:42 +02:00
CHIPSEC a080525f36 Uploading version 1.2.1 2015-07-10 21:43:48 -05:00
CHIPSEC 0654edca19 Version 1.2.0
Revision 1.2.0
--------------

This version includes the following new or updated modules:

#. Merged common.secureboot.keys module into common.secureboot.variables
module
#. Updated tools.secureboot.te module to be able to test PE/TE issue on
Linux or UEFI shell
#. Updated tools.smm.smm_ptr module

This version includes the following updates:

#. Added the *controls* abstraction. Modules are encouraged to use
``get_control`` and ``set_control`` when interacting with platform
registers. This permits greater flexibility in case the register that
controls a given feature or configuration changes between platform
generations. The controls are defined in the platform XML file. At this
time, only a small number of controls are defined. We plan to move
existing modules over to this new mechanism.
#. Added XML Schema for the XML configuration files
#. Support for reading, writing, and listing UEFI variables from the
UEFI Shell environment has been added.
#. Added support for decompression while SPI flash parsing via
``decode`` or ``uefi decode`` commands in Linux
#. Added basic ACPI table parsing to HAL (RSDP, RSDT/XSDT, APIC, DMAR)
#. Added UEFI tables searching and parsing to HAL (EFI system table,
runtime services table, boot services table, DXE services table, EFI
configuration table)
#. Added DIMM Serial Presence Detect (SPD) ROM dumping and parsing to
HAL
#. Added ``uefi s3bootscript`` command parsing the S3 boot script to
chipsec_util.py
#. Added virtual-to-physical address translation function to
Linux/EFI/Windows helpers
#. Added support of server platforms (Haswell server and Ivy Town) to
chipset.py

This version has the following known issues:

#. Decompression of images in SPI flash parsing is not available in UEFI
shell.
#. When calling alloc_phys_mem, the argument to set maximum physical
address (max_pa) for allocation is ignored on linux. A message will be
printed in dmesg if the allocation is above the max_pa that is passed
in, but the call will return anyway.
#. UEFI Shell environment does not support ``cpuid`` or
``get_thread_count``. There are functions that simply warn that they are
not supported.
#. Size of PCIEXBAR (MMCFG) is calculated incorrectly
2015-06-09 16:48:26 -07:00
CHIPSEC 4f1f52265c fix write_mmio_reg in win driver
bug - was missing from previous checkin
2015-05-05 18:57:19 -07:00