From 11f1c8dd3eb769b39939eafedc7155ad36701a7e Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Sat, 9 Jun 2007 23:00:13 -0700 Subject: Use the right type --HG-- extra : convert_revision : b5ca3153ca786ea4e86bfe83f7760ba9ee41a882 --- src/cpu/o3/fetch_impl.hh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/cpu/o3') diff --git a/src/cpu/o3/fetch_impl.hh b/src/cpu/o3/fetch_impl.hh index 0d7403023..ff4617fcc 100644 --- a/src/cpu/o3/fetch_impl.hh +++ b/src/cpu/o3/fetch_impl.hh @@ -29,6 +29,9 @@ * Korey Sewell */ +#include +#include + #include "config/use_checker.hh" #include "arch/isa_traits.hh" @@ -48,8 +51,6 @@ #include "sim/system.hh" #endif // FULL_SYSTEM -#include - template void DefaultFetch::IcachePort::setPeer(Port *port) @@ -374,7 +375,7 @@ DefaultFetch::processCacheCompletion(PacketPtr pkt) return; } - memcpy(cacheData[tid], pkt->getPtr(), cacheBlkSize); + memcpy(cacheData[tid], pkt->getPtr(), cacheBlkSize); cacheDataValid[tid] = true; if (!drainPending) { -- cgit v1.2.3