79a80,95
> @classmethod
> def export_method_cxx_predecls(cls, code):
> code('#include "cpu/base.hh"')
>
>
> @classmethod
> def export_methods(cls, code):
> code('''
> void switchOut();
> void takeOverFrom(BaseCPU *cpu);
> ''')
>
> def takeOverFrom(self, old_cpu):
> self._ccObject.takeOverFrom(old_cpu._ccObject)
>
>