Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/cpu/cpu.c

    rda1bafb rd0c82c5  
    4949#include <print.h>
    5050#include <sysinfo/sysinfo.h>
     51#include <arch/cycle.h>
    5152
    5253cpu_t *cpus;
     
    9495        CPU->tlb_active = true;
    9596       
     97        CPU->idle = false;
     98        CPU->last_cycle = get_cycle();
     99        CPU->idle_cycles = 0;
     100        CPU->busy_cycles = 0;
     101       
    96102        cpu_identify();
    97103        cpu_arch_init();
Note: See TracChangeset for help on using the changeset viewer.