0
|
1 |
// Copyright (c) 1996-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 |
// e32test\system\t_prot.cia
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
#include <cpudefs.h>
|
|
19 |
|
|
20 |
//
|
|
21 |
// Tests that the kernel panics the user rather than dying in various situations
|
|
22 |
__NAKED__ void DoUndefinedInstruction()
|
|
23 |
{
|
|
24 |
asm("mcr p15, 0, r0, c3, c0 ");
|
|
25 |
}
|