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

Apply bidirectional queue design to the input system #62

Merged
merged 1 commit into from
Oct 2, 2022

Conversation

alanjian85
Copy link
Collaborator

This commit splits the input system into two parts, event and submission, and introduces two system calls, setup_queue and submit, the former is used to assist in the creation of queues, which is part of the communication bridge between the user application code and the emulator, and the latter is used to notify the emulator that a submission (or a command) should be processed. The design of these system calls is heavily based on Linux io_uring interface.

@alanjian85 alanjian85 force-pushed the master branch 3 times, most recently from becd6c7 to 4f4b29a Compare September 29, 2022 09:26
Copy link
Contributor

@jserv jserv left a comment

Choose a reason for hiding this comment

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

Check memory allocation.

@alanjian85 alanjian85 force-pushed the master branch 3 times, most recently from 7f07cec to 22ff138 Compare October 2, 2022 02:18
@lgtm-com
Copy link

lgtm-com bot commented Oct 2, 2022

This pull request introduces 1 alert when merging 22ff138 into 93952a1 - view on LGTM.com

new alerts:

  • 1 for FIXME comment

@lgtm-com
Copy link

lgtm-com bot commented Oct 2, 2022

This pull request introduces 1 alert when merging 084c700 into 93952a1 - view on LGTM.com

new alerts:

  • 1 for FIXME comment

This commit splits the input system into two parts, event and submission, and
introduces two system calls, setup_queue and submit, the former is used to
assist in the creation of queues, which is part of the communication bridge
between the user application code and the emulator, and the latter is used to
notify the emulator that a submission (or a command) should be processed. The
design of these system calls is heavily based on Linux io_uring interface.
@jserv jserv merged commit 3517f01 into sysprog21:master Oct 2, 2022
@jserv
Copy link
Contributor

jserv commented Oct 2, 2022

Thank @alanjian85 for contributing!

@lgtm-com
Copy link

lgtm-com bot commented Oct 2, 2022

This pull request introduces 1 alert when merging db8620e into 93952a1 - view on LGTM.com

new alerts:

  • 1 for FIXME comment

vestata pushed a commit to vestata/rv32emu that referenced this pull request Jan 24, 2025
Apply bidirectional queue design to the input system
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