mirror of
https://github.com/chipsec/chipsec
synced 2026-06-08 13:31:00 +00:00
Update CONSISTENCY_CHECKING
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
This commit is contained in:
committed by
Nathaniel Mitchell
parent
f8aa4341b1
commit
be2fa7744a
@@ -24,6 +24,7 @@ from argparse import ArgumentParser
|
||||
from chipsec.command import BaseCommand
|
||||
from chipsec.hal.locks import locks, LockResult
|
||||
from chipsec.defines import is_set
|
||||
from chipsec.chipset import CONSISTENCY_CHECKING
|
||||
|
||||
|
||||
class LOCKCHECKCommand(BaseCommand):
|
||||
@@ -142,8 +143,7 @@ KEY:
|
||||
return res
|
||||
|
||||
def run(self):
|
||||
self.logger.log("This module works best when CONSISTENCY_CHECKING is turned on")
|
||||
self.logger.log("To enable CONSISTENCY_CHECKING change the option to True within chipset.py")
|
||||
CONSISTENCY_CHECKING = True
|
||||
self.logger.set_always_flush(True)
|
||||
try:
|
||||
self._locks = locks(self.cs)
|
||||
|
||||
Reference in New Issue
Block a user