Andreas Färber writes:
> Am 22.02.2013 18:20, schrieb Markus Armbruster:
>> diff --git a/tests/boot-order-test.c b/tests/boot-order-test.c
>> new file mode 100644
>> index 000..60412ad
>> --- /dev/null
>> +++ b/tests/boot-order-test.c
> [...]
>> +static void test_pc_with_args(const char *args
Am 22.02.2013 18:20, schrieb Markus Armbruster:
> diff --git a/tests/boot-order-test.c b/tests/boot-order-test.c
> new file mode 100644
> index 000..60412ad
> --- /dev/null
> +++ b/tests/boot-order-test.c
[...]
> +static void test_pc_with_args(const char *args, uint8_t boot1, uint8_t boot2,
> +
Am 22.02.2013 18:20, schrieb Markus Armbruster:
> Covers only PC so far.
>
> Signed-off-by: Markus Armbruster
Reviewed-by: Andreas Färber
> +static void test_cmos_byte(int reg, int expected)
> +{
> +int actual;
> +
> +outb(0x70 + 0, reg);
> +actual = inb(0x71);
Did you intend to u
Andreas Färber writes:
> Am 22.02.2013 18:20, schrieb Markus Armbruster:
>> Covers only PC so far.
>>
>> Signed-off-by: Markus Armbruster
>
> Reviewed-by: Andreas Färber
>
>> +static void test_cmos_byte(int reg, int expected)
>> +{
>> +int actual;
>> +
>> +outb(0x70 + 0, reg);
>> +