Deleted Added
sdiff udiff text old ( 9101:d39368c6f502 ) new ( 9814:7ad2b0186a32 )
full compact
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;

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

105 // and can safely be done at init() time even if the CPU is not
106 // connected, i.e. when restoring from a checkpoint and later
107 // switching the CPU in.
108 if (FullSystem) {
109 assert(physProxy == NULL);
110 // This cannot be done in the constructor as the thread state
111 // itself is created in the base cpu constructor and the
112 // getDataPort is a virtual function
113 physProxy = new PortProxy(baseCpu->getDataPort(),
114 baseCpu->cacheLineSize());
115
116 assert(virtProxy == NULL);
117 virtProxy = new FSTranslatingPortProxy(tc);
118 } else {
119 assert(proxy == NULL);
120 proxy = new SETranslatingPortProxy(baseCpu->getDataPort(),
121 process,
122 SETranslatingPortProxy::NextPage);

--- 40 unchanged lines hidden ---