Retain Variable in Ram through Reset

in the declarations
example

unsigned long m_lRealTime attribute ((section (".noinit")));