Skip to content

Commit 80b8b01

Browse files
philmdpm215
authored andcommitted
tests/qtest/boot-serial-test: Reorder pair of instructions in PL011 test
In the next commit we are going to use a different value for the $w1 register, maintaining the same $x2 value. In order to keep the next commit trivial to review, set $x2 before $w1. Signed-off-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Reviewed-by: Fabiano Rosas <[email protected]> Signed-off-by: Peter Maydell <[email protected]>
1 parent afd757e commit 80b8b01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/qtest/boot-serial-test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ static const uint8_t bios_raspi2[] = {
7878
};
7979

8080
static const uint8_t kernel_aarch64[] = {
81-
0x81, 0x0a, 0x80, 0x52, /* mov w1, #'T' */
8281
0x02, 0x20, 0xa1, 0xd2, /* mov x2, #0x9000000 Load UART0 */
82+
0x81, 0x0a, 0x80, 0x52, /* mov w1, #'T' */
8383
0x41, 0x00, 0x00, 0x39, /* loop: strb w1, [x2] *TXDAT = 'T' */
8484
0xff, 0xff, 0xff, 0x17, /* b -4 (loop) */
8585
};

0 commit comments

Comments
 (0)