Update contrib.
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // e32\include\nkernsmp\x86\ncern.h
16 // WARNING: This file contains some APIs which are internal and are subject
17 // to change without notice. Such APIs should therefore not be used
18 // outside the Kernel and Hardware Services package.
31 /** Information needed to boot an AP (x86 specific)
35 struct SX86APBootInfo : public SAPBootInfo
39 /** Timer frequency specification
41 Stores a frequency as a fraction of a (separately stored) maximum.
42 The frequency must be at least 1/256 of the maximum.
49 TUint32 iFreq; // frequency as a fraction of maximum possible, multiplied by 2^32
50 TUint32 iInverse; // 2^24/(iFreq/2^32) = 2^56/iFreq
53 /** Variant interface block
57 struct SVariantInterfaceBlock : public SInterfaceBlockBase
59 TUint64 iMaxCpuClock; // maximum possible CPU clock frequency on this system
60 TUint32 iTimestampFreq; // rate at which timestamp increments
61 TUint32 iMaxTimerClock; // maximum possible local timer clock frequency
62 volatile STimerMult* iTimerMult[KMaxCpus]; // timer[i] frequency as a fraction of iMaxTimerClock
63 volatile TUint32* iCpuMult[KMaxCpus]; // CPU[i] frequency / iMaxCpuClock * 2^32