Code relocation question (similar to memtest)

Tristan Gross tristan at omegaband.com
Fri Mar 15 23:40:03 UTC 2002


One drawn-out question:

For those not familiar with memtest... It's a application that test host
memory
in a x86 architecture machine.  It works by having two duplicate
(almost) copies of it's code and testing 1/2 of the memory at a time
then moving the code block and calling the other 1/2 of it's
functionality.  Really the only way you can test memory when you're
running the program from the same memory you're testing.  Note there are
effectively two executables here, one that's started and the other that
is called by the first.

Is it possible to move the RTEMS executable image and then continue
execution in a similar manner?  I seem to remember that there's a way to
restart, maybe this could be passed a parameter.  Maybe just a
memcopy and jump too...

???

Tristan


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://lists.rtems.org/pipermail/users/attachments/20020315/c8f2cca2/attachment.bin>


More information about the users mailing list