x86: HACK force alignment for _k_task_list section
We are seeing on some platforms that the VMA alignment does not match the LMA alignment for this section, resulting in problems when copying into RAM by __csSet(); any copied sections afterwards end up misaligned in RAM. While the true fix for this is under investigation, force 4-byte alignment for VMA and LMA. Change-Id: I627d9e7a3446cbc09dc310a156d8b3268e61c91d Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
45a0e81871
commit
d82e9dd9e1
|
@ -163,7 +163,7 @@ SECTIONS
|
|||
KEXEC_PGALIGN_PAD(MMU_PAGE_SIZE)
|
||||
} GROUP_LINK_IN(RAM)
|
||||
|
||||
SECTION_PROLOGUE (_k_task_list, (OPTIONAL),)
|
||||
SECTION_PROLOGUE (_k_task_list, ALIGN(4), ALIGN(4))
|
||||
{
|
||||
_k_task_list_start = .;
|
||||
*(._k_task_list.public.*)
|
||||
|
|
Loading…
Reference in New Issue