arch/x86_64: Resolving NUC Boot Failure Issue
The segment of the Xen PVH boot protocol was not specified during linking and was placed before .loader.text, causing the boot to fail Signed-off-by: liwenxiang1 <liwenxiang1@xiaomi.com>
This commit is contained in:
parent
117ac1a507
commit
8a1743d0a6
|
@ -195,8 +195,8 @@ __ap_entry:
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
.code32
|
.code32
|
||||||
.section ".multiboot1", "a"
|
|
||||||
#ifdef CONFIG_ARCH_MULTIBOOT1
|
#ifdef CONFIG_ARCH_MULTIBOOT1
|
||||||
|
.section ".multiboot1", "a"
|
||||||
.set MB_FLAG_ALIGNED, 1 /* All boot modules must be loaded aligned */
|
.set MB_FLAG_ALIGNED, 1 /* All boot modules must be loaded aligned */
|
||||||
.set MB_FLAG_MEMINFO, 2 /* Boot with memory maps passing */
|
.set MB_FLAG_MEMINFO, 2 /* Boot with memory maps passing */
|
||||||
.set MB_FLAG_VIDEO, 4 /* Enable video mode */
|
.set MB_FLAG_VIDEO, 4 /* Enable video mode */
|
||||||
|
|
|
@ -46,6 +46,7 @@ SECTIONS
|
||||||
|
|
||||||
.loader.rodata : {
|
.loader.rodata : {
|
||||||
*(.loader.rodata)
|
*(.loader.rodata)
|
||||||
|
*(.note.nuttx)
|
||||||
}
|
}
|
||||||
|
|
||||||
.loader.tdata_tbss : {
|
.loader.tdata_tbss : {
|
||||||
|
|
Loading…
Reference in New Issue