mirror of
https://github.com/memtest86plus/memtest86plus.git
synced 2024-11-23 08:26:23 -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
|
* disables ACPI table parsing and the use of multiple CPU cores
|
||||||
* nobench
|
* nobench
|
||||||
* disables the integrated memory benchmark
|
* disables the integrated memory benchmark
|
||||||
|
* nobigstatus
|
||||||
|
* disables the big PASS/FAIL pop-up status display
|
||||||
* nosm
|
* nosm
|
||||||
* disables SMBUS/SPD parsing, DMI decoding and memory benchmark
|
* disables SMBUS/SPD parsing, DMI decoding and memory benchmark
|
||||||
* nopause
|
* nopause
|
||||||
|
@ -91,6 +91,7 @@ bool exclude_ecores = true;
|
|||||||
|
|
||||||
bool smp_enabled = true;
|
bool smp_enabled = true;
|
||||||
|
|
||||||
|
bool enable_big_status = true;
|
||||||
bool enable_temperature = true;
|
bool enable_temperature = true;
|
||||||
bool enable_trace = false;
|
bool enable_trace = false;
|
||||||
|
|
||||||
@ -194,6 +195,8 @@ static void parse_option(const char *option, const char *params)
|
|||||||
parse_serial_params(params);
|
parse_serial_params(params);
|
||||||
} else if (strncmp(option, "nobench", 8) == 0) {
|
} else if (strncmp(option, "nobench", 8) == 0) {
|
||||||
enable_bench = false;
|
enable_bench = false;
|
||||||
|
} else if (strncmp(option, "nobigstatus", 12) == 0) {
|
||||||
|
enable_big_status = false;
|
||||||
} else if (strncmp(option, "noehci", 7) == 0) {
|
} else if (strncmp(option, "noehci", 7) == 0) {
|
||||||
usb_init_options |= USB_IGNORE_EHCI;
|
usb_init_options |= USB_IGNORE_EHCI;
|
||||||
} else if (strncmp(option, "nopause", 8) == 0) {
|
} else if (strncmp(option, "nopause", 8) == 0) {
|
||||||
|
@ -51,6 +51,7 @@ extern bool exclude_ecores;
|
|||||||
|
|
||||||
extern bool smp_enabled;
|
extern bool smp_enabled;
|
||||||
|
|
||||||
|
extern bool enable_big_status;
|
||||||
extern bool enable_temperature;
|
extern bool enable_temperature;
|
||||||
extern bool enable_trace;
|
extern bool enable_trace;
|
||||||
|
|
||||||
|
@ -356,7 +356,7 @@ void display_temperature(void)
|
|||||||
|
|
||||||
void display_big_status(bool pass)
|
void display_big_status(bool pass)
|
||||||
{
|
{
|
||||||
if (big_status_displayed) {
|
if (!enable_big_status || big_status_displayed) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user