3cfbc4a608
This makes it easier to check the output against a reference output. Change-Id: I9c7ae538b708399a5cadd18e498618d7480d240f Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Reviewed-on: https://review.coreboot.org/14276 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com>
17 lines
290 B
C
17 lines
290 B
C
#include "linux_syscall.h"
|
|
#include "linux_console.h"
|
|
|
|
static void main(void)
|
|
{
|
|
static const int value[] = { 1, 0 };
|
|
const char *str;
|
|
if (value[1]) {
|
|
print_debug("A\n");
|
|
str = "Unbuffered\n";
|
|
} else {
|
|
print_debug("B\n");
|
|
str = "Registered\n";
|
|
}
|
|
print_debug(str);
|
|
_exit(0);
|
|
}
|