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

some fixes for the #HV handler #466

Merged
merged 3 commits into from
Oct 15, 2024
Merged

Commits on Oct 2, 2024

  1. idt: delay initialization of HV_DOORBELL_ADDR

    The doorbell page is not yet setup by the time idt_init is called, so
    HV_DOORBELL_ADDR was always initialized to 0. Instead setup
    HV_DOORBELL_ADDR immediatly after setting up the doorbell page.
    
    Signed-off-by: Tom Dohrmann <[email protected]>
    Freax13 committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    f816c49 View commit details
    Browse the repository at this point in the history
  2. idt: restore fall-through

    The code in the handle_as_hv block expects to be able to fall through
    to default_return. The introduction of return_new_task interrupted that
    flow. Move return_new_task to another location.
    
    Fixes: 853439e ("kernel/task: Implement hook to run in new tasks")
    Signed-off-by: Tom Dohrmann <[email protected]>
    Freax13 committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    7c472cd View commit details
    Browse the repository at this point in the history
  3. idt: fix some typos

    Just some typos I noticed while reading the comments.
    
    Signed-off-by: Tom Dohrmann <[email protected]>
    Freax13 committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    8f368f8 View commit details
    Browse the repository at this point in the history