Merge zizzer.eecs.umich.edu:/bk/newmem
into vm1.(none):/home/stever/bk/newmem-head --HG-- extra : convert_revision : c2350e01a052114a264f26551b13fca03a835c61
This commit is contained in:
commit
6b37bb6710
3 changed files with 4 additions and 3 deletions
4
src/mem/cache/cache_impl.hh
vendored
4
src/mem/cache/cache_impl.hh
vendored
|
@ -342,8 +342,8 @@ Cache<TagStore,Coherence>::handleFill(BlkType *blk, MSHR * mshr,
|
||||||
target->getPtr<uint8_t>(), target->getSize());
|
target->getPtr<uint8_t>(), target->getSize());
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (pkt->req->isLocked()) {
|
if (target->req->isLocked()) {
|
||||||
blk->trackLoadLocked(pkt->req);
|
blk->trackLoadLocked(target->req);
|
||||||
}
|
}
|
||||||
std::memcpy(target->getPtr<uint8_t>(),
|
std::memcpy(target->getPtr<uint8_t>(),
|
||||||
blk->data + target->getOffset(blkSize),
|
blk->data + target->getOffset(blkSize),
|
||||||
|
|
|
@ -42,6 +42,7 @@
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <bitset>
|
#include <bitset>
|
||||||
|
|
||||||
|
#include "base/compiler.hh"
|
||||||
#include "base/misc.hh"
|
#include "base/misc.hh"
|
||||||
#include "mem/request.hh"
|
#include "mem/request.hh"
|
||||||
#include "sim/host.hh"
|
#include "sim/host.hh"
|
||||||
|
|
|
@ -40,7 +40,7 @@ using namespace std;
|
||||||
int
|
int
|
||||||
main()
|
main()
|
||||||
{
|
{
|
||||||
char foo[9];
|
char foo[] = "foo";
|
||||||
cprintf("%s\n", foo);
|
cprintf("%s\n", foo);
|
||||||
|
|
||||||
cprintf("%d\n", 'A');
|
cprintf("%d\n", 'A');
|
||||||
|
|
Loading…
Reference in a new issue