I've read through the docs about ARM interworking
found in:
gcc-3.2/gcc/config/arm/README-interworking
and I'm looking for more details, done quite a bit
of searching and can't seem to find anything other then
'how to build a cross compiler' (Which I have working
just fine)
Specifically I have 4 questions:
1) I'd like to know if there is some type of an attribute
that can specify that an external function is thumb
or arm, it might work like this:
#define __thumbfunc __attribute((interfacethumb))
#define __arm32func __attribute((interfacearm32))
extern int __thumbfunc foo(void);
extern int __arm32func bar(void);
WHY? Because - if I turn on Interworking - I seem to
need it turned on for *everything* including all the
libraries that I'm going to use. (I get a slew of
messages Blah supports Interworking - but BlahBlah
does not)
I'd rather have the bulk of my code - all libs and such
compiled as "thumb" - then have a few special routines
(core computationally intensive routines) compiled as ARM
2) Where can I find ASSEMBLER calling conventions for ARM
both in THUMB mode and in ARM32 mode.
There are some routines that I need to write that must
be written in the "other mode" and written in assembler.
Where can I get more information about this.
Yes, I can "gleen" some stuff from the compiler sources
and by using the compiler "-S" option I'd rather find
docs on the subject.
3) Where can I find information about how ARM does
PIC code - ie: I want to write assembler code
that supports this, but can't find any info on it.
4) In NEWLIB - 'setjmp.S' it has a few macros and such
that make it easier to write assembler functions.
Is there another repository of this type of stuff
someplace that I should look for?
Specifically - I'm looking for a doc that might
have this title:
"How to write ARM and THUMB assembler
functions that interface to GCC compiled
C and C++ functions - including examples
of all those .whatever things the assembler
and DEBUGGER requires to make things work."
-Duane
-------------------------------------------------------------------
Subscription options:
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ/Etiquette:
http://www.arm.linux.org.uk/armlinux/mailinglists.php
Thread at a glance:
Previous Message by Date:
click to view message preview
how to wake up strong arm from the sleep mode
hi, sir
now, i get fatal issue which can not bring the
strong arm out of sleep mode,
i set the GPIO0 as the wake up source,
put the strong arm into sleep mode through set the
force bit of PMCR, but it seems like never wake up
again,
PPCR have been adjust and SA1110 'cpu speed to
lowest prior to entering the sleep mode,
i do a simpled code under intel development board,
any advice is welcome,
THANKS & BEST REGARDS
_________________________________________________________
Do You Yahoo!?
"是IT精英吗?小试牛刀获时尚大奖!"
http://cn.promo.yahoo.com/cgi-bin/udb/u
-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ/Etiquette: http://www.arm.linux.org.uk/armlinux/mailinglists.php
Next Message by Date:
click to view message preview
Rebel Netwinder serial console
Greetings,
Just wondering if anyone knows the magic required to use a serial
console to access the Rebel Netwinder firmware menus. I don't have
any problem getting a linux based serial console after booting. But
I'ld like to run the Netwinder headless while still retaining access
to the firmware menus via serial console. Any clues would be much
appreciated.
TIA!
--
Regards,
George
-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ/Etiquette: http://www.arm.linux.org.uk/armlinux/mailinglists.php
Previous Message by Thread:
click to view message preview
how to wake up strong arm from the sleep mode
hi, sir
now, i get fatal issue which can not bring the
strong arm out of sleep mode,
i set the GPIO0 as the wake up source,
put the strong arm into sleep mode through set the
force bit of PMCR, but it seems like never wake up
again,
PPCR have been adjust and SA1110 'cpu speed to
lowest prior to entering the sleep mode,
i do a simpled code under intel development board,
any advice is welcome,
THANKS & BEST REGARDS
_________________________________________________________
Do You Yahoo!?
"是IT精英吗?小试牛刀获时尚大奖!"
http://cn.promo.yahoo.com/cgi-bin/udb/u
-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ/Etiquette: http://www.arm.linux.org.uk/armlinux/mailinglists.php
Next Message by Thread:
click to view message preview
Rebel Netwinder serial console
Greetings,
Just wondering if anyone knows the magic required to use a serial
console to access the Rebel Netwinder firmware menus. I don't have
any problem getting a linux based serial console after booting. But
I'ld like to run the Netwinder headless while still retaining access
to the firmware menus via serial console. Any clues would be much
appreciated.
TIA!
--
Regards,
George
-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ/Etiquette: http://www.arm.linux.org.uk/armlinux/mailinglists.php