thread_state.cc (8834:21e8d54ecf07) thread_state.cc (8850:ed91b534ed04)
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;

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

101void
102ThreadState::initMemProxies(ThreadContext *tc)
103{
104 // Note that this only refers to the port on the CPU side and can
105 // safely be done at init() time even if the CPU is not connected
106 // (i.e. due to restoring from a checkpoint and later switching
107 // in.
108 if (physProxy == NULL)
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;

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

101void
102ThreadState::initMemProxies(ThreadContext *tc)
103{
104 // Note that this only refers to the port on the CPU side and can
105 // safely be done at init() time even if the CPU is not connected
106 // (i.e. due to restoring from a checkpoint and later switching
107 // in.
108 if (physProxy == NULL)
109 physProxy = new PortProxy(*baseCpu->getPort("dcache_port"));
109 physProxy = new PortProxy(baseCpu->getDataPort());
110 if (virtProxy == NULL)
111 virtProxy = new FSTranslatingPortProxy(tc);
112}
113
114void
115ThreadState::profileClear()
116{
117 if (profile)

--- 23 unchanged lines hidden ---
110 if (virtProxy == NULL)
111 virtProxy = new FSTranslatingPortProxy(tc);
112}
113
114void
115ThreadState::profileClear()
116{
117 if (profile)

--- 23 unchanged lines hidden ---