kernel/eka/nkernsmp/x86/ncglob.cpp
author Mark Wilcox <markw@symbian.org>
Tue, 25 May 2010 13:20:47 +0100
changeset 116 57eea1054f46
parent 0 a41df078684a
child 177 a232af6b0b1f
permissions -rw-r--r--
Use RVCT assembler for __crash() when running armcc with the --gnu option. Fix for bug 2742.

// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the License "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
// e32\nkernsmp\x86\ncglob.cpp
// 
//

#include <x86.h>

//
extern "C" {
TLinAddr X86_IrqHandler;
SCpuIdleHandler CpuIdleHandler;
TUint32 X86_CPUID;
TBool X86_UseGlobalPTEs;
TUint64 DefaultCoprocessorState[64];
}

TUint32 X86::DefaultCR0;

TScheduler TheScheduler;
TSubScheduler TheSubSchedulers[KMaxCpus];
extern "C" {
TSubScheduler* SubSchedulerLookupTable[256];

SVariantInterfaceBlock* VIB;
}

#ifdef __USE_BTRACE_LOCK__
TSpinLock BTraceLock(TSpinLock::EOrderBTrace);
#endif

SBTraceData BTraceData = { {0}, 0, 0 };