mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
PowerPC merge (Jocelyn Mayer)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@566 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
3f5dcc340c
commit
985a19d6d1
4 changed files with 27 additions and 10 deletions
|
@ -349,9 +349,13 @@ void do_fnabs (void)
|
|||
}
|
||||
|
||||
/* Instruction cache invalidation helper */
|
||||
#define ICACHE_LINE_SIZE 32
|
||||
|
||||
void do_icbi (void)
|
||||
{
|
||||
// tb_invalidate_page(T0);
|
||||
/* Invalidate one cache line */
|
||||
T0 &= ~(ICACHE_LINE_SIZE - 1);
|
||||
tb_invalidate_page_range(T0, T0 + ICACHE_LINE_SIZE);
|
||||
}
|
||||
|
||||
/* TLB invalidation helpers */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue