Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Improve simple pointer protocol state query #43

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

Merged
HadrienG2 merged 2 commits into rust-osdev:master from HadrienG2:fix-pointer-test
Sep 25, 2018
Merged

Improve simple pointer protocol state query #43

HadrienG2 merged 2 commits into rust-osdev:master from HadrienG2:fix-pointer-test
Sep 25, 2018

Conversation

Copy link
Contributor

@HadrienG2 HadrienG2 commented Sep 25, 2018

The associated test used to print an error on every run because the Status::NotReady output was incorrectly interpreted as an error. In the context of this function, it means that the pointer state has not changed since the last query, which is normal.

Since this output is not really an error, I think it is better modeled by returning an optional pointer status, so I changed that in simple pointer protocol interface.

GabrielMajeri reacted with thumbs up emoji
@HadrienG2 HadrienG2 merged commit 6e7ad0b into rust-osdev:master Sep 25, 2018
@HadrienG2 HadrienG2 deleted the fix-pointer-test branch September 25, 2018 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /