]> xenbits.xensource.com Git - xen.git/commit
x86/build: Don't convert boot/{cmdline,head}.bin back to .S
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 14 Apr 2022 09:33:05 +0000 (10:33 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 12 Aug 2022 17:48:34 +0000 (18:48 +0100)
commit1ab7c128d9d16db5081501bf9786bdcf6e72b5e6
treef8784e56618e2d2875685aceb80f7d75172cffa7
parent1af4e0189f4ef65cb43d79440d71867aad6d3d44
x86/build: Don't convert boot/{cmdline,head}.bin back to .S

There's no point wasting time converting binaries back to asm source.  Just
use .incbin directly.  Explain in head.S what these binaries are.

Also, explicitly align the blobs.  They contain 4-byte objects, and happen to
be 4-byte aligned currently because of the position of `lret` and the size of
cmdline.S but this is incredibly fragile.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/boot/Makefile
xen/arch/x86/boot/head.S