mirror of
https://github.com/t-crest/rtems.git
synced 2025-11-16 12:34:47 +00:00
Use new _shadow_stack_base and _stack_cache_base macros in start.S
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
AC_DEFUN([RTEMS_CHECK_BSPDIR],
|
||||
[
|
||||
case "$1" in
|
||||
TLL6527M )
|
||||
AC_CONFIG_SUBDIRS([TLL6527M]);;
|
||||
bf537Stamp )
|
||||
AC_CONFIG_SUBDIRS([bf537Stamp]);;
|
||||
eZKit533 )
|
||||
AC_CONFIG_SUBDIRS([eZKit533]);;
|
||||
TLL6527M )
|
||||
AC_CONFIG_SUBDIRS([TLL6527M]);;
|
||||
*)
|
||||
AC_MSG_ERROR([Invalid BSP]);;
|
||||
esac
|
||||
|
||||
@@ -32,8 +32,8 @@ SYM(hard_reset):
|
||||
/*
|
||||
* setup stack cache and stack frame
|
||||
*/
|
||||
li $r29 = PASIM_SHADOW_STACK_BASE /* Initialize shadow stack pointer */
|
||||
li $r9 = PASIM_STACK_CACHE_BASE
|
||||
li $r29 = _shadow_stack_base /* Initialize shadow stack pointer */
|
||||
li $r9 = _stack_cache_base
|
||||
mts $s5 = $r9 /* Initialize the stack cache's top pointer */
|
||||
mts $s6 = $r9 /* Initialize the stack cache's spill top pointer */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user