mirror of
https://github.com/chipsec/chipsec
synced 2026-06-08 13:31:00 +00:00
MMIO BAR enabled update
This commit is contained in:
committed by
BrentHoltsclaw
parent
b610b47a6f
commit
656872dd55
@@ -214,6 +214,8 @@ class MMIO(hal_base.HALBase):
|
||||
# Check if MMIO range is enabled by MMIO BAR name
|
||||
#
|
||||
def is_MMIO_BAR_enabled(self, bar_name):
|
||||
if not self.is_MMIO_BAR_defined( bar_name ):
|
||||
return False
|
||||
bar = self.cs.Cfg.MMIO_BARS[ bar_name ]
|
||||
is_enabled = True
|
||||
if 'register' in bar:
|
||||
|
||||
Reference in New Issue
Block a user