Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/cpu.h

    r9d58539 r84b8936d  
    3838#include <mm/tlb.h>
    3939#include <synch/spinlock.h>
     40#include <synch/rcu_types.h>
    4041#include <proc/scheduler.h>
    4142#include <arch/cpu.h>
    4243#include <arch/context.h>
     44#include <adt/list.h>
     45#include <arch.h>
     46
     47#define CPU                  THE->cpu
     48
    4349
    4450/** CPU structure.
     
    8490       
    8591        bool active;
    86         bool tlb_active;
     92        volatile bool tlb_active;
    8793       
    8894        uint16_t frequency_mhz;
     
    9298       
    9399        struct thread *fpu_owner;
     100       
     101        /**
     102         * SMP calls to invoke on this CPU.
     103         */
     104        SPINLOCK_DECLARE(smp_calls_lock);
     105        list_t smp_pending_calls;
     106       
     107        /** RCU per-cpu data. Uses own locking. */
     108        rcu_cpu_data_t rcu;
    94109       
    95110        /**
Note: See TracChangeset for help on using the changeset viewer.