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

AArch64: use a software-generated interrupt (SGI)to reschedule the system #765

Merged
merged 2 commits into from
Jun 20, 2023

Conversation

stlankes
Copy link
Contributor

@stlankes stlankes commented Jun 15, 2023

On aarch64, an SGI is used to reschedule the system. However, this requires changes to schedule interface. Beside the interrupt handlers, the function schedule should not be called directly. Please use always reschedule to call the scheduler.

@stlankes stlankes requested a review from mkroening June 15, 2023 14:10
@mkroening mkroening force-pushed the aarch64 branch 3 times, most recently from 51ef3d0 to 2350c5b Compare June 20, 2023 12:38
@mkroening mkroening changed the title using a software-generated interrupt (SGI)to reschedule the system AArch64: use a software-generated interrupt (SGI)to reschedule the system Jun 20, 2023
stlankes and others added 2 commits June 20, 2023 14:44
…stem

On aarch64, an SGI is used to reschedule the system. However,
this requires changes to schedule interface. The function `schedule`
should not be called directly. Please use always `reschedule` to
call the scheduler.
@mkroening mkroening force-pushed the aarch64 branch 4 times, most recently from b1e5a33 to c7c5083 Compare June 20, 2023 13:58
@mkroening mkroening enabled auto-merge June 20, 2023 13:58
Copy link
Member

@mkroening mkroening left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍

@mkroening mkroening added this pull request to the merge queue Jun 20, 2023
Merged via the queue into hermit-os:master with commit bfb4550 Jun 20, 2023
@mkroening mkroening deleted the aarch64 branch April 23, 2024 12:13
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