mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
issue a warning if dup journal entries are found (pdddbg)
This commit is contained in:
parent
0cf27be3b0
commit
afb9974309
1 changed files with 2 additions and 0 deletions
|
|
@ -753,6 +753,8 @@ class Fscb:
|
|||
if pp.valid() and (cur_pp.journal() < pp.journal()):
|
||||
logging.debug("FSCB replace {} /with/ {}".format(cur_pp.as_str(), pp.as_str()))
|
||||
self.free_space[pp.page_number() * 4096] = pp
|
||||
elif cur_pp.journal() == pp.journal():
|
||||
logging.warning("Duplicate journal number found:\n {} (in table)\n {} (incoming)".format(cur_pp.as_str(), pp.as_str()))
|
||||
|
||||
# this is the "AAD" used to encrypt the FastSpace
|
||||
def aad(version=0x01_01, dna=0):
|
||||
|
|
|
|||
Loading…
Reference in a new issue