arm/processor.resource: move code to arm-native
[AROS.git] / arch / arm-native / processor / processor_frequency.c
blob4dc56942939040d85193502862e5bff9a745657d
1 /*
2 Copyright © 2013, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #define DEBUG 0
8 #include <aros/config.h>
9 #include <aros/debug.h>
10 #include <proto/exec.h>
11 #include <resources/processor.h>
13 #include "processor_arch_intern.h"
15 VOID ReadMaxFrequencyInformation(struct ARMProcessorInformation * info)
17 D(bug("[processor.ARM] :%s()\n", __PRETTY_FUNCTION__));
19 info->MaxCPUFrequency = 0;
22 UQUAD GetCurrentProcessorFrequency(struct ARMProcessorInformation * info)
24 UQUAD retFreq = info->MaxCPUFrequency;
26 D(bug("[processor.ARM] :%s()\n", __PRETTY_FUNCTION__));
28 return retFreq;