cpu: Don't forward declare RefCountingPtr
authorAndreas Sandberg <Andreas.Sandberg@ARM.com>
Wed, 13 Aug 2014 10:57:26 +0000 (06:57 -0400)
committerAndreas Sandberg <Andreas.Sandberg@ARM.com>
Wed, 13 Aug 2014 10:57:26 +0000 (06:57 -0400)
commit25f5a6733cbca02f0db9839a00dec30f9751b462
tree704352cb9c2ccb8d4cd4c2ae396f88096c736466
parent43f1e41c02cd37c2ae565876d219e6e3621bcd6b
cpu: Don't forward declare RefCountingPtr

RefCountingPtr is sometimes forward declared to avoid having to
include refcnt.hh. This does not work since we typically return
instances of RefCountingPtr rather than references to instances. The
only reason this currently works is that we include refcnt.hh in
cprintf.hh, which "leaks" the header to most other source files. This
changeset replaces such forward declarations with an include of
refcnt.hh.
src/base/types.hh
src/cpu/static_inst_fwd.hh
src/sim/fault_fwd.hh