amd64
[Scheduling]


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)

Function Documentation

void after_thread_ran_arch void   ) 
 

Definition at line 79 of file scheduler.c.

Referenced by after_thread_ran().

void before_task_runs_arch void   ) 
 

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:

void before_thread_runs_arch void   ) 
 

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:

void task_create_arch task_t t  ) 
 

Perform amd64 specific task initialization.

Parameters:
t Task to be initialized.

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:

void task_destroy_arch task_t t  ) 
 

Perform amd64 specific task destruction.

Parameters:
t Task to be initialized.

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:

void thread_create_arch thread_t t  ) 
 

Perform amd64 specific thread initialization.

Parameters:
t Thread to be initialized.

Definition at line 41 of file thread.c.

References thread::arch, and thread_arch_t::tls.

Referenced by thread_create().


Generated on Sun Jun 18 16:32:53 2006 for HelenOS Kernel (amd64) by  doxygen 1.4.6