halservices/hal/src/hal_gcc_shim.cia
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 21 Jun 2010 17:12:14 +0300
branchRCL_3
changeset 39 2bb754abd467
parent 0 a41df078684a
permissions -rw-r--r--
Revision: 201025 Kit: 2010125

// Copyright (c) 2010 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:
// hal/src/hal_gcc_shim.cia
// 
// HAL_GCC_SHIM.CIA - generated by GENSHIMSRC.BAT
//

#include <e32def.h>
#include <e32const.h>
#include <cpudefs.h>


EXPORT_C __NAKED__ int export_at_ordinal_1()
//
// HAL::Get(HALData::TAttribute, int &)
//
	{
	asm("stmfd sp!, {r4,lr} ");
	asm("mov r4, sp ");
	asm("bic sp, sp, #4 ");
	asm("bl _ZN3HAL3GetEN7HALData10TAttributeERi ");
	asm("mov sp, r4 ");
	asm("ldmfd sp!, {r4,pc} ");
	}


EXPORT_C __NAKED__ int export_at_ordinal_2()
//
// HAL::Set(HALData::TAttribute, int)
//
	{
	asm("stmfd sp!, {r4,lr} ");
	asm("mov r4, sp ");
	asm("bic sp, sp, #4 ");
	asm("bl _ZN3HAL3SetEN7HALData10TAttributeEi ");
	asm("mov sp, r4 ");
	asm("ldmfd sp!, {r4,pc} ");
	}


EXPORT_C __NAKED__ int export_at_ordinal_3()
//
// HAL::GetAll(int &, HAL::SEntry *&)
//
	{
	asm("stmfd sp!, {r4,lr} ");
	asm("mov r4, sp ");
	asm("bic sp, sp, #4 ");
	asm("bl _ZN3HAL6GetAllERiRPNS_6SEntryE ");
	asm("mov sp, r4 ");
	asm("ldmfd sp!, {r4,pc} ");
	}