This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
"Jurica Baricevic" <jura at INTESIS dot hr> writes:Just to clarify some 64/32-bit things. If I noticed well - the Vr4300 eCos is by default switching CPU in 64-bit access mode (bit KX in status register), but the C code is built with -mpg32 to avoid usage of 64-bit instructions. Some assembler routines use ld/sd though. Am I right?
Yes. eCos and RedBoot continue to run in 32 bit mode, but we context
switch the whole 64 bit machine state. This was originally as a result of
some bugs in the toolchain: the -mgp32 wasn't being passed on to the
assembler, so it still thought it was building for 64 bits and
generated some 64 bit instructions.
-- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |