Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples: dual_qemu_ivshmem: Print shmem address and size #23

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

gromero
Copy link
Contributor

@gromero gromero commented Oct 6, 2023

@uLipe @arnopo @tnmysh Hi. This is a trivial change that will help when testing the dual_qemu_ivshmem example with the remote side running on a cortex-m machine with the QEMU ivshmem-flat device (no PCI, WIP). Could you please review it?

Thank you,
Cheers

Prints the shared memory (shmem) address and size for ivshmem.

This information is useful in certain test scenarios, particularly when
the remote side needs to be aware of the shmem address on the other
side (host side).

Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org>
@arnopo arnopo requested review from arnopo, wmamills, tnmysh and uLipe October 6, 2023 14:52
Copy link
Collaborator

@uLipe uLipe left a comment

Choose a reason for hiding this comment

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

LGTM

@wmamills
Copy link
Collaborator

Printing the address is fine.

My question is about the colors. Does Zephyr already use colors in its logging?
I presume if you don't have a color terminal (like plain vt100 emulator), the vt100 is still smart enough to ignore the color?

@wmamills
Copy link
Collaborator

wmamills commented Oct 10, 2023

I tried a number of dumb terminal emulators and color schemes and its seems fine.
We can always take out the color is it proves to be an issue later.

Copy link
Collaborator

@wmamills wmamills left a comment

Choose a reason for hiding this comment

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

Approved

@arnopo arnopo merged commit ee57912 into OpenAMP:main Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants