Update contrib.
1 // Copyright (c) 2005-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 // restart the board via an appropriate method either back into the bootloader
15 // or to boot an image
24 #include <e32const_private.h>
26 #include <e32std_private.h>
32 #include "bootloader_variantconfig.h"
33 #include <nkern/nk_trace.h>
36 #define FILE_ID 0x594D555D
38 #include "ubootldrldd.h"
40 GLDEF_C void Restart(TInt aCode)
42 TInt r = User::LoadLogicalDevice(KBootldrLddName);
48 PrintToScreen(_L("FAULT due to LDD open\r\n"));
54 Ldd.Reboot(KtRestartReasonHardRestart);