Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spd and display refresh issue #1

Merged
merged 6 commits into from
May 11, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions apu2_rel_notes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
*******************************************************
PCENGINES memtest86plus Release Notes
*******************************************************

Release notes describing changes made to memtest86plus related to apu2 support

11 MAY 2016

* Macro (SPD_DISABLED) for disabling SPD related functionality was added spd.h
This macro should be used when building memtest for apu2 platform

* Fix for display refresh.
Refresh option label ('l') was added to aplication bottom menu and refresh procedure
was fixed so that full screen content is reprinted on refresh.

3 changes: 3 additions & 0 deletions config.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include "test.h"
#include "screen_buffer.h"
#include "dmi.h"
#include "spd.h"

extern int bail, beepmode;
extern struct tseq tseq[];
Expand Down Expand Up @@ -46,7 +47,9 @@ void get_config(void)
cprint(POP_Y+6, POP_X+6, "(4) Core Selection");
cprint(POP_Y+7, POP_X+6, "(5) Refresh Screen");
cprint(POP_Y+8, POP_X+6, "(6) Display DMI Data");
#ifndef SPD_DISABLED
cprint(POP_Y+9, POP_X+6, "(7) Display SPD Data");
#endif
cprint(POP_Y+11, POP_X+6, "(0) Continue");

/* Wait for key release */
Expand Down
2 changes: 1 addition & 1 deletion init.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ void init(void)
cprint(LINE_RAM, COL_SPEC, " No detection, same reliability ");
} else {
find_controller();
//get_spd_spec();
get_spd_spec();
if (num_cpus <= 16 && !(v->fail_safe & 4)) { coretemp(); }
}

Expand Down
5 changes: 2 additions & 3 deletions lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -648,16 +648,15 @@ void check_input(void)
break;
case 0x26:
/* ^L/L - redraw the display */
clear_screen_buf();
tty_print_region(0, 0, 80, 100);
tty_print_screen();
break;
}
}
}

void footer(void)
{
cprint(24, 0, "(ESC)exit (c)configuration (SP)scroll_lock (CR)scroll_unlock");
cprint(24, 0, "(ESC)exit (c)configuration (SP)scroll_lock (CR)scroll_unlock (l)refresh");
if (slock) {
cprint(24, 74, "Locked");
} else {
Expand Down
Loading