1# Copyright (c) 2012 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 583 unchanged lines hidden (view full) --- 592 Draining, 593 Drained 594 }; 595 596 void init(); 597 void loadState(Checkpoint *cp); 598 void initState(); 599 void regStats(); |
600 void resetStats(); 601 void startup(); 602 603 unsigned int drain(Event *drain_event); 604 void resume(); 605 void switchOut(); 606 void takeOverFrom(BaseCPU *cpu); 607''') --- 93 unchanged lines hidden (view full) --- 701 return self._values[attr] 702 703 if self._children.has_key(attr): 704 return self._children[attr] 705 706 # If the attribute exists on the C++ object, transparently 707 # forward the reference there. This is typically used for 708 # SWIG-wrapped methods such as init(), regStats(), |
709 # resetStats(), startup(), drain(), and |
710 # resume(). 711 if self._ccObject and hasattr(self._ccObject, attr): 712 return getattr(self._ccObject, attr) 713 714 raise AttributeError, "object '%s' has no attribute '%s'" \ 715 % (self.__class__.__name__, attr) 716 717 # Set attribute (called on foo.attr = value when foo is an --- 411 unchanged lines hidden --- |