RubyPort.cc (9662:59a7df953d5e) RubyPort.cc (9814:7ad2b0186a32)
1/*
2 * Copyright (c) 2012 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

471}
472
473bool
474RubyPort::M5Port::isPhysMemAddress(Addr addr)
475{
476 return ruby_port->system->isMemAddr(addr);
477}
478
1/*
2 * Copyright (c) 2012 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

471}
472
473bool
474RubyPort::M5Port::isPhysMemAddress(Addr addr)
475{
476 return ruby_port->system->isMemAddr(addr);
477}
478
479unsigned
480RubyPort::M5Port::deviceBlockSize() const
481{
482 return (unsigned) RubySystem::getBlockSizeBytes();
483}
484
485void
486RubyPort::ruby_eviction_callback(const Address& address)
487{
488 DPRINTF(RubyPort, "Sending invalidations.\n");
489 // This request is deleted in the stack-allocated packet destructor
490 // when this function exits
491 // TODO: should this really be using funcMasterId?
492 RequestPtr req =

--- 12 unchanged lines hidden ---
479void
480RubyPort::ruby_eviction_callback(const Address& address)
481{
482 DPRINTF(RubyPort, "Sending invalidations.\n");
483 // This request is deleted in the stack-allocated packet destructor
484 // when this function exits
485 // TODO: should this really be using funcMasterId?
486 RequestPtr req =

--- 12 unchanged lines hidden ---