RubySlicc_ComponentMapping.hh (10005:8c2b0dc16ccd) RubySlicc_ComponentMapping.hh (10008:5176f0a71e56)
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;

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

91}
92
93inline int
94machineCount(MachineType machType)
95{
96 return MachineType_base_count(machType);
97}
98
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;

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

91}
92
93inline int
94machineCount(MachineType machType)
95{
96 return MachineType_base_count(machType);
97}
98
99inline MachineID
100createMachineID(MachineType type, NodeID id)
101{
102 MachineID mach = {type, id};
103 return mach;
104}
105
99#endif // __MEM_RUBY_SLICC_INTERFACE_COMPONENTMAPPINGS_HH__
106#endif // __MEM_RUBY_SLICC_INTERFACE_COMPONENTMAPPINGS_HH__