RubySlicc_ComponentMapping.hh (10008:5176f0a71e56) RubySlicc_ComponentMapping.hh (10086:bd1089db3a88)
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;

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

26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29#ifndef __MEM_RUBY_SLICC_INTERFACE_RUBYSLICC_COMPONENTMAPPINGS_HH__
30#define __MEM_RUBY_SLICC_INTERFACE_RUBYSLICC_COMPONENTMAPPINGS_HH__
31
32#include "mem/protocol/MachineType.hh"
33#include "mem/ruby/common/Address.hh"
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;

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

26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29#ifndef __MEM_RUBY_SLICC_INTERFACE_RUBYSLICC_COMPONENTMAPPINGS_HH__
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/Global.hh"
35#include "mem/ruby/common/NetDest.hh"
36#include "mem/ruby/system/DirectoryMemory.hh"
37#include "mem/ruby/system/MachineID.hh"
38
39// used to determine the home directory
40// returns a value between 0 and total_directories_within_the_system
41inline NodeID
42map_Address_to_DirectoryNode(const Address& addr)

--- 64 unchanged lines hidden ---
34#include "mem/ruby/common/NetDest.hh"
35#include "mem/ruby/system/DirectoryMemory.hh"
36#include "mem/ruby/system/MachineID.hh"
37
38// used to determine the home directory
39// returns a value between 0 and total_directories_within_the_system
40inline NodeID
41map_Address_to_DirectoryNode(const Address& addr)

--- 64 unchanged lines hidden ---