-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FPU] update cortexM0/M3 for tpl_load_context prototype
- Loading branch information
Mikaël BRIDAY
committed
Feb 28, 2024
1 parent
27d66cb
commit d12ff88
Showing
6 changed files
with
72 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#ifndef __TPL_REGS_OFFSETS_H__ | ||
#define __TPL_REGS_OFFSETS_H__ | ||
|
||
#define CTX_GPR4 0 | ||
#define CTX_GPR5 4 | ||
#define CTX_GPR6 8 | ||
#define CTX_GPR7 12 | ||
#define CTX_GPR8 16 | ||
#define CTX_GPR9 20 | ||
#define CTX_GPR10 24 | ||
#define CTX_GPR11 28 | ||
#define CTX_PSP 32 | ||
|
||
#define INT_CONTEXT 0 | ||
#define FLOAT_CONTEXT 4 | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#ifndef __TPL_REGS_OFFSETS_H__ | ||
#define __TPL_REGS_OFFSETS_H__ | ||
|
||
#define CTX_GPR4 0 | ||
#define CTX_GPR5 4 | ||
#define CTX_GPR6 8 | ||
#define CTX_GPR7 12 | ||
#define CTX_GPR8 16 | ||
#define CTX_GPR9 20 | ||
#define CTX_GPR10 24 | ||
#define CTX_GPR11 28 | ||
#define CTX_PSP 32 | ||
|
||
#define INT_CONTEXT 0 | ||
#define FLOAT_CONTEXT 4 | ||
|
||
#endif |