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

Implement ioports in Resource #67

Open
2 tasks
wangrunji0408 opened this issue Jun 19, 2020 · 0 comments
Open
2 tasks

Implement ioports in Resource #67

wangrunji0408 opened this issue Jun 19, 2020 · 0 comments
Labels
easy enhancement New feature or request

Comments

@wangrunji0408
Copy link
Member

Control the permission to access IO ports from user mode.
We need to maintain IO port bitmap in TSS for each process.

Currently this function is unimplemented, we just set EFLAGS.IOPL to 3 to allow access to all IO ports.

Implement 2 syscalls:

  • zx_ioports_release
  • zx_ioports_request

Reference:

@wangrunji0408 wangrunji0408 added enhancement New feature or request easy labels Jun 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant