mirror of
https://github.com/memtest86plus/memtest86plus.git
synced 2024-11-27 01:50:20 -06:00
Add a command line option to disable the big PASS/FAIL status display.
This commit is contained in:
parent
5a2bc4c960
commit
e35cb5b964
@ -129,6 +129,8 @@ recognised:
|
||||
* disables ACPI table parsing and the use of multiple CPU cores
|
||||
* nobench
|
||||
* disables the integrated memory benchmark
|
||||
* nobigstatus
|
||||
* disables the big PASS/FAIL pop-up status display
|
||||
* nosm
|
||||
* disables SMBUS/SPD parsing, DMI decoding and memory benchmark
|
||||
* nopause
|
||||
|
@ -91,6 +91,7 @@ bool exclude_ecores = true;
|
||||
|
||||
bool smp_enabled = true;
|
||||
|
||||
bool enable_big_status = true;
|
||||
bool enable_temperature = true;
|
||||
bool enable_trace = false;
|
||||
|
||||
@ -194,6 +195,8 @@ static void parse_option(const char *option, const char *params)
|
||||
parse_serial_params(params);
|
||||
} else if (strncmp(option, "nobench", 8) == 0) {
|
||||
enable_bench = false;
|
||||
} else if (strncmp(option, "nobigstatus", 12) == 0) {
|
||||
enable_big_status = false;
|
||||
} else if (strncmp(option, "noehci", 7) == 0) {
|
||||
usb_init_options |= USB_IGNORE_EHCI;
|
||||
} else if (strncmp(option, "nopause", 8) == 0) {
|
||||
|
@ -51,6 +51,7 @@ extern bool exclude_ecores;
|
||||
|
||||
extern bool smp_enabled;
|
||||
|
||||
extern bool enable_big_status;
|
||||
extern bool enable_temperature;
|
||||
extern bool enable_trace;
|
||||
|
||||
|
@ -356,7 +356,7 @@ void display_temperature(void)
|
||||
|
||||
void display_big_status(bool pass)
|
||||
{
|
||||
if (big_status_displayed) {
|
||||
if (!enable_big_status || big_status_displayed) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user