26a27,29
> *
> * Authors: Steve Reinhardt
> * Nathan Binkert
148,149c151
< if (kernelStats)
< kernelStats->hwrei();
---
> cpu->kernelStats->hwrei();
339,340c341
< if (xc->getKernelStats())
< xc->getKernelStats()->context(old, val, xc);
---
> xc->getCpuPtr()->kernelStats->context(old, val, xc);
367,368c368
< if (xc->getKernelStats())
< xc->getKernelStats()->swpipl(ipr[idx]);
---
> xc->getCpuPtr()->kernelStats->swpipl(ipr[idx]);
372,378c372,375
< if (val & 0x18) {
< if (xc->getKernelStats())
< xc->getKernelStats()->mode(Kernel::user, xc);
< } else {
< if (xc->getKernelStats())
< xc->getKernelStats()->mode(Kernel::kernel, xc);
< }
---
> if (val & 0x18)
> xc->getCpuPtr()->kernelStats->mode(Kernel::user, xc);
> else
> xc->getCpuPtr()->kernelStats->mode(Kernel::kernel, xc);
564,565c561
< if (kernelStats)
< kernelStats->callpal(palFunc, proxy);
---
> cpu->kernelStats->callpal(palFunc, proxy);