1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/kernelhwsrv/halservices/hal/src/hal_gcc_shim.cia Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,50 @@
1.4 +//
1.5 +// HAL_GCC_SHIM.CIA - generated by GENSHIMSRC.BAT
1.6 +//
1.7 +
1.8 +#include <e32def.h>
1.9 +#include <e32const.h>
1.10 +#include <cpudefs.h>
1.11 +
1.12 +
1.13 +EXPORT_C __NAKED__ int export_at_ordinal_1()
1.14 +//
1.15 +// HAL::Get(HALData::TAttribute, int &)
1.16 +//
1.17 + {
1.18 + asm("stmfd sp!, {r4,lr} ");
1.19 + asm("mov r4, sp ");
1.20 + asm("bic sp, sp, #4 ");
1.21 + asm("bl _ZN3HAL3GetEN7HALData10TAttributeERi ");
1.22 + asm("mov sp, r4 ");
1.23 + asm("ldmfd sp!, {r4,pc} ");
1.24 + }
1.25 +
1.26 +
1.27 +EXPORT_C __NAKED__ int export_at_ordinal_2()
1.28 +//
1.29 +// HAL::Set(HALData::TAttribute, int)
1.30 +//
1.31 + {
1.32 + asm("stmfd sp!, {r4,lr} ");
1.33 + asm("mov r4, sp ");
1.34 + asm("bic sp, sp, #4 ");
1.35 + asm("bl _ZN3HAL3SetEN7HALData10TAttributeEi ");
1.36 + asm("mov sp, r4 ");
1.37 + asm("ldmfd sp!, {r4,pc} ");
1.38 + }
1.39 +
1.40 +
1.41 +EXPORT_C __NAKED__ int export_at_ordinal_3()
1.42 +//
1.43 +// HAL::GetAll(int &, HAL::SEntry *&)
1.44 +//
1.45 + {
1.46 + asm("stmfd sp!, {r4,lr} ");
1.47 + asm("mov r4, sp ");
1.48 + asm("bic sp, sp, #4 ");
1.49 + asm("bl _ZN3HAL6GetAllERiRPNS_6SEntryE ");
1.50 + asm("mov sp, r4 ");
1.51 + asm("ldmfd sp!, {r4,pc} ");
1.52 + }
1.53 +