Changes in kernel/generic/include/cpu.h [daadfa6:f3dbe27] in mainline
- File:
-
- 1 edited
-
kernel/generic/include/cpu.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/cpu.h
rdaadfa6 rf3dbe27 51 51 */ 52 52 typedef struct cpu { 53 IRQ_SPINLOCK_DECLARE( lock);53 IRQ_SPINLOCK_DECLARE(tlb_lock); 54 54 55 55 tlb_shootdown_msg_t tlb_messages[TLB_MESSAGE_QUEUE_LEN]; … … 81 81 bool idle; 82 82 uint64_t last_cycle; 83 uint64_t idle_cycles;84 uint64_t busy_cycles;83 atomic_time_stat_t idle_cycles; 84 atomic_time_stat_t busy_cycles; 85 85 86 86 /** … … 97 97 cpu_arch_t arch; 98 98 99 struct thread *fpu_owner; 99 #ifdef CONFIG_FPU_LAZY 100 /* For synchronization between FPU trap and thread destructor. */ 101 IRQ_SPINLOCK_DECLARE(fpu_lock); 102 #endif 103 _Atomic(struct thread *) fpu_owner; 100 104 101 105 /**
Note:
See TracChangeset
for help on using the changeset viewer.
