BrentHoltsclaw
b1da5f4c23
Update to version 1.4.2
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-25 14:27:51 -07:00
Frinzell
f13c271631
Duplicate RC register
2019-09-25 10:39:39 -07:00
BrentHoltsclaw
b38d1e02f0
Fix import error and cleanup imports for tools.secureboot.te
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-24 12:23:01 -07:00
BrentHoltsclaw
fdac78506d
Fix python3 evsa variable issue
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-24 12:22:47 -07:00
BrentHoltsclaw
b1bfb491a7
Satisfy unittest errors
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-24 12:22:28 -07:00
BrentHoltsclaw
870d04816d
Fixup lgtm general/util errors
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-24 12:22:28 -07:00
BrentHoltsclaw
e7f23c76b6
Fixup lgtm module errors
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-24 12:22:28 -07:00
BrentHoltsclaw
ae9b3f411e
Fixup suggested lgtm hal errors
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-24 12:22:28 -07:00
BrentHoltsclaw
8236cee9e9
Fixup dal __init__ to import properly
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-24 12:19:18 -07:00
BrentHoltsclaw
ee12cdf448
Add attr conversion within set_EFI_variable win32helper
...
tools.uefi.uefivar_fuzz generates attributes as string/bytes type. Need to convert to integer within the helper to avoid exception.
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-23 09:25:03 -07:00
BrentHoltsclaw
0dbd0e9472
Fix win32 smi helper error
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-23 09:24:02 -07:00
BrentHoltsclaw
91e76245f9
Handle unicode variable decode within uefi hal
...
fix failure within decode_EFI_variables and print_efi_variable where characters are not ascii
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-17 16:03:10 -07:00
BrentHoltsclaw
de9501711b
vss string issue within hal.uefi_platform
...
Python3 failing `nvram_start = nvram_buf.find( sign )` within py3 because sign is defined as a string in else condition line 619
Reference #681
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-17 15:26:51 -07:00
BrentHoltsclaw
eb7d40e23c
Remove dumpstr from tools.secureboot.te
...
Function is unused and causing build/install errors within py2
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-17 15:26:30 -07:00
BrentHoltsclaw
260e842394
Update to version 1.4.1
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-05 09:53:09 -07:00
BrentHoltsclaw
ea72b66701
Fix python3 compatibility when using custom_chipsets file
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-05 09:52:22 -07:00
BrentHoltsclaw
28747def1a
Updated util_cmds starting within d to use argparse ( #672 )
...
* 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 >
2019-09-04 15:18:06 -07:00
BrentHoltsclaw
abb0f3231f
Fix ia32cfg verbose error
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-04 14:04:28 -07:00
BrentHoltsclaw
c390e0378a
requested changes
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-04 09:17:56 -07:00
BrentHoltsclaw
30312c7905
Cleanup ia32cfg modules
...
Cleanup of imports
Enabled check per thread
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-04 09:17:56 -07:00
BrentHoltsclaw
d44e56f48f
Add ability to load custom_helpers
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-03 14:58:43 -07:00
BrentHoltsclaw
bda0ef1f50
Update common.xml msr definitions
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-03 11:14:59 -07:00
Frinzell
f0e0410788
Optimize a check
2019-09-03 11:13:21 -07:00
Frinzell
288b4d3e32
Updates to memlock
2019-09-03 11:13:21 -07:00
BrentHoltsclaw
7bf657021a
Requested changes
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-03 11:11:27 -07:00
BrentHoltsclaw
aabe74493e
Extend register to use memory type within configuration files
...
Add ability for register to reference memory as a type
Modified memory xml attribute renamed type to function
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-03 11:11:27 -07:00
Erik Bjorge
f9ac9c9735
Fixed bugs in logger dump_buffer function
...
- Fixed non-printable output formatting
- Fixed string format syntax
- Removed dead/debug code
Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com >
2019-09-03 10:08:50 -07:00
BrentHoltsclaw
b3f4205998
Fixup logic for uefi decode NextFwFile file size calcualtion
...
Try to use Extended header logic is used and the filesize causes an error, fall back the filesize within version1 header
Remove whitespace within file
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-03 10:08:33 -07:00
Erik Bjorge
425a4af1bc
Make register/field/control detection consistent
...
- Removed dead code from is_register_defined
- If register is not defined register_has_field returns False instead of generating an exception
- No change needed for is_control_defined
Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com >
2019-09-03 10:07:55 -07:00
BrentHoltsclaw
9094dacdf8
Fix compiler warning with cores.c
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-03 10:07:35 -07:00
Daniel Schaefer
ea7d64da75
Convert bytestostring before finding substring
...
Like in line 275 we need to convert to string before finding.
In Python3 bytes and strings are not the same and thus it would break.
2019-09-03 10:07:12 -07:00
Daniel Schaefer
003a2053f6
Parse args into self instead of ACPICommand
...
Couldn't find self.func in Python3 before.
2019-09-03 10:07:12 -07:00
BrentHoltsclaw
877ecb1ad8
Fixes to make uefivar_fuzz python3 compatible
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-03 10:06:46 -07:00
BrentHoltsclaw
4ce1127743
Add cs_input to fix compatability issues with input/raw_input
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-03 10:06:46 -07:00
BrentHoltsclaw
3827ec6b7e
Fix setup.py install errors
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-09-03 10:06:46 -07:00
BrentHoltsclaw
ce5143e602
Update to version 1.4.0
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-08-19 18:39:20 -07:00
BrentHoltsclaw
1d7fc4efe4
Filehelper use python2/3 compatable features
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-08-19 13:15:30 -07:00
Frinzell
bc5b63cea8
Added additional SKU support
2019-08-19 13:06:18 -07:00
BrentHoltsclaw
6fccb31877
Fixup spd_wd to work with python3
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-08-16 14:19:26 -07:00
BrentHoltsclaw
73485556d7
Cleanup bugs - Division compliant with python3
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-08-16 14:19:02 -07:00
BrentHoltsclaw
18827a8574
Cleanup use is for None type compare
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-08-16 14:18:47 -07:00
LeaMessenger
72419667f5
Cputestrun ( #642 )
...
* Updated info, cpuid, and cr to argparse
* Updated to argparse
Signed-off-by: Lea Messenger <lea.messenger@intel.com >
2019-08-15 22:19:03 -07:00
Erik Bjorge
bf490b5bed
Remove debug print of all IOCTL data
...
Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com >
2019-08-15 14:12:36 -07:00
Erik Bjorge
d2877a4786
Handle exception if PCI enumeration fails
...
When running the unit test framework PCI Enumreation will most likely
fail and generate an exception. This is handled by catching the
exception and providing an empy list. This will resolve the unit
test failues seen with the previous patch.
Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com >
2019-08-15 14:12:16 -07:00
Erik Bjorge
f241961e05
Make PCI Enumeration quiet by default
...
Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com >
2019-08-15 14:12:16 -07:00
BrentHoltsclaw
2efeda4345
Merge python3-rc2 branch into master ( #656 )
2019-08-15 14:11:20 -07:00
BrentHoltsclaw
ee40421098
Update to verion 1.3.8
...
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-07-23 14:50:36 -07:00
BrentHoltsclaw
ff8ae0fa25
Reorder decompress Compress section algorithms
...
Address issue #609
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com >
2019-07-23 14:01:29 -07:00
Erik Bjorge
639553880e
Adding Revision ID reporting to chipset detection
...
Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com >
2019-07-23 11:16:09 -07:00
Erik Bjorge
0e14b2e0b5
Additonal handle casting changes
...
Signed-off-by: Erik Bjorge <erik.c.bjorge@intel.com >
2019-07-23 11:14:37 -07:00