Skip to content

Commit 739b242

Browse files
committed
Fix crashing bug in PR adafruit#10325 for RISC-V builds.
1 parent 5ba4f77 commit 739b242

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

supervisor/shared/cpu_regs.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@
2020
#endif
2121
#endif
2222

23+
#ifdef __riscv
24+
#define INTEGER_REGS 12
25+
#ifdef __riscv_vector
26+
#define FLOATING_POINT_REGS 12
27+
#endif
28+
#endif
29+
2330
#ifndef INTEGER_REGS
2431
#define INTEGER_REGS 0
2532
#endif

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy