add in an init() callback for CPU's so that no stats are accessed prior to the end...
authorLisa Hsu <hsul@eecs.umich.edu>
Tue, 24 Feb 2004 19:59:25 +0000 (14:59 -0500)
committerLisa Hsu <hsul@eecs.umich.edu>
Tue, 24 Feb 2004 19:59:25 +0000 (14:59 -0500)
commit6a306d4cafae360c9107a845ee2d08c8667453ae
tree31bf04e6d17e8f42c04ff2aa1a1f46f88de4e1c9
parentf9c91277f356285b58c4e9a1c9c15248676ce9ab
add in an init() callback for CPU's so that no stats are accessed prior to the end of the build process.  (Done by doing the registerExecContext() calling sequence in the init() process rather than the create() process).

cpu/simple_cpu/simple_cpu.cc:
cpu/simple_cpu/simple_cpu.hh:
    same thing for simple cpu's.

--HG--
extra : convert_revision : aac9f91742866fb26f8cace622f9b88454a69662
cpu/simple_cpu/simple_cpu.cc
cpu/simple_cpu/simple_cpu.hh