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

Use TSC_DEADLINE for single-stepping #87

Open
jovanbulck opened this issue Sep 17, 2024 · 0 comments
Open

Use TSC_DEADLINE for single-stepping #87

jovanbulck opened this issue Sep 17, 2024 · 0 comments

Comments

@jovanbulck
Copy link
Owner

Now that x2apic is supported (#72) and libsgxstep has privileged IRQ gates for rdmsr/wrmsr, we should consider using the finer-grained IA32_TSC_DEADLINE MSR for scheduling single-stepping timer interrupts.

The underlying APIC may still use the slower bus frequency to trigger the interrupt, but at least it may be more natural to express the interval in TSC cycles instead of external bus cycles.

Would prob be best to also finally implement this together with #2 .

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

No branches or pull requests

1 participant