148
|
1 |
// Copyright (c) 2010 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".
|
0
|
7 |
//
|
148
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
// hal/src/hal_gcc_shim.cia
|
|
15 |
//
|
0
|
16 |
// HAL_GCC_SHIM.CIA - generated by GENSHIMSRC.BAT
|
|
17 |
//
|
|
18 |
|
|
19 |
#include <e32def.h>
|
|
20 |
#include <e32const.h>
|
|
21 |
#include <cpudefs.h>
|
|
22 |
|
|
23 |
|
|
24 |
EXPORT_C __NAKED__ int export_at_ordinal_1()
|
|
25 |
//
|
|
26 |
// HAL::Get(HALData::TAttribute, int &)
|
|
27 |
//
|
|
28 |
{
|
|
29 |
asm("stmfd sp!, {r4,lr} ");
|
|
30 |
asm("mov r4, sp ");
|
|
31 |
asm("bic sp, sp, #4 ");
|
|
32 |
asm("bl _ZN3HAL3GetEN7HALData10TAttributeERi ");
|
|
33 |
asm("mov sp, r4 ");
|
|
34 |
asm("ldmfd sp!, {r4,pc} ");
|
|
35 |
}
|
|
36 |
|
|
37 |
|
|
38 |
EXPORT_C __NAKED__ int export_at_ordinal_2()
|
|
39 |
//
|
|
40 |
// HAL::Set(HALData::TAttribute, int)
|
|
41 |
//
|
|
42 |
{
|
|
43 |
asm("stmfd sp!, {r4,lr} ");
|
|
44 |
asm("mov r4, sp ");
|
|
45 |
asm("bic sp, sp, #4 ");
|
|
46 |
asm("bl _ZN3HAL3SetEN7HALData10TAttributeEi ");
|
|
47 |
asm("mov sp, r4 ");
|
|
48 |
asm("ldmfd sp!, {r4,pc} ");
|
|
49 |
}
|
|
50 |
|
|
51 |
|
|
52 |
EXPORT_C __NAKED__ int export_at_ordinal_3()
|
|
53 |
//
|
|
54 |
// HAL::GetAll(int &, HAL::SEntry *&)
|
|
55 |
//
|
|
56 |
{
|
|
57 |
asm("stmfd sp!, {r4,lr} ");
|
|
58 |
asm("mov r4, sp ");
|
|
59 |
asm("bic sp, sp, #4 ");
|
|
60 |
asm("bl _ZN3HAL6GetAllERiRPNS_6SEntryE ");
|
|
61 |
asm("mov sp, r4 ");
|
|
62 |
asm("ldmfd sp!, {r4,pc} ");
|
|
63 |
}
|
|
64 |
|