Revision 985a19d6 target-ppc/op_helper.c

b/target-ppc/op_helper.c
349 349
}
350 350

  
351 351
/* Instruction cache invalidation helper */
352
#define ICACHE_LINE_SIZE 32
353

  
352 354
void do_icbi (void)
353 355
{
354
    //    tb_invalidate_page(T0);
356
    /* Invalidate one cache line */
357
    T0 &= ~(ICACHE_LINE_SIZE - 1);
358
    tb_invalidate_page_range(T0, T0 + ICACHE_LINE_SIZE);
355 359
}
356 360

  
357 361
/* TLB invalidation helpers */

Also available in: Unified diff