[ECOS] i386 Memory Size Problem

Nick Garnett nickg@ecoscentric.com
Tue Nov 25 17:29:00 GMT 2003


kevin_lemay@agilent.com writes:

> Nick,
> 
> I found some sample code that makes the calls that I need.
> 
> Are there any examples of storing to the c/C++ variables that would
> help me to do the port?

Writing to C++ variables is slightly hard since you need to handle the
name mangling. So it's best to always use C variables from assembler.
A straighforward movl will do the trick.


-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com      The eCos and RedBoot experts


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list