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());
|
||||
}
|
||||
} else {
|
||||
if (pkt->req->isLocked()) {
|
||||
blk->trackLoadLocked(pkt->req);
|
||||
if (target->req->isLocked()) {
|
||||
blk->trackLoadLocked(target->req);
|
||||
}
|
||||
std::memcpy(target->getPtr<uint8_t>(),
|
||||
blk->data + target->getOffset(blkSize),
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
#include <list>
|
||||
#include <bitset>
|
||||
|
||||
#include "base/compiler.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "mem/request.hh"
|
||||
#include "sim/host.hh"
|
||||
|
|
|
@ -40,7 +40,7 @@ using namespace std;
|
|||
int
|
||||
main()
|
||||
{
|
||||
char foo[9];
|
||||
char foo[] = "foo";
|
||||
cprintf("%s\n", foo);
|
||||
|
||||
cprintf("%d\n", 'A');
|
||||
|
|
Loading…
Reference in a new issue