target/mips/addr: Add translation helpers for KSEG1
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Tue, 15 Dec 2020 06:45:06 +0000 (14:45 +0800)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 14 Jan 2021 16:13:53 +0000 (17:13 +0100)
commit07ae8ccd0fc4ab5a9766ebc1486ed81a1b4c5f41
tree59aabae6139d8e0ff496105363f18c14d1740d78
parentb4cbbb47b0143bcf4e07a6bda5bb98b3f69c6c24
target/mips/addr: Add translation helpers for KSEG1

It's useful for bootloader to do I/O operations.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Huacai Chen <chenhuacai@kernel.org>
Message-Id: <20201215064507.30148-3-jiaxun.yang@flygoat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
target/mips/addr.c
target/mips/cpu.h