Fix context switch bug
Define USE_FFS_ASM in port header file