sparc64
[Scheduling]


Files

file  task.h
file  thread.h
file  scheduler.c

Data Structures

struct  task_arch_t
struct  thread_arch_t

Defines

#define task_create_arch(t)
#define task_destroy_arch(t)
#define thread_create_arch(t)

Functions

void before_task_runs_arch (void)
void before_thread_runs_arch (void)
void after_thread_ran_arch (void)

Define Documentation

#define task_create_arch  ) 
 

Definition at line 41 of file task.h.

Referenced by task_create().

#define task_destroy_arch  ) 
 

Definition at line 42 of file task.h.

Referenced by task_destroy().

#define thread_create_arch  ) 
 

Definition at line 41 of file thread.h.

Referenced by thread_create().


Function Documentation

void after_thread_ran_arch void   ) 
 

Unlock thread's stack from TLB, if necessary.

Definition at line 67 of file scheduler.c.

References ALIGN_DOWN, config_t::base, config, dtlb_demap(), KERNEL_PAGE_WIDTH, THREAD, TLB_DEMAP_NUCLEUS, and TLB_DEMAP_PAGE.

Referenced by after_thread_ran().

Here is the call graph for this function:

void before_task_runs_arch void   ) 
 

Perform sparc64 specific tasks needed before the new task is run.

Definition at line 44 of file scheduler.c.

Referenced by before_task_runs().

void before_thread_runs_arch void   ) 
 

Ensure that thread's kernel stack is locked in TLB.

Definition at line 49 of file scheduler.c.

References ALIGN_DOWN, config_t::base, config, dtlb_demap(), dtlb_insert_mapping(), KERNEL_PAGE_WIDTH, PAGESIZE_8K, THREAD, TLB_DEMAP_NUCLEUS, and TLB_DEMAP_PAGE.

Referenced by before_thread_runs().

Here is the call graph for this function:


Generated on Sun Jun 18 17:42:32 2006 for HelenOS Kernel (sparc64) by  doxygen 1.4.6