Public Member Functions | |
| SPINLOCK_DECLARE (lock) | |
| SPINLOCK_DECLARE (timeoutlock) | |
Data Fields | |
| tlb_shootdown_msg_t | tlb_messages [TLB_MESSAGE_QUEUE_LEN] | 
| count_t | tlb_messages_count | 
| context_t | saved_context | 
| atomic_t | nrdy | 
| runq_t | rq [RQ_COUNT] | 
| volatile count_t | needs_relink | 
| link_t | timeout_active_head | 
| count_t | missed_clock_ticks | 
| int | id | 
| int | active | 
| int | tlb_active | 
| __u16 | frequency_mhz | 
| __u32 | delay_loop_const | 
| cpu_arch_t | arch | 
| thread_t * | fpu_owner | 
| __u8 * | stack | 
There is one structure like this for every processor.
Definition at line 55 of file cpu.h.
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
 Definition at line 86 of file cpu.h. Referenced by cpu_print_report().  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
 Definition at line 88 of file cpu.h. Referenced by thread_destroy().  | 
  
      
  | 
  
| 
 
 Definition at line 83 of file cpu.h. Referenced by cpu_print_report().  | 
  
      
  | 
  
| 
 Processor ID assigned by kernel. Definition at line 78 of file cpu.h. Referenced by cpu_print_report().  | 
  
      
  | 
  
| 
 When system clock loses a tick, it is recorded here so that clock() can react. This variable is CPU-local and can be only accessed when interrupts are disabled.  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
 Definition at line 63 of file cpu.h. Referenced by kcpulb(), and thread_ready().  | 
  
      
  | 
  
| 
 
 Definition at line 64 of file cpu.h. Referenced by kcpulb(), and thread_ready().  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 Stack used by scheduler when there is no running thread.  | 
  
      
  | 
  
| 
 
 Definition at line 68 of file cpu.h. Referenced by timeout_unregister().  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
 1.4.6