x86/boot: Align e820 and video data in the boot trampoline

The undefined behaviour sanitiser in Clang 3.8 identifies that these are all
misaigned when used in __start_xen().

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Andrew Cooper committed 2016-08-12 13:51:43 +01:00
1 parent 072e670997
commit 5d8f8fa902
2 files changed
+2

No files matched your search

+1
View File
@@ -67,6 +67,7 @@ get_memory_map:
ret
.align 4
GLOBAL(e820map)
.fill E820MAX*20,1,0
GLOBAL(e820nr)
+1
View File
@@ -994,6 +994,7 @@ force_size: .word 0 # Use this size instead of the one in BIOS vars
vesa_size: .word 0,0,0 # width x depth x height
/* If we don't run at all, assume basic video mode 3 at 80x25. */
.align 2
GLOBAL(boot_vid_mode)
.word VIDEO_80x25
GLOBAL(boot_vid_info)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.