Run-time Adaptation for Reconfigurable Embedded Processors