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

td-exception: fix interrupt handler condition #758

Conversation

gaojiaqi7
Copy link
Member

The compiler may perform a circular right shift, resulting in incorrect assembly code for interrupt vectors greater than 64. Unconditionally push an error code of 0 for interrupt vectors greater than 31, as the CPU does not save an error code for these interrupts.

The compiler may perform a circular right shift, resulting in incorrect
assembly code for interrupt vectors greater than 64. Unconditionally push
an error code of 0 for interrupt vectors greater than 31, as the CPU
does not save an error code for these interrupts.

Signed-off-by: Jiaqi Gao <[email protected]>
@jyao1 jyao1 merged commit eaacaf2 into confidential-containers:main Dec 26, 2024
23 checks passed
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