Skip to content

dispatch a signal? #16

@github-actions

Description

@github-actions

// todo: dispatch a signal?


    cpu_status_t* new_cpu_state = &current_thread->cpu_state;
    if (new_cpu_state->cs == USER_CODE_SEGMENT)
    {
        // todo: dispatch a signal?
        klog("sched", "Should dispatch signal but not yet implemented");
    }

    klog("sched", "new_cpu_state = %lp", new_cpu_state);
    dump_local_cpu(cpu);

    asm volatile(
        "movq %0, %%rsp\n"
        "popq %%rax\n"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions