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 the iretq function to the InterruptStackFrameValue struct. #431

Merged
merged 4 commits into from Aug 25, 2023

Conversation

NathanKolpa
Copy link
Contributor

I've added the iretq function that can be used to transition from a higher privilege level to a lower privilege level. This can be useful when implementing multitasking for example.

Copy link
Contributor

@Freax13 Freax13 left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution!

This looks good to me, I left some minor nits.

src/structures/idt.rs Outdated Show resolved Hide resolved
src/structures/idt.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@Freax13 Freax13 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 to me, thanks!

The semver check in CI is broken because rustdoc changed its output format yesterday, but I'm confident this change isn't a breaking change.

@Freax13 Freax13 merged commit 41a10bb into rust-osdev:master Aug 25, 2023
11 of 12 checks passed
@Freax13 Freax13 mentioned this pull request Sep 15, 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.

None yet

2 participants