blob: 7e781862913025b4a6ffc4bcb6e1c0b97c0a2a88 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
MIPS Malta mini-bootloader print function has bad jump instruction
One of the hardcoded bootloader library instructions in the MIPS Malta mini-bootloader's print function is:
stl_raw(p++, 0x08000205); /* j 814 */
Since this function is loaded at 0xbfc00808, this jump jumps to the middle of nowhere. The properly-encoded instruction is:
stl_raw(p++, 0x0bf00205); /* j 814 */
With this patch, the print function behaves as expected.
|