diff options
author | Regia König | 2021-06-03 18:39:44 +0200 |
---|---|---|
committer | Regia König | 2021-06-03 18:39:44 +0200 |
commit | 71a8424c0bffe89d503d29eaa9fe0b14c9247add (patch) | |
tree | 01d376b9f9c5ceac3c460af3e535b874a366023b | |
parent | Save actual state (diff) | |
download | memtest86-71a8424c0bffe89d503d29eaa9fe0b14c9247add.tar.gz memtest86-71a8424c0bffe89d503d29eaa9fe0b14c9247add.tar.xz memtest86-71a8424c0bffe89d503d29eaa9fe0b14c9247add.zip |
Save last state. Information is printed BEFORE clear_screen()
-rw-r--r-- | efi_memtest/memtest86+/controller.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/efi_memtest/memtest86+/controller.c b/efi_memtest/memtest86+/controller.c index c1cebc9..9e94428 100644 --- a/efi_memtest/memtest86+/controller.c +++ b/efi_memtest/memtest86+/controller.c @@ -134,7 +134,12 @@ void print_cpu_line(float dram_freq, float fsb_freq, int ram_type) cprint(LINE_CPU, cur_col, "MHz ("); cur_col += 5; - if (1) + if (1) { + char log[21] = "ram_type = "; + int length = 11; + int_to_charr(ram_type, log, &length); + print_log(log, length); + } switch(ram_type) { @@ -151,7 +156,9 @@ void print_cpu_line(float dram_freq, float fsb_freq, int ram_type) cprint(LINE_CPU, cur_col, "DDR3-"); cur_col += 5; break; - } + } + + while(1); if(dram_freq < 500) { @@ -4186,7 +4193,7 @@ static void print_memory_controller(void) } //int index = ctrl.index; - int index = 127; + //int index = 127; //controllers[index].poll_fsb(); poll_fsb_ivb(); //controllers[127].poll_fsb(); |