cpu.cc (6739:48d10ba361c9) cpu.cc (7725:00ea9430643b)
1/*
2 * Copyright (c) 2006 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;

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

129{
130/*
131 BaseCPU::unserialize(cp, section);
132 UNSERIALIZE_SCALAR(inst);
133 thread->unserialize(cp, csprintf("%s.xc", section));
134*/
135}
136
1/*
2 * Copyright (c) 2006 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;

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

129{
130/*
131 BaseCPU::unserialize(cp, section);
132 UNSERIALIZE_SCALAR(inst);
133 thread->unserialize(cp, csprintf("%s.xc", section));
134*/
135}
136
137Fault
138CheckerCPU::copySrcTranslate(Addr src)
139{
140 panic("Unimplemented!");
141}
142
143Fault
144CheckerCPU::copy(Addr dest)
145{
146 panic("Unimplemented!");
147}
148
149template <class T>
150Fault
151CheckerCPU::read(Addr addr, T &data, unsigned flags)
152{
153 // need to fill in CPU & thread IDs here
154 memReq = new Request();
155
156 memReq->setVirt(0, addr, sizeof(T), flags, thread->readPC());

--- 188 unchanged lines hidden ---
137template <class T>
138Fault
139CheckerCPU::read(Addr addr, T &data, unsigned flags)
140{
141 // need to fill in CPU & thread IDs here
142 memReq = new Request();
143
144 memReq->setVirt(0, addr, sizeof(T), flags, thread->readPC());

--- 188 unchanged lines hidden ---