Deleted Added
sdiff udiff text old ( 11025:4872dbdea907 ) new ( 11208:fa3e56b6e0b6 )
full compact
1/*
2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 24 unchanged lines hidden (view full) ---

33#ifndef __MEM_RUBY_SLICC_INTERFACE_RUBYSLICCUTIL_HH__
34#define __MEM_RUBY_SLICC_INTERFACE_RUBYSLICCUTIL_HH__
35
36#include <cassert>
37
38#include "debug/RubySlicc.hh"
39#include "mem/packet.hh"
40#include "mem/ruby/common/Address.hh"
41#include "mem/ruby/common/DataBlock.hh"
42#include "mem/ruby/common/TypeDefines.hh"
43
44inline Cycles zero_time() { return Cycles(0); }
45
46inline NodeID
47intToID(int nodenum)
48{

--- 71 unchanged lines hidden (view full) ---

120 for (unsigned i = 0; i < size_in_bytes; ++i) {
121 blk.setByte(i + startByte, data[i]);
122 }
123 return true;
124 }
125 return false;
126}
127
128#endif // __MEM_RUBY_SLICC_INTERFACE_RUBYSLICCUTIL_HH__