static void mfspr_cb (const char* name, test_func_t func,
unused uint32_t test_flags)
{
- volatile uint32_t res, flags, xer, ctr, lr, tmpcr, tmpxer;
- int j, k;
+ //volatile uint32_t res, flags, xer, ctr, lr, tmpcr, tmpxer;
+ int j, k, res;
// Call func, just to stop compiler complaining
(*func)();
static void mtspr_cb (const char* name, test_func_t func,
unused uint32_t test_flags)
{
+#if 0
volatile uint32_t flags, xer, ctr, lr, tmpcr, tmpxer;
int j, k;
printf("%s %d, %08x => (%08x %08x, %08x, %08x)\n",
name, j, iargs[k], flags, xer, lr, ctr);
}
+#endif
}