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 --- 602 unchanged lines hidden (view full) --- 611 @classmethod 612 def export_methods(cls, code): 613 code(''' 614 void init(); 615 void loadState(Checkpoint *cp); 616 void initState(); 617 void regStats(); 618 void resetStats(); |
619 void regProbePoints(); 620 void regProbeListeners(); |
621 void startup(); 622''') 623 624 # Initialize new instance. For objects with SimObject-valued 625 # children, we need to recursively clone the classes represented 626 # by those param values as well in a consistent "deep copy"-style 627 # fashion. That is, we want to make sure that each instance is 628 # cloned only once, and that if there are multiple references to --- 512 unchanged lines hidden --- |