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

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

34 *
35 * $Id$
36 *
37 */
38
39#ifndef SLICC_UTIL_H
40#define SLICC_UTIL_H
41
42#include "Global.hh"
43#include "Address.hh"
44#include "NodeID.hh"
45#include "MachineID.hh"
46#include "RubyConfig.hh"
47#include "CacheMsg.hh"
48#include "GenericRequestType.hh"
49#include "CacheRequestType.hh"
50#include "AccessType.hh"
51#include "MachineType.hh"
52#include "Directory_State.hh"
53#include "L1Cache_State.hh"
54#include "MessageSizeType.hh"
55#include "Network.hh"
56#include "PrefetchBit.hh"
57
58#include "RubySlicc_ComponentMapping.hh"
59
60class Set;
61class NetDest;
62
63extern inline int random(int n)
64{
65 return random() % n;
66}

--- 153 unchanged lines hidden ---