Pass kernel return alongside attributes writeback #552
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/nac3#552
Loading…
Reference in New Issue
No description provided.
Delete Branch "occheung/nac3:kern-return"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR detects the return type of the kernel, and passes the return value back to the host as the first argument of the attributes writeback RPC after completion. The
main
module andattributes_writeback
modules are generated as one to pass the return value between them.The embedding map is informed by setting the
has_return
flag during compilation.Passes ARTIQ
test_annotation
test after adjusting service 0 handling in ARTIQ.Closes #101
Can you send a PR for that?
Is it forward/backward compatible?