|
From: | Li Zhijian |
Subject: | Re: [Qemu-devel] [PATCH for-4.0 v3 3/4] i386: import bootparam.h |
Date: | Tue, 4 Dec 2018 16:09:11 +0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 12/04/2018 09:06 AM, Michael S. Tsirkin wrote:
On Mon, Dec 03, 2018 at 10:48:51PM +0800, Li Zhijian wrote:It provides setup_data struct and header fields CC: Michael S. Tsirkin<address@hidden> Signed-off-by: Li Zhijian<address@hidden>Sorry I was unclear when I said "import it from Linux".
Sorry, it's my fault.
The way to import it is to copy the header from the linux kernel by adding it to ./scripts/update-linux-headers.sh and placing a copy into include/standard-headers/ Hope that helps.
that's really helpful. i wonder which type copy should i use 'cp' or 'cp_portable' this header includes several sub-headers $ grep include /tmp/tmp.MBF10Z9MeS/include/asm/bootparam.h #include <linux/types.h> #include <linux/screen_info.h> #include <linux/apm_bios.h> #include <linux/edd.h> #include <asm/ist.h> #include <video/edid.h> Thanks Zhijian
[Prev in Thread] | Current Thread | [Next in Thread] |