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;

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

35
36#include <cassert>
37
38#include "debug/RubySlicc.hh"
39#include "mem/ruby/common/Address.hh"
40#include "mem/ruby/common/DataBlock.hh"
41#include "mem/packet.hh"
42
43inline int
44random(int n)
45{
46 return random() % n;
47}
48
43inline Cycles zero_time() { return Cycles(0); }
44
45inline NodeID
46intToID(int nodenum)
47{
48 NodeID id = nodenum;
49 return id;
50}

--- 100 unchanged lines hidden ---