|
452 | 452 | //! * `_default_handler` - a C compatible function that spins forever. |
453 | 453 | //! * `_init_segments` - initialises `.bss` and `.data` |
454 | 454 | //! * `_stack_setup` - initialises UND, SVC, ABT, IRQ, FIQ and SYS stacks from |
455 | | -//! the address given in `r0`. Deprecated, use `stack_setup_prealloc` instead |
456 | | -//! * `_stack_setup_prealloc` - initialises UND, SVC, ABT, IRQ, FIQ and SYS |
| 455 | +//! the address given in `r0`. Deprecated, use `_stack_setup_preallocated` instead |
| 456 | +//! * `_stack_setup_preallocated` - initialises UND, SVC, ABT, IRQ, FIQ and SYS |
457 | 457 | //! stacks from the `.stacks` section defined in link.x, based on |
458 | 458 | //! _xxx_stack_size values |
459 | 459 | //! * `_xxx_stack` and `_xxx_stack_end` where the former is the top and the latter |
@@ -754,7 +754,7 @@ macro_rules! fpu_enable { |
754 | 754 | } |
755 | 755 |
|
756 | 756 | // Start-up code for Armv7-R (and Armv8-R once we've left EL2) |
757 | | -// DEPRECATED: use _stack_setup_prealloc to use sections defined |
| 757 | +// DEPRECATED: use _stack_setup_preallocated to use sections defined |
758 | 758 | // in linker script |
759 | 759 | // We set up our stacks and `kmain` in system mode. |
760 | 760 | #[cfg(target_arch = "arm")] |
@@ -870,10 +870,10 @@ core::arch::global_asm!( |
870 | 870 |
|
871 | 871 | // Configure a stack for every mode. Leaves you in sys mode. |
872 | 872 | // |
873 | | - .section .text._stack_setup_prealloc |
874 | | - .global _stack_setup_prealloc |
875 | | - .type _stack_setup_prealloc, %function |
876 | | - _stack_setup_prealloc: |
| 873 | + .section .text._stack_setup_preallocated |
| 874 | + .global _stack_setup_preallocated |
| 875 | + .type _stack_setup_preallocated, %function |
| 876 | + _stack_setup_preallocated: |
877 | 877 | // Save LR from whatever mode we're currently in |
878 | 878 | mov r2, lr |
879 | 879 | // (we might not be in the same mode when we return). |
@@ -902,7 +902,7 @@ core::arch::global_asm!( |
902 | 902 | mcr p15, 0, r1, c1, c0, 0 |
903 | 903 | // return to caller |
904 | 904 | bx r2 |
905 | | - .size _stack_setup_prealloc, . - _stack_setup_prealloc |
| 905 | + .size _stack_setup_preallocated, . - _stack_setup_preallocated |
906 | 906 |
|
907 | 907 | // Initialises stacks, .data and .bss |
908 | 908 | .section .text._init_segments |
@@ -999,7 +999,7 @@ core::arch::global_asm!( |
999 | 999 | .type _default_start, %function |
1000 | 1000 | _default_start: |
1001 | 1001 | // Set up stacks. |
1002 | | - bl _stack_setup_prealloc |
| 1002 | + bl _stack_setup_preallocated |
1003 | 1003 | // Init .data and .bss |
1004 | 1004 | bl _init_segments |
1005 | 1005 | "#, |
@@ -1069,7 +1069,7 @@ core::arch::global_asm!( |
1069 | 1069 | eret |
1070 | 1070 | 1: |
1071 | 1071 | // Set up stacks. |
1072 | | - bl _stack_setup_prealloc |
| 1072 | + bl _stack_setup_preallocated |
1073 | 1073 | // Set the VBAR (for EL1) to _vector_table. NB: This isn't required on |
1074 | 1074 | // Armv7-R because that only supports 'low' (default) or 'high'. |
1075 | 1075 | ldr r0, =_vector_table |
|
0 commit comments