thermosphere: gdb: fix a few bugs

This commit is contained in:
TuxSH 2020-02-01 14:25:12 +00:00
parent ef23db21e6
commit e1a8bdd495
5 changed files with 14 additions and 12 deletions

View file

@ -234,9 +234,9 @@ void GDB_ReleaseContext(GDBContext *ctx)
transportInterfaceRelease(ctx->transportInterface);
}
void GDB_MigrateRxIrq(GDBContext *ctx, u32 newAffinity)
void GDB_MigrateRxIrq(GDBContext *ctx, u32 coreId)
{
transportInterfaceSetInterruptAffinity(ctx->transportInterface, newAffinity);
transportInterfaceSetInterruptAffinity(ctx->transportInterface, BIT(coreId));
}
GDB_DECLARE_HANDLER(Unsupported)