ARC: make variables with regs and addresses bit agnostic
Make variables where we store CPU registers values and memory addresses bit agnostic. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Evgeniy Paltsev <PaltsevEvgeniy@gmail.com>
This commit is contained in:
parent
ab17a59ba5
commit
0d859796be
4 changed files with 98 additions and 98 deletions
|
@ -35,7 +35,7 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
struct _callee_saved {
|
||||
uint32_t sp; /* r28 */
|
||||
uintptr_t sp; /* r28 */
|
||||
};
|
||||
typedef struct _callee_saved _callee_saved_t;
|
||||
|
||||
|
@ -48,16 +48,16 @@ struct _thread_arch {
|
|||
/* High address of stack region, stack grows downward from this
|
||||
* location. Usesd for hardware stack checking
|
||||
*/
|
||||
uint32_t k_stack_base;
|
||||
uint32_t k_stack_top;
|
||||
uintptr_t k_stack_base;
|
||||
uintptr_t k_stack_top;
|
||||
#ifdef CONFIG_USERSPACE
|
||||
uint32_t u_stack_base;
|
||||
uint32_t u_stack_top;
|
||||
uintptr_t u_stack_base;
|
||||
uintptr_t u_stack_top;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USERSPACE
|
||||
uint32_t priv_stack_start;
|
||||
uintptr_t priv_stack_start;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue