Commit Graph

31 Commits

Author SHA1 Message Date
brentholtsclaw d3593a7fc4 Update list_IO_BARs function
Function was not properly utilizing bus structure and would not print
out all associated bars

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2024-07-29 16:38:29 -07:00
Dan Scott 0e8192cfd0 Move files to library folder 2024-03-22 14:26:59 -07:00
Dan Scott a933b1337d Update references to functions in new library files 2024-03-22 14:26:59 -07:00
Nathaniel Mitchell cda2f448ac Fix the issue with the bus lists
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2023-09-15 10:07:44 -07:00
Dan Scott 67fbb3c591 Update hals to match config parsing update
Signed-off-by: Dan Scott <dan.scott@intel.com>
2023-07-28 09:34:00 -07:00
Frinzell, Aaron 9f85b80e33 Type Hint and fstring updates to cmos.py, io.py, and iobar.py
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2023-01-18 17:02:28 -08:00
Nathaniel Mitchell 291632c0ee Apply flake8 code formatting rules against repo
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2022-07-28 09:17:10 -07:00
Frinzell, Aaron 277a9ca4e3 Update warn() in hal files
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2022-07-07 09:58:03 -07:00
Frinzell, Aaron 1b9b194c78 Update logger.error() in hal modules
Signed-off-by: Frinzell, Aaron <aaron.frinzell@intel.com>
2022-06-30 10:50:37 -07:00
brentholtsclaw 28fee6f060 Sync up iobar and mmio bar list routines
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2021-10-25 14:50:16 -07:00
brentholtsclaw 591b863112 Create hal locks and lock_check_cmd
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2021-09-28 10:18:20 -07:00
brentholtsclaw b7bd40c9b0 Fixes for checker alerts
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2021-08-26 10:50:51 -07:00
brentholtsclaw 0e53326a83 Create exceptions.py for chipsec exceptions
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2021-08-26 10:50:51 -07:00
Nathaniel Mitchell c8c14e21be Remove shebang from all but the entry points. Update ep to py3
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2021-08-12 08:27:33 -07:00
brentholtsclaw 964e8ecc42 Changes to enable consistancy checking
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2021-05-06 19:53:45 -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 a00b2838e5 Cleanup trailing whitespace
W291,W293,W391

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-07-01 15:44:21 -07:00
brentholtsclaw f2b0d31d31 HAL fixes from LGTM (1/3)
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-04-16 12:00:18 -07:00
BrentHoltsclaw 7f929901bf Add logic to iobar fixed address fallback
Also fallback to fixed address if base address is 0

Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2019-10-31 14:23:55 -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 2efeda4345 Merge python3-rc2 branch into master (#656) 2019-08-15 14:11:20 -07:00
BrentHoltsclaw 66710206e7 Changes based upon comments 2019-04-25 14:19:08 -07:00
BrentHoltsclaw 789314a142 Normalizing logging for various sections of chipsec:
HAL now only use logger().HAL
helpers now only use logger.DEBUG
modules now only use logger.VERBOSE
2019-04-25 14:19:08 -07:00
Sebastian Witt 468720972b iobar: Use get_register_field_mask for fixed_address 2018-10-23 09:37:42 -07:00
Sebastian Witt 451e520cb3 iobar: Check fixed address and all base bits set 2018-10-23 09:37:42 -07:00
Sebastian Witt 363c77750f Check fixed_address and base = 0xFFFF 2018-10-23 09:37:42 -07:00
Sebastian Witt 0acaf11310 fixed_address support for iobar 2018-10-23 09:37:42 -07:00
Thiébaud Weksteen bdea49936a Remove unused __version__ (#215) 2017-05-08 22:17:35 -07:00
abazhaniuk c377a72e28 Deb package (#135)
* merge

* Add Debian packaging

* cleanup

* Removed incorrect info into Copyright.

* One more: removed incorrect info in Copyright.
2017-01-06 12:57:13 -08:00
Thiébaud Weksteen 1a284132f8 Use HALBase for all HAL modules (#124) 2016-11-17 23:21:26 -08:00
abazhaniuk 94fe7f02f1 change setup.py build driver by default. change root directory of chipsec. move WARNING.txt to chipsec. remove PKG-INFO (#107) 2016-10-18 18:19:42 -07:00