Commit 032140d6 authored by Henrich Lauko's avatar Henrich Lauko

dios: Introduce generic freeze and thaw functions.

parent 23ecffd2
......@@ -16,4 +16,14 @@ extern "C"
{
__dios_this_task()->__rst_stash = reinterpret_cast< uintptr_t >( val );
}
_LART_INTERFACE void __lart_freeze( void * value, void * addr )
{
__dios::rst::abstract::poke_object( value, addr );
}
_LART_INTERFACE void * __lart_thaw( void * addr )
{
return __dios::rst::abstract::peek_object< void * >( addr );
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment