tsunami_pchip.cc (3540:87e83423cb36) | tsunami_pchip.cc (3846:a0fe3210ce53) |
---|---|
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; --- 39 unchanged lines hidden (view full) --- 48 49using namespace std; 50//Should this be AlphaISA? 51using namespace TheISA; 52 53TsunamiPChip::TsunamiPChip(Params *p) 54: BasicPioDevice(p) 55{ | 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; --- 39 unchanged lines hidden (view full) --- 48 49using namespace std; 50//Should this be AlphaISA? 51using namespace TheISA; 52 53TsunamiPChip::TsunamiPChip(Params *p) 54: BasicPioDevice(p) 55{ |
56 pioSize = 0xfff; | 56 pioSize = 0x1000; |
57 58 for (int i = 0; i < 4; i++) { 59 wsba[i] = 0; 60 wsm[i] = 0; 61 tba[i] = 0; 62 } 63 64 // initialize pchip control register --- 305 unchanged lines hidden --- | 57 58 for (int i = 0; i < 4; i++) { 59 wsba[i] = 0; 60 wsm[i] = 0; 61 tba[i] = 0; 62 } 63 64 // initialize pchip control register --- 305 unchanged lines hidden --- |