Patrick Delaunay
65c141ebbd
board_f.c: Ensure 16 alignment of start_addr_sp and reserved memory
...
Add a function reserve_stack_aligned() to reserved memory with 16 bits
alignment after the stack pointer (gd->start_addr_sp) and use this new
function in board_f.c to reserve all the memory area (malloc, board, gd,
fdt, bootstage, stacks).
This 16 byte alignment is needed for cast on struct pointer
for the reserved memory, for example:
+ x86_64 ABI: https://reviews.llvm.org/D30049 : 16 bytes
+ ARMv8 Instruction Set Overview: quad word, 16 bytes
An other alignment value could be needed for other architecture.
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
2020-04-16 23:06:54 -04:00
..
2018-05-07 09:34:12 -04:00
2020-01-23 07:29:58 -05:00
2020-04-07 17:13:35 -04:00
2020-02-05 19:33:46 -07:00
2020-02-05 19:33:46 -07:00
2019-12-02 18:24:58 -05:00
2020-02-05 19:33:46 -07:00
2020-04-16 23:06:54 -04:00
2018-05-07 09:34:12 -04:00
2020-01-26 13:36:14 -05:00
2018-05-07 09:34:12 -04:00
2020-01-07 18:08:21 +01:00
2020-04-01 07:45:09 -06:00
2019-12-02 18:23:13 -05:00
2020-01-24 23:06:49 +05:30
2019-12-02 18:24:58 -05:00
2019-11-07 18:01:13 -05:00
2019-12-02 18:23:13 -05:00
2019-12-02 18:25:02 -05:00
2020-02-05 19:33:46 -07:00
2020-01-24 23:06:49 +05:30
2018-11-09 10:44:50 -05:00
2020-02-13 10:10:50 -05:00
2018-11-20 19:14:22 -07:00
2018-05-07 09:34:12 -04:00
2020-01-07 14:37:50 +01:00
2019-11-07 18:01:13 -05:00
2019-07-29 19:14:58 +02:00
2020-02-05 19:33:46 -07:00
2019-12-06 12:09:25 +01:00
2020-01-24 23:06:47 +05:30
2019-12-02 18:23:08 -05:00
2019-08-11 16:43:41 -04:00
2019-08-07 15:31:05 -04:00
2020-02-04 09:07:24 +05:30
2020-04-01 07:45:09 -06:00
2020-02-05 19:33:46 -07:00
2020-04-07 17:13:35 -04:00
2020-04-07 17:13:35 -04:00
2020-04-01 07:45:09 -06:00
2020-02-05 19:33:46 -07:00
2018-05-07 09:34:12 -04:00
2019-12-02 18:23:13 -05:00
2020-04-16 08:07:58 -06:00
2019-12-02 18:23:55 -05:00
2016-05-02 18:37:09 -04:00
2018-05-07 09:34:12 -04:00
2019-12-02 18:23:11 -05:00
2018-05-07 09:34:12 -04:00
2019-12-02 18:24:58 -05:00
2018-05-07 09:34:12 -04:00
2020-04-16 08:07:58 -06:00
2019-02-20 15:21:44 +08:00
2018-04-27 14:54:48 -04:00
2020-04-10 21:21:06 -04:00
2020-04-16 08:07:58 -06:00
2018-11-29 09:30:05 -07:00
2020-01-24 23:06:49 +05:30
2019-07-24 13:16:29 -04:00
2018-10-24 14:45:36 -05:00
2018-05-07 09:34:12 -04:00
2019-12-02 18:25:02 -05:00
2019-10-31 09:10:34 +01:00
2019-06-04 23:20:43 +02:00
2020-01-24 23:06:49 +05:30
2020-02-05 19:33:46 -07:00
2019-11-25 13:28:53 +01:00
2020-04-09 15:26:59 -04:00
2020-04-09 15:26:59 -04:00
2019-10-08 13:57:45 +08:00