mirror of
https://github.com/memtest86plus/memtest86plus.git
synced 2024-11-23 00:16:24 -06:00
9ef7eae74e
* badram: Make DEFAULT_MASK depend on ARCH_BITS, not x86_64 architecture. * badram: Don't display leading zeros for BadRAM addresses. * badram: Merge patterns immediately when there is no additional cost. The current algorithm only starts merging patterns when num_patterns equals MAX_PATTERNS, which can lead to having several patterns that could have been merged into one at no additional cost. e.g. patterns = [ (0x00, 0xfffffffffffffff8), (0x08, 0xfffffffffffffff8) ] can appear, even though patterns = [ (0x00, 0xfffffffffffffff0) ] represents the exact same addresses at the same cost. So, at the same time as we test whether an address is already covered, also check if we can cheaply combine the new address with an existing pattern. * badram: Factor out code that wraps to a new line when necessary. In preparation for next commit. * badram: Add more modes for recording/displaying error maps. The original code just supported recording and displaying patterns suitable for use with the Linux BadRAM extension or GRUB badram command. With some minor changes it can be made to record address ranges and display them either in the format used by the Linux memmap boot command line option or as a simple list of memory page numbers (which can be used with the Windows bcdedit program). * badram: Increase the number of stored patterns/ranges. * Update README to include the new error reporting modes. |
||
---|---|---|
.. | ||
loongarch | ||
badram.c | ||
badram.h | ||
config.c | ||
config.h | ||
display.c | ||
display.h | ||
error.c | ||
error.h | ||
interrupt.c | ||
interrupt.h | ||
main.c | ||
test.h | ||
version.h |