tsunami.cc (8229:78bf55f23338) | tsunami.cc (8739:925f15f96322) |
---|---|
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; --- 38 unchanged lines hidden (view full) --- 47 48using namespace std; 49//Should this be AlphaISA? 50using namespace TheISA; 51 52Tsunami::Tsunami(const Params *p) 53 : Platform(p), system(p->system) 54{ | 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; --- 38 unchanged lines hidden (view full) --- 47 48using namespace std; 49//Should this be AlphaISA? 50using namespace TheISA; 51 52Tsunami::Tsunami(const Params *p) 53 : Platform(p), system(p->system) 54{ |
55#if FULL_SYSTEM //XXX No platform pointer in SE mode. |
|
55 // set the back pointer from the system to myself 56 system->platform = this; | 56 // set the back pointer from the system to myself 57 system->platform = this; |
58#endif |
|
57 58 for (int i = 0; i < Tsunami::Max_CPUs; i++) 59 intr_sum_type[i] = 0; 60} 61 62Tick 63Tsunami::intrFrequency() 64{ --- 69 unchanged lines hidden --- | 59 60 for (int i = 0; i < Tsunami::Max_CPUs; i++) 61 intr_sum_type[i] = 0; 62} 63 64Tick 65Tsunami::intrFrequency() 66{ --- 69 unchanged lines hidden --- |