iob.cc (8232:b28d06a175be) iob.cc (8711:c7e14f52c682)
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;

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

320 jIntBusy[cpu_id].source = source;
321 jBusData0[cpu_id] = d0;
322 jBusData1[cpu_id] = d1;
323
324 ic->post(cpu_id, SparcISA::IT_INT_VEC, jIntVec);
325 return true;
326}
327
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;

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

320 jIntBusy[cpu_id].source = source;
321 jBusData0[cpu_id] = d0;
322 jBusData1[cpu_id] = d1;
323
324 ic->post(cpu_id, SparcISA::IT_INT_VEC, jIntVec);
325 return true;
326}
327
328void
329Iob::addressRanges(AddrRangeList &range_list)
328AddrRangeList
329Iob::getAddrRanges()
330{
330{
331 range_list.clear();
332 range_list.push_back(RangeSize(iobManAddr, iobManSize));
333 range_list.push_back(RangeSize(iobJBusAddr, iobJBusSize));
331 AddrRangeList ranges;
332 ranges.push_back(RangeSize(iobManAddr, iobManSize));
333 ranges.push_back(RangeSize(iobJBusAddr, iobJBusSize));
334 return ranges;
334}
335
336
337void
338Iob::serialize(std::ostream &os)
339{
340
341 SERIALIZE_SCALAR(jIntVec);

--- 39 unchanged lines hidden ---
335}
336
337
338void
339Iob::serialize(std::ostream &os)
340{
341
342 SERIALIZE_SCALAR(jIntVec);

--- 39 unchanged lines hidden ---