1 /* SPDX-License-Identifier: GPL-2.0+ */
14 * Routine: save_boot_params (called after reset from start.S)
17 .global save_boot_params
19 /* The firmware provided ATAG/FDT address can be found in r2/x0 */
25 stp x9, x10, [x0], #16
26 stp x11, x12, [x0], #16
27 stp x13, x14, [x0], #16
28 stp x15, x16, [x0], #16
29 stp x17, x18, [x0], #16
30 stp x19, x20, [x0], #16
31 stp x21, x22, [x0], #16
32 stp x23, x24, [x0], #16
33 stp x25, x26, [x0], #16
34 stp x27, x28, [x0], #16
35 stp x29, x30, [x0], #16
40 b save_boot_params_ret
42 .global restore_boot_params
49 ldp x9, x10, [x0], #16
50 ldp x11, x12, [x0], #16
51 ldp x13, x14, [x0], #16
52 ldp x15, x16, [x0], #16
53 ldp x17, x18, [x0], #16
54 ldp x19, x20, [x0], #16
55 ldp x21, x22, [x0], #16
56 ldp x23, x24, [x0], #16
57 ldp x25, x26, [x0], #16
58 ldp x27, x28, [x0], #16
59 ldp x29, x30, [x0], #16