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 sidt support #246

Merged
merged 1 commit into from
Apr 27, 2021
Merged

Add sidt support #246

merged 1 commit into from
Apr 27, 2021

Conversation

CraftSpider
Copy link
Contributor

Adds a function for getting the current IDT descriptor value. Motivation is largely that being able to get this value can be handy while debugging IDT-related faults.
I'm not 100% on whether the function is safe, but from the instructions description is seems safe to call, as at worst it can fault but it won't touch memory not at the location passed.

@phil-opp
Copy link
Member

Thanks!

@phil-opp phil-opp merged commit 465df1d into rust-osdev:master Apr 27, 2021
phil-opp added a commit that referenced this pull request Apr 27, 2021
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