physical.cc (4470:9ab7a98dae90) | physical.cc (4475:fb185cc1c845) |
---|---|
1/* 2 * Copyright (c) 2001-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; --- 371 unchanged lines hidden (view full) --- 380void 381PhysicalMemory::MemoryPort::recvStatusChange(Port::Status status) 382{ 383 memory->recvStatusChange(status); 384} 385 386void 387PhysicalMemory::MemoryPort::getDeviceAddressRanges(AddrRangeList &resp, | 1/* 2 * Copyright (c) 2001-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; --- 371 unchanged lines hidden (view full) --- 380void 381PhysicalMemory::MemoryPort::recvStatusChange(Port::Status status) 382{ 383 memory->recvStatusChange(status); 384} 385 386void 387PhysicalMemory::MemoryPort::getDeviceAddressRanges(AddrRangeList &resp, |
388 AddrRangeList &snoop) | 388 bool &snoop) |
389{ 390 memory->getAddressRanges(resp, snoop); 391} 392 393void | 389{ 390 memory->getAddressRanges(resp, snoop); 391} 392 393void |
394PhysicalMemory::getAddressRanges(AddrRangeList &resp, AddrRangeList &snoop) | 394PhysicalMemory::getAddressRanges(AddrRangeList &resp, bool &snoop) |
395{ | 395{ |
396 snoop.clear(); | 396 snoop = false; |
397 resp.clear(); | 397 resp.clear(); |
398 resp.push_back(RangeSize(start(), 399 params()->addrRange.size())); | 398 resp.push_back(RangeSize(start(), params()->addrRange.size())); |
400} 401 402int 403PhysicalMemory::MemoryPort::deviceBlockSize() 404{ 405 return memory->deviceBlockSize(); 406} 407 --- 182 unchanged lines hidden --- | 399} 400 401int 402PhysicalMemory::MemoryPort::deviceBlockSize() 403{ 404 return memory->deviceBlockSize(); 405} 406 --- 182 unchanged lines hidden --- |