os/kernelhwsrv/kernel/eka/nkernsmp/x86/ncglob.cpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 2006-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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // e32\nkernsmp\x86\ncglob.cpp
    15 // 
    16 //
    17 
    18 #include <x86.h>
    19 
    20 //
    21 extern "C" {
    22 TLinAddr X86_IrqHandler;
    23 SCpuIdleHandler CpuIdleHandler;
    24 TUint32 X86_CPUID;
    25 TBool X86_UseGlobalPTEs;
    26 TUint64 DefaultCoprocessorState[64];
    27 }
    28 
    29 TUint32 X86::DefaultCR0;
    30 
    31 TScheduler TheScheduler;
    32 TSubScheduler TheSubSchedulers[KMaxCpus];
    33 extern "C" {
    34 TSubScheduler* SubSchedulerLookupTable[256];
    35 
    36 SVariantInterfaceBlock* VIB;
    37 }
    38 
    39 #ifdef __USE_BTRACE_LOCK__
    40 TSpinLock BTraceLock(TSpinLock::EOrderBTrace);
    41 #endif
    42 
    43 SBTraceData BTraceData = { {0}, 0, 0 };