=================================================================== RCS file: /cvs/funnyos/dev/cpu.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- funnyos/dev/cpu.c 2007/10/16 15:03:20 1.2 +++ funnyos/dev/cpu.c 2007/10/16 18:33:40 1.3 @@ -1,12 +1,11 @@ /* - * $Id: cpu.c,v 1.2 2007/10/16 14:03:20 init Exp $ + * $Id: cpu.c,v 1.3 2007/10/16 17:33:40 init Exp $ */ #include #include -#include #include -#include +#include int cpu_attach(struct device *, uint32_t, uint8_t); @@ -42,7 +41,7 @@ /* * Identify given CPU using cp15 (System Control Co-Processor) register 0 (ID) */ -// uint32_t rd; + uint32_t rd; /* store cp15 ID register into rd */ // __asm __volatile("mrc p15 0, %0, c0, c0, 0"