intdev.hh (6045:214461cb8abe) intdev.hh (6064:46d327d42036)
1/*
2 * Copyright (c) 2008 The Regents of The University of Michigan
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;

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

66 device->getIntAddrRange(resp);
67 }
68
69 Tick recvMessage(PacketPtr pkt)
70 {
71 return device->recvMessage(pkt);
72 }
73
1/*
2 * Copyright (c) 2008 The Regents of The University of Michigan
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;

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

66 device->getIntAddrRange(resp);
67 }
68
69 Tick recvMessage(PacketPtr pkt)
70 {
71 return device->recvMessage(pkt);
72 }
73
74 Tick recvResponse(PacketPtr pkt)
75 {
76 return device->recvResponse(pkt);
77 }
78
74 // This is x86 focused, so if this class becomes generic, this would
75 // need to be moved into a subclass.
76 void sendMessage(TriggerIntMessage message, bool timing);
77
78 void recvStatusChange(Status status)
79 {
80 if (status == RangeChange) {
81 sendStatusChange(Port::RangeChange);

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

120
121 virtual Tick
122 recvMessage(PacketPtr pkt)
123 {
124 panic("recvMessage not implemented.\n");
125 return 0;
126 }
127
79 // This is x86 focused, so if this class becomes generic, this would
80 // need to be moved into a subclass.
81 void sendMessage(TriggerIntMessage message, bool timing);
82
83 void recvStatusChange(Status status)
84 {
85 if (status == RangeChange) {
86 sendStatusChange(Port::RangeChange);

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

125
126 virtual Tick
127 recvMessage(PacketPtr pkt)
128 {
129 panic("recvMessage not implemented.\n");
130 return 0;
131 }
132
133 virtual Tick
134 recvResponse(PacketPtr pkt)
135 {
136 delete pkt->req;
137 delete pkt;
138 return 0;
139 }
140
128 virtual void
129 getIntAddrRange(AddrRangeList &range_list)
130 {
131 panic("intAddrRange not implemented.\n");
132 }
133};
134
135class IntSinkPin : public SimObject

--- 86 unchanged lines hidden ---
141 virtual void
142 getIntAddrRange(AddrRangeList &range_list)
143 {
144 panic("intAddrRange not implemented.\n");
145 }
146};
147
148class IntSinkPin : public SimObject

--- 86 unchanged lines hidden ---