diff options
author | Alexander Graf <agraf@suse.de> | 2012-01-20 04:09:15 +0100 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-02-02 02:47:46 +0100 |
commit | 6d3db821c18fdc9727108b5b4bbb38cb7ab5c0e6 (patch) | |
tree | c1884c2333164f47bd34145305f7eb4976e58496 /target-ppc/helper.h | |
parent | 5935ee072d6fbcdf28ff6132ba6d8c3a1356bb0a (diff) | |
download | hqemu-6d3db821c18fdc9727108b5b4bbb38cb7ab5c0e6.zip hqemu-6d3db821c18fdc9727108b5b4bbb38cb7ab5c0e6.tar.gz |
PPC: booke206: Implement tlbilx
The PowerPC 2.06 BookE ISA defines an opcode called "tlbilx" which is used
to flush TLB entries. It's the recommended way of flushing in virtualized
environments.
So far we got away without implementing it, but Linux for e500mc uses this
instruction, so we better add it :).
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/helper.h')
-rw-r--r-- | target-ppc/helper.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target-ppc/helper.h b/target-ppc/helper.h index 470e42f..4798fd5 100644 --- a/target-ppc/helper.h +++ b/target-ppc/helper.h @@ -336,6 +336,9 @@ DEF_HELPER_0(booke206_tlbre, void) DEF_HELPER_0(booke206_tlbwe, void) DEF_HELPER_1(booke206_tlbsx, void, tl) DEF_HELPER_1(booke206_tlbivax, void, tl) +DEF_HELPER_1(booke206_tlbilx0, void, tl) +DEF_HELPER_1(booke206_tlbilx1, void, tl) +DEF_HELPER_1(booke206_tlbilx3, void, tl) DEF_HELPER_1(booke206_tlbflush, void, i32) DEF_HELPER_2(booke_setpid, void, i32, tl) DEF_HELPER_1(6xx_tlbd, void, tl) |