[Libre-soc-bugs] [Bug 1195] removing some f-strings and misleading log messages
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Sat Oct 21 00:37:51 BST 2023
https://bugs.libre-soc.org/show_bug.cgi?id=1195
--- Comment #4 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
343 if addr != expected:
344 exc = MemException("not sign extended",
345 f"address not sign extended: 0x{addr:X} "
346 f"expected 0x{expected:X}")
347 exc.dar = addr
348 raise exc
349 return page_idx
350
351 def __reduce_ex__(self, protocol):
352 raise PicklingError("MemMMap can't be deep-copied or pickled")
353
354 def __access_addr_range_err(self, start_addr, size, needed_flag):
355 assert needed_flag != _MMapPageFlags.W, \
356 f"can't write to address 0x{start_addr:X} size 0x{size:X}"
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list