Deleted Added
sdiff udiff text old ( 11308:7d8836fd043d ) new ( 12065:e3e51756dfef )
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;

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

30#define __MEM_RUBY_SLICC_INTERFACE_RUBYSLICC_COMPONENTMAPPINGS_HH__
31
32#include "mem/protocol/MachineType.hh"
33#include "mem/ruby/common/Address.hh"
34#include "mem/ruby/common/MachineID.hh"
35#include "mem/ruby/common/NetDest.hh"
36#include "mem/ruby/structures/DirectoryMemory.hh"
37
38inline NetDest
39broadcast(MachineType type)
40{
41 NetDest dest;
42 for (NodeID i = 0; i < MachineType_base_count(type); i++) {
43 MachineID mach = {type, i};
44 dest.add(mach);
45 }

--- 49 unchanged lines hidden ---