allocate enough storage for the page table! move cache invalidating and page table...
[AROS.git] / arch / arm-raspi / processor / processor_arch_intern.h
blob245da1abc47e259539039ff72c0ed27f6eb89e28
1 /*
2 Copyright © 2013, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef PROCESSOR_ARCH_INTERN_H
7 #define PROCESSOR_ARCH_INTERN_H
9 #include <exec/types.h>
11 struct ARMProcessorInformation
13 TEXT VendorID[13]; /* 12 + \0 */
14 ULONG Vendor;
15 TEXT BrandStringBuffer[48];
16 STRPTR BrandString;
17 ULONG Family;
18 ULONG Model;
19 ULONG VectorUnit;
20 ULONG Features1;
22 /* Processor cache */
23 ULONG L1DataCacheSize;
24 ULONG L1InstructionCacheSize;
25 ULONG L2CacheSize;
26 ULONG CacheLineSize; /* Min. of L1, L2 */
29 /* Frequency information */
30 UQUAD MaxCPUFrequency;
33 VOID ReadProcessorInformation(struct ARMProcessorInformation * info);
34 VOID ReadMaxFrequencyInformation(struct ARMProcessorInformation * info);
35 UQUAD GetCurrentProcessorFrequency(struct ARMProcessorInformation * info);
37 /* Flags */
38 #define FEATB_FPU 0
40 #define FEATF_FPU (1 << FEATB_FPU)
43 #endif /* PROCESSOR_ARCH_INTERN_H */