RubyPort.hh (8436:5648986156db) RubyPort.hh (8615:e66a566f2cfa)
1/*
2 * Copyright (c) 2009 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;

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

109 typedef RubyPortParams Params;
110 RubyPort(const Params *p);
111 virtual ~RubyPort() {}
112
113 void init();
114
115 Port *getPort(const std::string &if_name, int idx);
116
1/*
2 * Copyright (c) 2009 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;

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

109 typedef RubyPortParams Params;
110 RubyPort(const Params *p);
111 virtual ~RubyPort() {}
112
113 void init();
114
115 Port *getPort(const std::string &if_name, int idx);
116
117 virtual RequestStatus makeRequest(const RubyRequest & request) = 0;
117 virtual RequestStatus makeRequest(PacketPtr pkt) = 0;
118
119 //
120 // Called by the controller to give the sequencer a pointer.
121 // A pointer to the controller is needed for atomic support.
122 //
123 void setController(AbstractController* _cntrl) { m_controller = _cntrl; }
124
125 protected:

--- 39 unchanged lines hidden ---
118
119 //
120 // Called by the controller to give the sequencer a pointer.
121 // A pointer to the controller is needed for atomic support.
122 //
123 void setController(AbstractController* _cntrl) { m_controller = _cntrl; }
124
125 protected:

--- 39 unchanged lines hidden ---