1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/fe310: Add used registers to clobbers

This commit is contained in:
Koen Zandberg 2021-01-22 11:11:12 +01:00
parent 46337efd93
commit 896227ab08
No known key found for this signature in database
GPG Key ID: 0895A893E6D2985B

View File

@ -38,7 +38,7 @@ static inline void _ecall_dispatch(uint32_t num, void *ctx)
"ECALL\n"
: /* No outputs */
: [num] "r" (num), [ctx] "r" (ctx)
: "memory"
: "memory", "a0", "a1"
);
}