]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC 366897: Use a template assembly file to generate the embedded MFS.
authorJohn Baldwin <jhb@FreeBSD.org>
Thu, 10 Dec 2020 21:12:25 +0000 (21:12 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Thu, 10 Dec 2020 21:12:25 +0000 (21:12 +0000)
commit15af8574cc269c0afc17961511aebba25bfb1607
tree27ff8d275b8b012a065d3b5162dfd976818aa14f
parent1a6fcc935b99d55ceee53c7ee950d971463479f6
MFC 366897: Use a template assembly file to generate the embedded MFS.

This uses the .incbin directive to pull in the MFS image contents.
Using assembly directly ensures that symbols can be defined with the
name and properties (such as .size) desired without having to rename
symbols, etc. via a second objcopy invocation.  Since it is compiled
by the C compiler driver, it also avoids the need for all of the
EMBEDFS* make variables.
sys/conf/kern.post.mk
sys/conf/kern.pre.mk
sys/dev/md/embedfs.S [new file with mode: 0644]