Deleted Added
sdiff udiff text old ( 8602:836f8fad4a4c ) new ( 8608:02d7ac5fb855 )
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/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)
43{
44 return DirectoryMemory::mapAddressToDirectoryVersion(addr);
45}

--- 52 unchanged lines hidden ---