Files | |
file | task.h |
file | thread.h |
file | scheduler.c |
file | task.c |
file | thread.c |
Data Structures | |
struct | task_arch_t |
struct | thread_arch_t |
Functions | |
void | before_task_runs_arch (void) |
void | before_thread_runs_arch (void) |
void | after_thread_ran_arch (void) |
void | task_create_arch (task_t *t) |
void | task_destroy_arch (task_t *t) |
void | thread_create_arch (thread_t *t) |
|
Definition at line 79 of file scheduler.c. Referenced by after_thread_ran(). |
|
Perform amd64 specific tasks needed before the new task is run. Interrupts are disabled. Definition at line 51 of file scheduler.c. References io_perm_bitmap_install(). Referenced by before_task_runs(). Here is the call graph for this function: ![]() |
|
Perform amd64 specific tasks needed before the new thread is scheduled. Definition at line 57 of file scheduler.c. References AMD_MSR_FS, AMD_MSR_GS, BKPOINT_CHECK_ZERO, BKPOINT_WRITE, BKPOINTS_MAX, breakpoint_add(), CPU, SP_DELTA, swapgs(), THREAD, THREAD_STACK_SIZE, and write_msr(). Referenced by before_thread_runs(). Here is the call graph for this function: ![]() |
|
Perform amd64 specific task initialization.
Definition at line 43 of file task.c. References task::arch, bitmap_initialize(), task_arch_t::iomap, task_arch_t::iomapver, and NULL. Referenced by task_create(). Here is the call graph for this function: ![]() |
|
Perform amd64 specific task destruction.
Definition at line 53 of file task.c. References task::arch, free(), task_arch_t::iomap, and bitmap_t::map. Referenced by task_destroy(). Here is the call graph for this function: ![]() |
|
Perform amd64 specific thread initialization.
Definition at line 41 of file thread.c. References thread::arch, and thread_arch_t::tls. Referenced by thread_create(). |