1/*
2 * Copyright (c) 2004-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;
--- 266 unchanged lines hidden (view full) ---
275DefaultFetch<Impl>::setCPU(O3CPU *cpu_ptr)
276{
277 DPRINTF(Fetch, "Setting the CPU pointer.\n");
278 cpu = cpu_ptr;
279
280 // Name is finally available, so create the port.
281 icachePort = new IcachePort(this);
282
283#if USE_CHECKER
284 if (cpu->checker) {
285 cpu->checker->setIcachePort(icachePort);
286 }
287#endif
288
289 // Fetch needs to start fetching instructions at the very beginning,
290 // so it must start up in active state.
--- 1007 unchanged lines hidden ---
2 * Copyright (c) 2004-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;
--- 266 unchanged lines hidden (view full) ---
275DefaultFetch<Impl>::setCPU(O3CPU *cpu_ptr)
276{
277 DPRINTF(Fetch, "Setting the CPU pointer.\n");
278 cpu = cpu_ptr;
279
280 // Name is finally available, so create the port.
281 icachePort = new IcachePort(this);
282
283#if USE_CHECKER
284 if (cpu->checker) {
285 cpu->checker->setIcachePort(icachePort);
286 }
287#endif
288
289 // Fetch needs to start fetching instructions at the very beginning,
290 // so it must start up in active state.
--- 1007 unchanged lines hidden ---