x86: Update msr test to run on qemu-x86_64

This test is not currently enabled. Update it so that it can be enabled
on the qemu-x86_64 target.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-07-09 23:24:35 +02:00
parent 2d2057f4d5
commit 32863b34a4

View File

@@ -12,14 +12,14 @@
static int cmd_test_msr(struct unit_test_state *uts)
{
ut_assertok(run_commandf("msr read 200"));
ut_assert_nextline("00000000 ffe00006");
ut_assert_nextline("00000000 00000006");
ut_assert_console_end();
/* change the first variable msr and see it reflected in the mtrr cmd */
ut_assertok(run_commandf("mtrr"));
ut_assert_nextline("CPU 65537:");
ut_assert_nextlinen("Reg");
ut_assert_nextlinen("0 Y Back 00000000ffe00000");
ut_assert_nextlinen("0 Y Back 0000000000000000");
ut_assertok(console_record_reset_enable());
/* change the type from 6 to 5 */