port.hh (9716:131cd1e24b70) | port.hh (9814:7ad2b0186a32) |
---|---|
1/* 2 * Copyright (c) 2011-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 --- 251 unchanged lines hidden (view full) --- 260 * requests (e.g. a cache connected to a bus) has to override this 261 * function. 262 * 263 * @return true if the port should be considered a snooper 264 */ 265 virtual bool isSnooping() const { return false; } 266 267 /** | 1/* 2 * Copyright (c) 2011-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 --- 251 unchanged lines hidden (view full) --- 260 * requests (e.g. a cache connected to a bus) has to override this 261 * function. 262 * 263 * @return true if the port should be considered a snooper 264 */ 265 virtual bool isSnooping() const { return false; } 266 267 /** |
268 * Called by a peer port in order to determine the block size of 269 * the owner of this port. 270 */ 271 virtual unsigned deviceBlockSize() const { return 0; } 272 273 /** Called by the associated device if it wishes to find out the blocksize 274 of the device on attached to the peer port. 275 */ 276 unsigned peerBlockSize() const; 277 278 /** | |
279 * Get the address ranges of the connected slave port. 280 */ 281 AddrRangeList getAddrRanges() const; 282 283 /** Inject a PrintReq for the given address to print the state of 284 * that address throughout the memory system. For debugging. 285 */ 286 void printAddr(Addr a); --- 114 unchanged lines hidden (view full) --- 401 /** 402 * Send a retry to the master port that previously attempted a 403 * sendTimingReq or sendTimingSnoopResp to this slave port and 404 * failed. 405 */ 406 void sendRetry(); 407 408 /** | 268 * Get the address ranges of the connected slave port. 269 */ 270 AddrRangeList getAddrRanges() const; 271 272 /** Inject a PrintReq for the given address to print the state of 273 * that address throughout the memory system. For debugging. 274 */ 275 void printAddr(Addr a); --- 114 unchanged lines hidden (view full) --- 390 /** 391 * Send a retry to the master port that previously attempted a 392 * sendTimingReq or sendTimingSnoopResp to this slave port and 393 * failed. 394 */ 395 void sendRetry(); 396 397 /** |
409 * Called by a peer port in order to determine the block size of 410 * the owner of this port. 411 */ 412 virtual unsigned deviceBlockSize() const { return 0; } 413 414 /** Called by the associated device if it wishes to find out the blocksize 415 of the device on attached to the peer port. 416 */ 417 unsigned peerBlockSize() const; 418 419 /** | |
420 * Find out if the peer master port is snooping or not. 421 * 422 * @return true if the peer master port is snooping 423 */ 424 bool isSnooping() const { return _masterPort->isSnooping(); } 425 426 /** 427 * Called by the owner to send a range change --- 59 unchanged lines hidden --- | 398 * Find out if the peer master port is snooping or not. 399 * 400 * @return true if the peer master port is snooping 401 */ 402 bool isSnooping() const { return _masterPort->isSnooping(); } 403 404 /** 405 * Called by the owner to send a range change --- 59 unchanged lines hidden --- |