Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

teqdruid
Copy link
Contributor

@teqdruid teqdruid commented Aug 2, 2025

Locating client ports was broken in the case of the MMIO service being not at the top level.

Locating client ports was broken in the case of the MMIO service being
not at the top level.
@teqdruid teqdruid requested a review from Copilot August 2, 2025 01:18
@teqdruid teqdruid added the ESI label Aug 2, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes an issue with MMIO (Memory-Mapped I/O) service functionality when it's not located at the top level of the hierarchy. The fix ensures that client ports are properly located by accounting for relative paths in nested service scenarios.

  • Updates MMIO constructor to accept an AppIDPath parameter for proper path context
  • Adds a parent() method to AppIDPath for hierarchical path operations
  • Fixes path resolution by computing absolute paths from relative client paths

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
Xrt.cpp Updates XrtMMIO constructor to pass AppIDPath parameter
Trace.cpp Updates TraceMMIO constructor to pass AppIDPath parameter
Cosim.cpp Updates CosimMMIO constructor to pass AppIDPath parameter
Services.cpp Modifies MMIO constructor to compute absolute paths from relative client paths
Services.h Updates MMIO constructor signature to include AppIDPath parameter
Common.h Adds parent() method declaration and makes operator+ const

@teqdruid teqdruid merged commit c6850c0 into main Aug 2, 2025
7 checks passed
@teqdruid teqdruid deleted the teqdruid/mmio-svc-fixpath branch August 2, 2025 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant