Changeset dc5c303 in mainline for kernel/generic/include/cpu.h
- Timestamp:
- 2023-12-28T13:59:23Z (2 years ago)
- Children:
- 6b66de6b
- Parents:
- 42c2e65 (diff), f87ff8e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - git-author:
- boba-buba <120932204+boba-buba@…> (2023-12-28 13:59:23)
- git-committer:
- GitHub <noreply@…> (2023-12-28 13:59:23)
- File:
-
- 1 edited
-
kernel/generic/include/cpu.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/cpu.h
r42c2e65 rdc5c303 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.
