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

add inter-vm conmmunication on hvisor #153

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

HeartLinked
Copy link

Add inter-vm conmmunication on hvisor.

@HeartLinked HeartLinked requested a review from ken4647 December 5, 2024 04:52
Copy link
Contributor

@ken4647 ken4647 left a comment

Choose a reason for hiding this comment

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

Looks good

modules/ruxhal/src/platform/aarch64_common/ivc.rs Outdated Show resolved Hide resolved
modules/ruxhal/src/platform/aarch64_common/ivc.rs Outdated Show resolved Hide resolved
modules/ruxhal/src/platform/aarch64_common/ivc.rs Outdated Show resolved Hide resolved
modules/ruxhal/src/platform/aarch64_common/ivc.rs Outdated Show resolved Hide resolved
modules/ruxhal/src/platform/aarch64_common/ivc.rs Outdated Show resolved Hide resolved
modules/ruxhal/src/platform/aarch64_common/ivc.rs Outdated Show resolved Hide resolved
modules/ruxhal/src/platform/aarch64_common/ivc.rs Outdated Show resolved Hide resolved
@ken4647
Copy link
Contributor

ken4647 commented Dec 5, 2024

Another question is that the implementation of the Connection struct in modules/ruxhal/src/platform/aarch64_common/ivc.rs in this PR seems irrelevant to the CPU architecture. Why not move it out of the platform directory?

@HeartLinked HeartLinked force-pushed the dev branch 2 times, most recently from d4d30af to b42108b Compare December 7, 2024 15:15
info!("Message written to shared memory: {}", message);

// Get a mutable reference to ControlTable to modify ipi_invoke
let control_table = unsafe { control_table_ptr.as_mut() };
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this API support parallel execution? Is the implementation thread-safe?

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.

2 participants