From: Nathan Binkert Date: Sun, 10 Jun 2007 06:00:13 +0000 (-0700) Subject: Use the right type X-Git-Tag: m5_2.0_beta4~366 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11f1c8dd3eb769b39939eafedc7155ad36701a7e;p=gem5.git Use the right type --HG-- extra : convert_revision : b5ca3153ca786ea4e86bfe83f7760ba9ee41a882 --- 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) {