xbar.hh (12778:ca8c50112a66) | xbar.hh (12780:14937f6495b4) |
---|---|
1/* | 1/* |
2 * Copyright (c) 2011-2015 ARM Limited | 2 * Copyright (c) 2011-2015, 2018 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 9 * licensed hereunder. You may use the software subject to the license 10 * terms below provided that you ensure that this notice is replicated --- 326 unchanged lines hidden (view full) --- 337 /** 338 * Function called by the port when the crossbar is recieving a 339 * range change. 340 * 341 * @param master_port_id id of the port that received the change 342 */ 343 virtual void recvRangeChange(PortID master_port_id); 344 | 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 9 * licensed hereunder. You may use the software subject to the license 10 * terms below provided that you ensure that this notice is replicated --- 326 unchanged lines hidden (view full) --- 337 /** 338 * Function called by the port when the crossbar is recieving a 339 * range change. 340 * 341 * @param master_port_id id of the port that received the change 342 */ 343 virtual void recvRangeChange(PortID master_port_id); 344 |
345 /** Find which port connected to this crossbar (if any) should be 346 * given a packet with this address. | 345 /** 346 * Find which port connected to this crossbar (if any) should be 347 * given a packet with this address range. |
347 * | 348 * |
348 * @param addr Address to find port for. | 349 * @param addr_range Address range to find port for. |
349 * @return id of port that the packet should be sent out of. 350 */ | 350 * @return id of port that the packet should be sent out of. 351 */ |
351 PortID findPort(Addr addr); | 352 PortID findPort(AddrRange addr_range); |
352 353 /** 354 * Return the address ranges the crossbar is responsible for. 355 * 356 * @return a list of non-overlapping address ranges 357 */ 358 AddrRangeList getAddrRanges() const; 359 --- 65 unchanged lines hidden --- | 353 354 /** 355 * Return the address ranges the crossbar is responsible for. 356 * 357 * @return a list of non-overlapping address ranges 358 */ 359 AddrRangeList getAddrRanges() const; 360 --- 65 unchanged lines hidden --- |