From 2a6e32dd46967124f12c29eece7aa7fc3f0ee063 Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Sun, 22 Nov 2009 13:22:54 +0100 Subject: target-mips: make CP0_LLAddr register CPU dependent MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Depending on the CPU, CP0_LLAddr is either read-only or read-write, and the returned value can be shifted by a variable amount of bits. Signed-off-by: Aurelien Jarno Signed-off-by: Hervé Poussineau --- target-mips/helper.h | 1 + 1 file changed, 1 insertion(+) (limited to 'target-mips/helper.h') diff --git a/target-mips/helper.h b/target-mips/helper.h index b8ec15eab2..4f1de5193f 100644 --- a/target-mips/helper.h +++ b/target-mips/helper.h @@ -122,6 +122,7 @@ DEF_HELPER_1(mtc0_cause, void, tl) DEF_HELPER_1(mtc0_ebase, void, tl) DEF_HELPER_1(mtc0_config0, void, tl) DEF_HELPER_1(mtc0_config2, void, tl) +DEF_HELPER_1(mtc0_lladdr, void, tl) DEF_HELPER_2(mtc0_watchlo, void, tl, i32) DEF_HELPER_2(mtc0_watchhi, void, tl, i32) DEF_HELPER_1(mtc0_xcontext, void, tl) -- cgit v1.2.1