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

Fix kernel pointer offset used by SYSCALL instruction #90

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

phaubertin
Copy link
Owner

@phaubertin phaubertin commented Nov 21, 2024

This PR fixes an issue introduced by #83 where the trap code for system calls that use the SYSCALL instruction do not use the correct offset in the per-CPU data structure when it retrieves the kernel stack pointer. This was caused by a change to the percpu_t structure that wasn't reflected in the offset the assembly language code uses.

@phaubertin phaubertin marked this pull request as ready for review November 21, 2024 05:54
@phaubertin phaubertin merged commit ae359e8 into main Nov 21, 2024
2 checks passed
@phaubertin phaubertin deleted the fix_syscall_stack_location branch November 21, 2024 05:54
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.

1 participant