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

[kernel] Calculate then reduce kernel temp startup stack size #1995

Merged
merged 1 commit into from
Sep 4, 2024
Merged

Conversation

ghaerr
Copy link
Owner

@ghaerr ghaerr commented Sep 4, 2024

The measured temp stack sized used was 86 bytes, so this PR lowers the 256 bytes to 128.

The DIV fault handler code is slightly reconfigured, as an asm("int $0") was used add an INT 0 execution during early kernel startup to maximize stack usage.

@ghaerr ghaerr merged commit d31dfdd into master Sep 4, 2024
2 checks passed
@ghaerr ghaerr deleted the tstack branch September 4, 2024 17:04
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