BasicLink.hh (9499:b03b556a8fbb) BasicLink.hh (11663:cf870cd20cfc)
1/*
2 * Copyright (c) 2011 Advanced Micro Devices, Inc.
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;

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

68class BasicExtLink : public BasicLink
69{
70 public:
71 typedef BasicExtLinkParams Params;
72 BasicExtLink(const Params *p);
73 const Params *params() const { return (const Params *)_params; }
74
75 friend class Topology;
1/*
2 * Copyright (c) 2011 Advanced Micro Devices, Inc.
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;

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

68class BasicExtLink : public BasicLink
69{
70 public:
71 typedef BasicExtLinkParams Params;
72 BasicExtLink(const Params *p);
73 const Params *params() const { return (const Params *)_params; }
74
75 friend class Topology;
76
77 protected:
78 BasicRouter* m_int_node;
79 AbstractController* m_ext_node;
80};
81
82class BasicIntLink : public BasicLink
83{
84 public:
85 typedef BasicIntLinkParams Params;
86 BasicIntLink(const Params *p);
87 const Params *params() const { return (const Params *)_params; }
88
89 friend class Topology;
76};
77
78class BasicIntLink : public BasicLink
79{
80 public:
81 typedef BasicIntLinkParams Params;
82 BasicIntLink(const Params *p);
83 const Params *params() const { return (const Params *)_params; }
84
85 friend class Topology;
90
91 protected:
92 BasicRouter* m_node_a;
93 BasicRouter* m_node_b;
94};
95
96#endif // __MEM_RUBY_NETWORK_BASIC_LINK_HH__
86};
87
88#endif // __MEM_RUBY_NETWORK_BASIC_LINK_HH__