/* * Copyright 2004-2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved. * Distributed under the terms of the MIT License. * * calculate_cpu_conversion_factor() was written by Travis Geiselbrecht and * licensed under the NewOS license. */ #include "cpu.h" #include #include #include #include #include #include #include #include #include //#define TRACE_CPU #ifdef TRACE_CPU # define TRACE(x) dprintf x #else # define TRACE(x) ; #endif //uint32 gTimeConversionFactor; static void calculate_cpu_conversion_factor() { #warning ARM:TODO! } static status_t check_cpu_features() { #warning ARM:TODO! return B_OK; } // #pragma mark - extern "C" void spin(bigtime_t microseconds) { for(bigtime_t i=0;i