malta.hh (5222:bb733a878f85) malta.hh (6379:75d4aaf7dd54)
1/*
2 * Copyright (c) 2004-2005 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;

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

115 /**
116 * Clear a posted PCI->CPU interrupt
117 */
118 virtual void clearPciInt(int line);
119
120
121 virtual Addr pciToDma(Addr pciAddr) const;
122
1/*
2 * Copyright (c) 2004-2005 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;

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

115 /**
116 * Clear a posted PCI->CPU interrupt
117 */
118 virtual void clearPciInt(int line);
119
120
121 virtual Addr pciToDma(Addr pciAddr) const;
122
123 /**
124 * Calculate the configuration address given a bus/dev/func.
125 */
126 virtual Addr calcConfigAddr(int bus, int dev, int func);
123 Addr
124 calcPciConfigAddr(int bus, int dev, int func)
125 {
126 panic("Need implementation\n");
127 M5_DUMMY_RETURN
128 }
127
129
130 Addr
131 calcPciIOAddr(Addr addr)
132 {
133 panic("Need implementation\n");
134 M5_DUMMY_RETURN
135 }
136
137 Addr
138 calcPciMemAddr(Addr addr)
139 {
140 panic("Need implementation\n");
141 M5_DUMMY_RETURN
142 }
143
128 /**
129 * Serialize this object to the given output stream.
130 * @param os The stream to serialize to.
131 */
132 virtual void serialize(std::ostream &os);
133
134 /**
135 * Reconstruct the state of this object from a checkpoint.
136 * @param cp The checkpoint use.
137 * @param section The section name of this object
138 */
139 virtual void unserialize(Checkpoint *cp, const std::string &section);
140};
141
142#endif // __DEV_MALTA_HH__
144 /**
145 * Serialize this object to the given output stream.
146 * @param os The stream to serialize to.
147 */
148 virtual void serialize(std::ostream &os);
149
150 /**
151 * Reconstruct the state of this object from a checkpoint.
152 * @param cp The checkpoint use.
153 * @param section The section name of this object
154 */
155 virtual void unserialize(Checkpoint *cp, const std::string &section);
156};
157
158#endif // __DEV_MALTA_HH__