From: "Mr. Teo En Ming (Zhang Enming)" Subject: Re: [PATCH 2/2] graphics passthrough with VT-d Date: Sat, 29 Aug 2009 04:13:39 +0800 Message-ID: <4A983A73.80602@asiasoftsea.net> References: <7CB0A101731F44C391569BAEBF727CF9@ASOITIS16> <4A97FDE9.2060302@asiasoftsea.net> <4A980CDE.8060109@asiasoftsea.net> Reply-To: enming.teo@asiasoftsea.net Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050107020109010901080704" Return-path: In-Reply-To: <4A980CDE.8060109@asiasoftsea.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: enming.teo@asiasoftsea.net Cc: xen-devel@lists.xensource.com, "'Lin, Ben Y'" , "'Kay, Allen M'" , 'Jean Guyader' , Keir.Fraser@eu.citrix.com, weidong.han@intel.com, bengheng@eecs.umich.edu List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------050107020109010901080704 Content-Type: multipart/alternative; boundary="------------030500030705000502080909" --------------030500030705000502080909 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit After applying the 1st and 2nd patch to xen-unstable successfully, I examined the source codes Makefile and hvmloader.c in tools/firmware/hvmloader, compared them to Weidong's 3rd patch and I generated my own 3rd patch. Then I used my own generated 3rd patch to apply patching for loading vga bios from firmware file. Here is my own generated 3rd patch instead of using Weidong's 3rd patch: --- Makefile 2009-08-29 03:24:52.413083774 +0800 +++ Makefile 2009-08-29 03:29:12.763299633 +0800 @@ -50,6 +50,7 @@ roms.h: ../rombios/BIOS-bochs-latest ../vgabios/VGABIOS-lgpl-latest.bin \ ../vgabios/VGABIOS-lgpl-latest.cirrus.bin ../etherboot/eb-roms.h sh ./mkhex rombios ../rombios/BIOS-bochs-latest> roms.h + sh ./mkhex vgabios_pt ../vgabios/vgabios-pt.bin>> roms.h sh ./mkhex vgabios_stdvga ../vgabios/VGABIOS-lgpl-latest.bin>> roms.h sh ./mkhex vgabios_cirrusvga \ ../vgabios/VGABIOS-lgpl-latest.cirrus.bin>> roms.h --- hvmloader.c 2009-08-29 03:26:06.911085797 +0800 +++ hvmloader.c 2009-08-29 03:31:43.172084995 +0800 @@ -688,9 +688,9 @@ vgabios_sz = round_option_rom(sizeof(vgabios_stdvga)); break; case VGA_pt: - printf("Loading VGABIOS of passthroughed gfx ...\n"); - vgabios_sz = - round_option_rom((*(uint8_t *)(VGABIOS_PHYSICAL_ADDRESS+2)) * 512); + printf("Loading Gfx Video BIOS from file ...\n"); + memcpy((void *)VGABIOS_PHYSICAL_ADDRESS, vgabios_pt, sizeof(vgabios_pt)); + vgabios_sz = round_option_rom(sizeof(vgabios_pt)); break; default: printf("No emulated VGA adaptor ...\n"); I can "make xen" successfully but when I proceeded to "make tools", errors were encountered. Please see attached error output. How can I solve this problem? -- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: teoenming@hotmail.com Alma Maters: Singapore Polytechnic, National University of Singapore On 08/29/2009 12:59 AM, Mr. Teo En Ming (Zhang Enming) wrote: > OK I believe the 3rd patch is not incomplete but there's a white space issue when I copied the code from the mailing list into my vi. > > Seehttp://www.htdig.org/mail/2000/11/0167.html > > When I used the -l flag to patch using the 3rd patch, the number of errors was reduced. > > [root@fedora11-x86-64-host xen-unstable.hg-vgapt]# patch -l -p1< intel-gfx-passthru-patch-3.patch > patching file tools/firmware/hvmloader/Makefile > patching file tools/firmware/hvmloader/hvmloader.c > Hunk #1 FAILED at 688. > 1 out of 1 hunk FAILED -- saving rejects to file tools/firmware/hvmloader/hvmloader.c.rej > > Now patching tools/firmware/hvmloader/Makefile is successful but patching tools/firmware/hvmloader/hvmloader.c still failed. > > -- > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) > Technical Support Engineer > Information Technology Department > Asiasoft Online Pte Ltd > Tampines Central 1 #04-01 Tampines Plaza > Singapore 529541 > Republic of Singapore > Mobile: +65-9648-9798 > MSN:teoenming@hotmail.com > Alma Maters: Singapore Polytechnic, National University of Singapore > > > > On 08/28/2009 11:55 PM, Mr. Teo En Ming (Zhang Enming) wrote: >> Dear Weidong, >> >> A big big thanks for the vga passthrough patches for xen >> 3.5-unstable!!! These are eagerly anticipated patches. As I did not >> study computer science and computer architecture, I won't be able to >> write those patches you guys at Intel wrote. >> >> I applied the following patches *xen-gfx-passthrough.patch >> >> and **qemu-gfx-passthrough.patch >> >> to xen 3.5-unstable without issues.* >> >> Then I tried to apply the 3rd patch you provided at >> http://lists.xensource.com/archives/html/xen-devel/2009-08/msg01047.html >> >> I saved the following code >> >> >> diff -r 494be76c1ad9 tools/firmware/hvmloader/Makefile >> --- a/tools/firmware/hvmloader/Makefile Thu Aug 27 16:54:33 2009 +0800 >> +++ b/tools/firmware/hvmloader/Makefile Thu Aug 27 17:22:01 2009 +0800 >> @@ -50,6 +50,7 @@ roms.h: ../rombios/BIOS-bochs-latest ../ >> roms.h: ../rombios/BIOS-bochs-latest ../vgabios/VGABIOS-lgpl-latest.bin \ >> ../vgabios/VGABIOS-lgpl-latest.cirrus.bin ../etherboot/eb-roms.h >> sh ./mkhex rombios ../rombios/BIOS-bochs-latest> roms.h >> + sh ./mkhex vgabios_pt ../vgabios/vgabios-pt.bin>> roms.h >> sh ./mkhex vgabios_stdvga ../vgabios/VGABIOS-lgpl-latest.bin>> roms.h >> sh ./mkhex vgabios_cirrusvga \ >> ../vgabios/VGABIOS-lgpl-latest.cirrus.bin>> roms.h >> diff -r 494be76c1ad9 tools/firmware/hvmloader/hvmloader.c >> --- a/tools/firmware/hvmloader/hvmloader.c Thu Aug 27 16:54:33 2009 +0800 >> +++ b/tools/firmware/hvmloader/hvmloader.c Thu Aug 27 17:23:00 2009 +0800 >> @@ -688,9 +688,9 @@ int main(void) >> vgabios_sz = round_option_rom(sizeof(vgabios_stdvga)); >> break; >> case VGA_pt: >> - printf("Loading Gfx Video BIOS from 0xC0000 ...\n"); >> - vgabios_sz = >> - round_option_rom((*(uint8_t *)(VGABIOS_PHYSICAL_ADDRESS+2)) * 512); >> + printf("Loading Gfx Video BIOS from file ...\n"); >> + memcpy((void *)VGABIOS_PHYSICAL_ADDRESS, vgabios_pt, >> sizeof(vgabios_pt)); >> + vgabios_sz = round_option_rom(sizeof(vgabios_pt)); >> break; >> default: >> printf("No emulated VGA adaptor ...\n"); >> >> >> >> as intel-gfx-passthru-patch-3.patch and then I tried to apply the patch to xen 3.5-unstable. I got errors. I think it's because the 3rd patch you provided is incomplete. >> >> Here's my patching process: >> >> [root@fedora11-x86-64-host xen-unstable.hg-vgapt]# find . -name vgabios >> ./tools/firmware/vgabios >> ./.hg/store/data/tools/firmware/vgabios >> [root@fedora11-x86-64-host xen-unstable.hg-vgapt]# cp ~enming/vgabios-pt.bin tools/firmware/vgabios/ >> [root@fedora11-x86-64-host xen-unstable.hg-vgapt]# ls tools/firmware/vgabios/ >> biossums.c clext.c Makefile TODO vbe.h vgabios.h vgatables.h >> BUGS COPYING Notes vbe.c vbetables-gen.c vgabios-pt.bin >> ChangeLog dataseghack README vbe_display_api.txt vgabios.c vgafonts.h >> [root@fedora11-x86-64-host xen-unstable.hg-vgapt]# pwd >> /usr/src/xen-unstable.hg-vgapt >> [root@fedora11-x86-64-host xen-unstable.hg-vgapt]# wgethttp://lists.xensource.com/archives/html/xen-devel/2009-08/bincPiiAf0QWg.bin >> --2009-08-28 23:18:21--http://lists.xensource.com/archives/html/xen-devel/2009-08/bincPiiAf0QWg.bin >> Resolving lists.xensource.com... 70.42.241.110 >> Connecting to lists.xensource.com|70.42.241.110|:80... connected. >> HTTP request sent, awaiting response... 200 OK >> Length: 12565 (12K) [application/octet-stream] >> Saving to: `bincPiiAf0QWg.bin' >> >> 100%[======================================================================>] 12,565 30.7K/s in 0.4s >> >> 2009-08-28 23:18:22 (30.7 KB/s) - `bincPiiAf0QWg.bin' saved [12565/12565] >> >> [root@fedora11-x86-64-host xen-unstable.hg-vgapt]# mv bincPiiAf0QWg.bin xen-gfx-passthrough.patch >> [root@fedora11-x86-64-host xen-unstable.hg-vgapt]# vi xen-gfx-passthrough.patch >> [root@fedora11-x86-64-host xen-unstable.hg-vgapt]# patch< xen-gfx-passthrough.patch >> can't find file to patch at input line 4 >> Perhaps you should have used the -p or --strip option? >> The text leading up to this was: >> -------------------------- >> |diff -r 5d7e7a250267 tools/firmware/hvmloader/config.h >> |--- a/tools/firmware/hvmloader/config.h Wed Aug 26 18:28:44 2009 +0800 >> |+++ b/tools/firmware/hvmloader/config.h Thu Aug 27 16:54:24 2009 +0800 >> -------------------------- >> File to patch: ^C >> [root@fedora11-x86-64-host xen-unstable.hg-vgapt]# ex xen-gfx-passthrough.patch >> [root@fedora11-x86-64-host xen-unstable.hg-vgapt]# patch -p1< xen-gfx-passthrough.patch >> patching file tools/firmware/hvmloader/config.h >> patching file tools/firmware/hvmloader/hvmloader.c >> patching file tools/libxc/ia64/xc_ia64_hvm_build.c >> patching file tools/libxc/xc_hvm_build.c >> patching file tools/libxc/xc_linux.c >> patching file tools/libxc/xenctrl.h >> patching file tools/libxc/xenguest.h >> patching file tools/python/xen/lowlevel/xc/xc.c >> patching file tools/python/xen/xend/XendConfig.py >> Hunk #1 succeeded at 174 (offset -1 lines). >> patching file tools/python/xen/xend/image.py >> Hunk #1 succeeded at 780 (offset -6 lines). >> Hunk #3 succeeded at 895 (offset -6 lines). >> patching file tools/python/xen/xm/create.py >> [root@fedora11-x86-64-host xen-unstable.hg-vgapt]# wgethttp://lists.xensource.com/archives/html/xen-devel/2009-08/binglLqkeq4Rj.bin >> --2009-08-28 23:21:35--http://lists.xensource.com/archives/html/xen-devel/2009-08/binglLqkeq4Rj.bin >> Resolving lists.xensource.com... 70.42.241.110 >> Connecting to lists.xensource.com|70.42.241.110|:80... connected. >> HTTP request sent, awaiting response... 200 OK >> Length: 9841 (9.6K) [application/octet-stream] >> Saving to: `binglLqkeq4Rj.bin' >> >> 100%[======================================================================>] 9,841 24.3K/s in 0.4s >> >> 2009-08-28 23:21:36 (24.3 KB/s) - `binglLqkeq4Rj.bin' saved [9841/9841] >> >> [root@fedora11-x86-64-host xen-unstable.hg-vgapt]# mv binglLqkeq4Rj.bin qemu-gfx-passthrough.patch >> [root@fedora11-x86-64-host xen-unstable.hg-vgapt]# vi qemu-gfx-passthrough.patch >> [root@fedora11-x86-64-host xen-unstable.hg-vgapt]# find . -name hw >> ./tools/ioemu-remote/hw >> ./.hg/store/data/tools/ioemu/hw >> [root@fedora11-x86-64-host xen-unstable.hg-vgapt]# mv qemu-gfx-passthrough.patch tools/ioemu-remote/ >> [root@fedora11-x86-64-host xen-unstable.hg-vgapt]# cd tools/ioemu-remote/ >> [root@fedora11-x86-64-host ioemu-remote]# patch -p1< qemu- >> qemu-aio.h qemu-img.c qemu-sockets.c >> qemu-binfmt-conf.sh qemu-img.texi qemu-tech.texi >> qemu-char.c qemu-lock.h qemu-timer.h >> qemu-char.h qemu-log.h qemu-tool.c >> qemu-common.h qemu-malloc.c qemu-xen.h >> qemu-doc.texi qemu-nbd.c >> qemu-gfx-passthrough.patch qemu-nbd.texi >> [root@fedora11-x86-64-host ioemu-remote]# patch -p1< qemu-gfx-passthrough.patch >> patching file hw/pass-through.c >> patching file hw/pass-through.h >> patching file hw/pc.c >> patching file vl.c >> [root@fedora11-x86-64-host ioemu-remote]# cd .. >> [root@fedora11-x86-64-host tools]# cd .. >> [root@fedora11-x86-64-host xen-unstable.hg-vgapt]# vi intel-gfx-passthru-patch-3.patch >> [root@fedora11-x86-64-host xen-unstable.hg-vgapt]# patch -p1< intel-gfx-passthru-patch-3.patch >> patching file tools/firmware/hvmloader/Makefile >> Hunk #1 FAILED at 50. >> 1 out of 1 hunk FAILED -- saving rejects to file tools/firmware/hvmloader/Makefile.rej >> patching file tools/firmware/hvmloader/hvmloader.c >> patch: **** malformed patch at line 24: sizeof(vgabios_pt)); >> >> [root@fedora11-x86-64-host xen-unstable.hg-vgapt]# vi intel-gfx-passthru-patch-3.patch >> >> For everybody's convenience, I have attached intel-gfx-passthru-patch-3.patch and the firmware for my nVidia GeForce 8400 GS PCI Express x16 graphics card in this email. >> >> Please help me complete intel-gfx-passthru-patch-3.patch as I really need it. >> >> Thank you very much!!! >> >> -- >> Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) >> Technical Support Engineer >> Information Technology Department >> Asiasoft Online Pte Ltd >> Tampines Central 1 #04-01 Tampines Plaza >> Singapore 529541 >> Republic of Singapore >> Mobile: +65-9648-9798 >> MSN:teoenming@hotmail.com >> Alma Maters: Singapore Polytechnic, National University of Singapore >>> This patch supports basic gfx passthrough on QEMU: >>> - disable emulated VGA adpater if there is passthroughed gfx >>> - register/unregister legacy VGA I/O ports and MMIOs for passthroughed gfx >>> >>> Signed-off-by: Ben Lin >>> Signed-off-by: Weidong Han >>> No virus found in this incoming message. >>> Checked by AVG -www.avg.com >>> Version: 8.5.409 / Virus Database: 270.13.69/2328 - Release Date: 08/27/09 >>> 18:02:00 >>> >>> No virus found in this outgoing message. >>> Checked by AVG -www.avg.com >>> Version: 8.5.409 / Virus Database: 270.13.71/2330 - Release Date: 08/27/09 >>> 18:02:00 >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Xen-devel mailing list >>> Xen-devel@lists.xensource.com >>> http://lists.xensource.com/xen-devel >>> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel >> > > --------------030500030705000502080909 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
After applying the 1st and 2nd patch to xen-unstable successfully, I examined the source codes Makefile and hvmloader.c in tools/firmware/hvmloader, compared them to Weidong's 3rd patch and I generated my own 3rd patch. Then I used my own generated 3rd patch to apply patching for loading vga bios from firmware file.

Here is my own generated 3rd patch instead of using Weidong's 3rd patch:

--- Makefile    2009-08-29 03:24:52.413083774 +0800
+++ Makefile    2009-08-29 03:29:12.763299633 +0800
@@ -50,6 +50,7 @@
 roms.h: ../rombios/BIOS-bochs-latest ../vgabios/VGABIOS-lgpl-latest.bin \
        ../vgabios/VGABIOS-lgpl-latest.cirrus.bin ../etherboot/eb-roms.h
        sh ./mkhex rombios ../rombios/BIOS-bochs-latest > roms.h
+       sh ./mkhex vgabios_pt ../vgabios/vgabios-pt.bin >> roms.h
        sh ./mkhex vgabios_stdvga ../vgabios/VGABIOS-lgpl-latest.bin >> roms.h
        sh ./mkhex vgabios_cirrusvga \
                ../vgabios/VGABIOS-lgpl-latest.cirrus.bin >> roms.h
--- hvmloader.c 2009-08-29 03:26:06.911085797 +0800
+++ hvmloader.c 2009-08-29 03:31:43.172084995 +0800
@@ -688,9 +688,9 @@
         vgabios_sz = round_option_rom(sizeof(vgabios_stdvga));
         break;
     case VGA_pt:
-        printf("Loading VGABIOS of passthroughed gfx ...\n");
-        vgabios_sz =
-            round_option_rom((*(uint8_t *)(VGABIOS_PHYSICAL_ADDRESS+2)) * 512);
+       printf("Loading Gfx Video BIOS from file ...\n");
+       memcpy((void *)VGABIOS_PHYSICAL_ADDRESS, vgabios_pt, sizeof(vgabios_pt));
+       vgabios_sz = round_option_rom(sizeof(vgabios_pt));
         break;
     default:
         printf("No emulated VGA adaptor ...\n");


I can "make xen" successfully but when I proceeded to "make tools", errors were encountered.

Please see attached error output. How can I solve this problem?


-- 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) 
Technical Support Engineer 
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza 
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: teoenming@hotmail.com
Alma Maters: Singapore Polytechnic, National University of Singapore


On 08/29/2009 12:59 AM, Mr. Teo En Ming (Zhang Enming) wrote:
OK I believe the 3rd patch is not incomplete but there's a white space issue when I copied the code from the mailing list into my vi.

See http://www.htdig.org/mail/2000/11/0167.html

When I used the -l flag to patch using the 3rd patch, the number of errors was reduced.

[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# patch -l -p1 < intel-gfx-passthru-patch-3.patch 
patching file tools/firmware/hvmloader/Makefile
patching file tools/firmware/hvmloader/hvmloader.c
Hunk #1 FAILED at 688.
1 out of 1 hunk FAILED -- saving rejects to file tools/firmware/hvmloader/hvmloader.c.rej

Now patching tools/firmware/hvmloader/Makefile is successful but patching tools/firmware/hvmloader/hvmloader.c still failed.

-- 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) 
Technical Support Engineer 
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza 
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: teoenming@hotmail.com
Alma Maters: Singapore Polytechnic, National University of Singapore



On 08/28/2009 11:55 PM, Mr. Teo En Ming (Zhang Enming) wrote:
Dear Weidong,

A big big thanks for the vga passthrough patches for xen 3.5-unstable!!! These are eagerly anticipated patches. As I did not study computer science and computer architecture, I won't be able to write those patches you guys at Intel wrote.

I applied the following patches xen-gfx-passthrough.patch and qemu-gfx-passthrough.patch to xen 3.5-unstable without issues.

Then I tried to apply the 3rd patch you provided at http://lists.xensource.com/archives/html/xen-devel/2009-08/msg01047.html

I saved the following code

<CODE>
diff -r 494be76c1ad9 tools/firmware/hvmloader/Makefile
--- a/tools/firmware/hvmloader/Makefile Thu Aug 27 16:54:33 2009 +0800
+++ b/tools/firmware/hvmloader/Makefile Thu Aug 27 17:22:01 2009 +0800
@@ -50,6 +50,7 @@ roms.h: ../rombios/BIOS-bochs-latest ../
 roms.h: ../rombios/BIOS-bochs-latest ../vgabios/VGABIOS-lgpl-latest.bin \
    ../vgabios/VGABIOS-lgpl-latest.cirrus.bin ../etherboot/eb-roms.h
    sh ./mkhex rombios ../rombios/BIOS-bochs-latest > roms.h
+   sh ./mkhex vgabios_pt ../vgabios/vgabios-pt.bin >> roms.h
    sh ./mkhex vgabios_stdvga ../vgabios/VGABIOS-lgpl-latest.bin >> roms.h
    sh ./mkhex vgabios_cirrusvga \
        ../vgabios/VGABIOS-lgpl-latest.cirrus.bin >> roms.h
diff -r 494be76c1ad9 tools/firmware/hvmloader/hvmloader.c
--- a/tools/firmware/hvmloader/hvmloader.c  Thu Aug 27 16:54:33 2009 +0800
+++ b/tools/firmware/hvmloader/hvmloader.c  Thu Aug 27 17:23:00 2009 +0800
@@ -688,9 +688,9 @@ int main(void)
         vgabios_sz = round_option_rom(sizeof(vgabios_stdvga));
         break;
     case VGA_pt:
-        printf("Loading Gfx Video BIOS from 0xC0000 ...\n");
-        vgabios_sz =
-            round_option_rom((*(uint8_t *)(VGABIOS_PHYSICAL_ADDRESS+2)) * 512);
+         printf("Loading Gfx Video BIOS from file ...\n");
+         memcpy((void *)VGABIOS_PHYSICAL_ADDRESS, vgabios_pt, 
sizeof(vgabios_pt));
+         vgabios_sz = round_option_rom(sizeof(vgabios_pt));
         break;
     default:
         printf("No emulated VGA adaptor ...\n");
  
</CODE>

as intel-gfx-passthru-patch-3.patch and then I tried to apply the patch to xen 3.5-unstable. I got errors. I think it's because the 3rd patch you provided is incomplete.

Here's my patching process:

[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# find . -name vgabios
./tools/firmware/vgabios
./.hg/store/data/tools/firmware/vgabios
[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# cp ~enming/vgabios-pt.bin tools/firmware/vgabios/
[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# ls tools/firmware/vgabios/
biossums.c  clext.c      Makefile  TODO                 vbe.h            vgabios.h       vgatables.h
BUGS        COPYING      Notes     vbe.c                vbetables-gen.c  vgabios-pt.bin
ChangeLog   dataseghack  README    vbe_display_api.txt  vgabios.c        vgafonts.h
[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# pwd
/usr/src/xen-unstable.hg-vgapt
[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# wget http://lists.xensource.com/archives/html/xen-devel/2009-08/bincPiiAf0QWg.bin
--2009-08-28 23:18:21--  http://lists.xensource.com/archives/html/xen-devel/2009-08/bincPiiAf0QWg.bin
Resolving lists.xensource.com... 70.42.241.110
Connecting to lists.xensource.com|70.42.241.110|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12565 (12K) [application/octet-stream]
Saving to: `bincPiiAf0QWg.bin'

100%[======================================================================>] 12,565      30.7K/s   in 0.4s    

2009-08-28 23:18:22 (30.7 KB/s) - `bincPiiAf0QWg.bin' saved [12565/12565]

[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# mv bincPiiAf0QWg.bin xen-gfx-passthrough.patch
[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# vi xen-gfx-passthrough.patch 
[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# patch < xen-gfx-passthrough.patch 
can't find file to patch at input line 4
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r 5d7e7a250267 tools/firmware/hvmloader/config.h
|--- a/tools/firmware/hvmloader/config.h	Wed Aug 26 18:28:44 2009 +0800
|+++ b/tools/firmware/hvmloader/config.h	Thu Aug 27 16:54:24 2009 +0800
--------------------------
File to patch: ^C
[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# ex xen-gfx-passthrough.patch 
[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# patch -p1 < xen-gfx-passthrough.patch 
patching file tools/firmware/hvmloader/config.h
patching file tools/firmware/hvmloader/hvmloader.c
patching file tools/libxc/ia64/xc_ia64_hvm_build.c
patching file tools/libxc/xc_hvm_build.c
patching file tools/libxc/xc_linux.c
patching file tools/libxc/xenctrl.h
patching file tools/libxc/xenguest.h
patching file tools/python/xen/lowlevel/xc/xc.c
patching file tools/python/xen/xend/XendConfig.py
Hunk #1 succeeded at 174 (offset -1 lines).
patching file tools/python/xen/xend/image.py
Hunk #1 succeeded at 780 (offset -6 lines).
Hunk #3 succeeded at 895 (offset -6 lines).
patching file tools/python/xen/xm/create.py
[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# wget http://lists.xensource.com/archives/html/xen-devel/2009-08/binglLqkeq4Rj.bin
--2009-08-28 23:21:35--  http://lists.xensource.com/archives/html/xen-devel/2009-08/binglLqkeq4Rj.bin
Resolving lists.xensource.com... 70.42.241.110
Connecting to lists.xensource.com|70.42.241.110|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9841 (9.6K) [application/octet-stream]
Saving to: `binglLqkeq4Rj.bin'

100%[======================================================================>] 9,841       24.3K/s   in 0.4s    

2009-08-28 23:21:36 (24.3 KB/s) - `binglLqkeq4Rj.bin' saved [9841/9841]

[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# mv binglLqkeq4Rj.bin qemu-gfx-passthrough.patch
[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# vi qemu-gfx-passthrough.patch 
[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# find . -name hw
./tools/ioemu-remote/hw
./.hg/store/data/tools/ioemu/hw
[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# mv qemu-gfx-passthrough.patch tools/ioemu-remote/
[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# cd tools/ioemu-remote/
[root@fedora11-x86-64-host ioemu-remote]# patch -p1 < qemu-
qemu-aio.h                  qemu-img.c                  qemu-sockets.c
qemu-binfmt-conf.sh         qemu-img.texi               qemu-tech.texi
qemu-char.c                 qemu-lock.h                 qemu-timer.h
qemu-char.h                 qemu-log.h                  qemu-tool.c
qemu-common.h               qemu-malloc.c               qemu-xen.h
qemu-doc.texi               qemu-nbd.c                  
qemu-gfx-passthrough.patch  qemu-nbd.texi               
[root@fedora11-x86-64-host ioemu-remote]# patch -p1 < qemu-gfx-passthrough.patch 
patching file hw/pass-through.c
patching file hw/pass-through.h
patching file hw/pc.c
patching file vl.c
[root@fedora11-x86-64-host ioemu-remote]# cd ..
[root@fedora11-x86-64-host tools]# cd ..
[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# vi intel-gfx-passthru-patch-3.patch
[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# patch -p1 < intel-gfx-passthru-patch-3.patch 
patching file tools/firmware/hvmloader/Makefile
Hunk #1 FAILED at 50.
1 out of 1 hunk FAILED -- saving rejects to file tools/firmware/hvmloader/Makefile.rej
patching file tools/firmware/hvmloader/hvmloader.c
patch: **** malformed patch at line 24: sizeof(vgabios_pt));

[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# vi intel-gfx-passthru-patch-3.patch 

For everybody's convenience, I have attached intel-gfx-passthru-patch-3.patch and the firmware for my nVidia GeForce 8400 GS PCI Express x16 graphics card in this email.

Please help me complete intel-gfx-passthru-patch-3.patch as I really need it.

Thank you very much!!!
  
-- 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) 
Technical Support Engineer 
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza 
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: teoenming@hotmail.com
Alma Maters: Singapore Polytechnic, National University of Singapore
This patch supports basic gfx passthrough on QEMU:
  - disable emulated VGA adpater if there is passthroughed gfx
  - register/unregister legacy VGA I/O ports and MMIOs for passthroughed gfx

Signed-off-by: Ben Lin <ben.y.lin@intel.com>
Signed-off-by: Weidong Han <weidong.han@intel.com>
No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.409 / Virus Database: 270.13.69/2328 - Release Date: 08/27/09
18:02:00

No virus found in this outgoing message.
Checked by AVG - www.avg.com 
Version: 8.5.409 / Virus Database: 270.13.71/2330 - Release Date: 08/27/09
18:02:00
  

_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel


_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel








--------------030500030705000502080909--

--------------050107020109010901080704
Content-Type: text/plain;
 name="error.output.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
 filename="error.output.txt"

rm -rf .word_count *.aux *.dvi *.bbl *.blg *.glo *.idx *~=20
rm -rf *.ilg *.log *.ind *.toc *.bak core
rm -rf  ps pdf html
rm -rf api
rm -rf man5
rm -rf man1
make[1]: Leaving directory `/usr/src/xen-unstable.hg-vgapt/docs'
[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# cp ~enming/vgabios-pt.=
bin tools/firmware/vgabios/
[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# cp ~enming/xen-gfx-pas=
sthrough.patch .
[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# patch -p1 < xen-gfx-pa=
ssthrough.patch=20
patching file tools/firmware/hvmloader/config.h
patching file tools/firmware/hvmloader/hvmloader.c
patching file tools/libxc/ia64/xc_ia64_hvm_build.c
patching file tools/libxc/xc_hvm_build.c
patching file tools/libxc/xc_linux.c
patching file tools/libxc/xenctrl.h
patching file tools/libxc/xenguest.h
patching file tools/python/xen/lowlevel/xc/xc.c
patching file tools/python/xen/xend/XendConfig.py
Hunk #1 succeeded at 174 (offset -1 lines).
patching file tools/python/xen/xend/image.py
Hunk #1 succeeded at 780 (offset -6 lines).
Hunk #3 succeeded at 895 (offset -6 lines).
patching file tools/python/xen/xm/create.py
[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# cp ~enming/qemu-gfx-pa=
ssthrough.patch tools/ioemu-remote/
[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# cd tools/ioemu-remote/=

[root@fedora11-x86-64-host ioemu-remote]# patch -p1 < qemu-gfx-passthroug=
h.patch=20
patching file hw/pass-through.c
patching file hw/pass-through.h
patching file hw/pc.c
patching file vl.c
[root@fedora11-x86-64-host ioemu-remote]# cd ..
[root@fedora11-x86-64-host tools]# cd ..
[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# ls
buildconfigs  Config.mk  dist  extras      Makefile  stubdom  unmodified_=
drivers  xen-gfx-passthrough.patch
config        COPYING    docs  install.sh  README    tools    xen
[root@fedora11-x86-64-host xen-unstable.hg-vgapt]# cd tools/firmware/hvml=
oader/
[root@fedora11-x86-64-host hvmloader]# cp Makefile Makefile.new
[root@fedora11-x86-64-host hvmloader]# vi Makefile.new=20
[root@fedora11-x86-64-host hvmloader]# cp hvmloader.c hvmloader.c.new
[root@fedora11-x86-64-host hvmloader]# vi hvmloader.c.new=20
[root@fedora11-x86-64-host hvmloader]# man diff
[root@fedora11-x86-64-host hvmloader]# diff -u Makefile Makefile.new > in=
tel-gfx-passthru-patch-3.patch
[root@fedora11-x86-64-host hvmloader]# vi intel-gfx-passthru-patch-3.patc=
h=20
[root@fedora11-x86-64-host hvmloader]# diff -u hvmloader.c hvmloader.c.ne=
w >> intel-gfx-passthru-patch-3.patch=20
[root@fedora11-x86-64-host hvmloader]# vi intel-gfx-passthru-patch-3.patc=
h=20
[root@fedora11-x86-64-host hvmloader]# vi ~enming/intel-gfx-passthru-patc=
h-3.patch=20
[root@fedora11-x86-64-host hvmloader]# rm ~enming/intel-gfx-passthru-patc=
h-3.patch=20
rm: remove regular file `/home/enming/intel-gfx-passthru-patch-3.patch'? =
y
[root@fedora11-x86-64-host hvmloader]# vi intel-gfx-passthru-patch-3.patc=
h=20
[root@fedora11-x86-64-host hvmloader]# patch < intel-gfx-passthru-patch-3=
=2Epatch=20
patching file Makefile
patching file hvmloader.c
[root@fedora11-x86-64-host hvmloader]# vi Makefile
[root@fedora11-x86-64-host hvmloader]# vi hvmloader.c
[root@fedora11-x86-64-host hvmloader]# cd ..
You have new mail in /var/spool/mail/root
[root@fedora11-x86-64-host firmware]# cd ..
[root@fedora11-x86-64-host tools]# cd ..

make iasl
make[9]: Entering directory `/usr/src/xen-unstable.hg-vgapt/tools/firmwar=
e/hvmloader/acpi'

ACPI ASL compiler (iasl) is needed
Download and install Intel ACPI CA from
http://acpica.org/downloads/

make[9]: *** [iasl] Error 1
make[9]: Leaving directory `/usr/src/xen-unstable.hg-vgapt/tools/firmware=
/hvmloader/acpi'
make[8]: *** [dsdt.c] Error 2
make[8]: Leaving directory `/usr/src/xen-unstable.hg-vgapt/tools/firmware=
/hvmloader/acpi'
make[7]: *** [subdir-all-acpi] Error 2
make[7]: Leaving directory `/usr/src/xen-unstable.hg-vgapt/tools/firmware=
/hvmloader'
make[6]: *** [subdirs-all] Error 2
make[6]: Leaving directory `/usr/src/xen-unstable.hg-vgapt/tools/firmware=
/hvmloader'
make[5]: *** [subdir-all-hvmloader] Error 2
make[5]: Leaving directory `/usr/src/xen-unstable.hg-vgapt/tools/firmware=
'
make[4]: *** [subdirs-all] Error 2
make[4]: Leaving directory `/usr/src/xen-unstable.hg-vgapt/tools/firmware=
'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/xen-unstable.hg-vgapt/tools/firmware=
'
make[2]: *** [subdir-install-firmware] Error 2
make[2]: Leaving directory `/usr/src/xen-unstable.hg-vgapt/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/usr/src/xen-unstable.hg-vgapt/tools'
make: *** [install-tools] Error 2

acpica-unix-20090730/executer/exsystem.c
acpica-unix-20090730/executer/exutils.c
acpica-unix-20090730/generate/
acpica-unix-20090730/generate/lint/
acpica-unix-20090730/generate/lint/files.lnt
acpica-unix-20090730/generate/lint/lint.bat
acpica-unix-20090730/generate/lint/lset.bat
acpica-unix-20090730/generate/lint/options.lnt
acpica-unix-20090730/generate/lint/readme.txt
acpica-unix-20090730/generate/lint/std16.lnt
acpica-unix-20090730/generate/lint/std32.lnt
acpica-unix-20090730/generate/lint/std64.lnt
acpica-unix-20090730/hardware/
acpica-unix-20090730/hardware/hwacpi.c
acpica-unix-20090730/hardware/hwgpe.c
acpica-unix-20090730/hardware/hwregs.c
acpica-unix-20090730/hardware/hwsleep.c
acpica-unix-20090730/hardware/hwtimer.c
acpica-unix-20090730/hardware/hwvalid.c
acpica-unix-20090730/hardware/hwxface.c
acpica-unix-20090730/include/
acpica-unix-20090730/include/acapps.h
acpica-unix-20090730/include/accommon.h
acpica-unix-20090730/include/acconfig.h
acpica-unix-20090730/include/acdebug.h
acpica-unix-20090730/include/acdisasm.h
acpica-unix-20090730/include/acdispat.h
acpica-unix-20090730/include/acevents.h
acpica-unix-20090730/include/acexcep.h
acpica-unix-20090730/include/acglobal.h
acpica-unix-20090730/include/achware.h
acpica-unix-20090730/include/acinterp.h
acpica-unix-20090730/include/aclocal.h
acpica-unix-20090730/include/acmacros.h
acpica-unix-20090730/include/acnames.h
acpica-unix-20090730/include/acnamesp.h
acpica-unix-20090730/include/acobject.h
acpica-unix-20090730/include/acopcode.h
acpica-unix-20090730/include/acoutput.h
acpica-unix-20090730/include/acparser.h
acpica-unix-20090730/include/acpi.h
acpica-unix-20090730/include/acpiosxf.h
acpica-unix-20090730/include/acpixf.h
acpica-unix-20090730/include/acpredef.h
acpica-unix-20090730/include/acresrc.h
acpica-unix-20090730/include/acrestyp.h
acpica-unix-20090730/include/acstruct.h
acpica-unix-20090730/include/actables.h
acpica-unix-20090730/include/actbl.h
acpica-unix-20090730/include/actbl1.h
acpica-unix-20090730/include/actbl2.h
acpica-unix-20090730/include/actypes.h
acpica-unix-20090730/include/acutils.h
acpica-unix-20090730/include/amlcode.h
acpica-unix-20090730/include/amlresrc.h
acpica-unix-20090730/include/platform/
acpica-unix-20090730/include/platform/accygwin.h
acpica-unix-20090730/include/platform/acefi.h
acpica-unix-20090730/include/platform/acenv.h
acpica-unix-20090730/include/platform/acfreebsd.h
acpica-unix-20090730/include/platform/acgcc.h
acpica-unix-20090730/include/platform/acintel.h
acpica-unix-20090730/include/platform/aclinux.h
acpica-unix-20090730/include/platform/acmsvc.h
acpica-unix-20090730/include/platform/acnetbsd.h
acpica-unix-20090730/include/platform/acos2.h
acpica-unix-20090730/include/platform/acwin.h
acpica-unix-20090730/include/platform/acwin64.h
acpica-unix-20090730/namespace/
acpica-unix-20090730/namespace/nsaccess.c
acpica-unix-20090730/namespace/nsalloc.c
acpica-unix-20090730/namespace/nsdump.c
acpica-unix-20090730/namespace/nsdumpdv.c
acpica-unix-20090730/namespace/nseval.c
acpica-unix-20090730/namespace/nsinit.c
acpica-unix-20090730/namespace/nsload.c
acpica-unix-20090730/namespace/nsnames.c
acpica-unix-20090730/namespace/nsobject.c
acpica-unix-20090730/namespace/nsparse.c
acpica-unix-20090730/namespace/nspredef.c
acpica-unix-20090730/namespace/nsrepair.c
acpica-unix-20090730/namespace/nssearch.c
acpica-unix-20090730/namespace/nsutils.c
acpica-unix-20090730/namespace/nswalk.c
acpica-unix-20090730/namespace/nsxfeval.c
acpica-unix-20090730/namespace/nsxfname.c
acpica-unix-20090730/namespace/nsxfobj.c
acpica-unix-20090730/osunixxf.c
acpica-unix-20090730/os_specific/
acpica-unix-20090730/os_specific/service_layers/
acpica-unix-20090730/os_specific/service_layers/osunixdir.c
acpica-unix-20090730/os_specific/service_layers/osunixxf.c
acpica-unix-20090730/os_specific/service_layers/oswindir.c
acpica-unix-20090730/os_specific/service_layers/oswintbl.c
acpica-unix-20090730/os_specific/service_layers/oswinxf.c
acpica-unix-20090730/parser/
acpica-unix-20090730/parser/psargs.c
acpica-unix-20090730/parser/psloop.c
acpica-unix-20090730/parser/psopcode.c
acpica-unix-20090730/parser/psparse.c
acpica-unix-20090730/parser/psscope.c
acpica-unix-20090730/parser/pstree.c
acpica-unix-20090730/parser/psutils.c
acpica-unix-20090730/parser/pswalk.c
acpica-unix-20090730/parser/psxface.c
acpica-unix-20090730/README
acpica-unix-20090730/resources/
acpica-unix-20090730/resources/rsaddr.c
acpica-unix-20090730/resources/rscalc.c
acpica-unix-20090730/resources/rscreate.c
acpica-unix-20090730/resources/rsdump.c
acpica-unix-20090730/resources/rsinfo.c
acpica-unix-20090730/resources/rsio.c
acpica-unix-20090730/resources/rsirq.c
acpica-unix-20090730/resources/rslist.c
acpica-unix-20090730/resources/rsmemory.c
acpica-unix-20090730/resources/rsmisc.c
acpica-unix-20090730/resources/rsutils.c
acpica-unix-20090730/resources/rsxface.c
acpica-unix-20090730/tables/
acpica-unix-20090730/tables/tbfadt.c
acpica-unix-20090730/tables/tbfind.c
acpica-unix-20090730/tables/tbinstal.c
acpica-unix-20090730/tables/tbutils.c
acpica-unix-20090730/tables/tbxface.c
acpica-unix-20090730/tables/tbxfroot.c
acpica-unix-20090730/tools/
acpica-unix-20090730/tools/acpiexec/
acpica-unix-20090730/tools/acpiexec/aecommon.h
acpica-unix-20090730/tools/acpiexec/aeexec.c
acpica-unix-20090730/tools/acpiexec/aehandlers.c
acpica-unix-20090730/tools/acpiexec/aemain.c
acpica-unix-20090730/tools/acpiexec/aetables.c
acpica-unix-20090730/tools/acpiexec/Makefile
acpica-unix-20090730/tools/acpiexec/osunixdir.c
acpica-unix-20090730/tools/acpisrc/
acpica-unix-20090730/tools/acpisrc/acpisrc.h
acpica-unix-20090730/tools/acpisrc/ascase.c
acpica-unix-20090730/tools/acpisrc/asconvrt.c
acpica-unix-20090730/tools/acpisrc/asfile.c
acpica-unix-20090730/tools/acpisrc/asmain.c
acpica-unix-20090730/tools/acpisrc/asremove.c
acpica-unix-20090730/tools/acpisrc/astable.c
acpica-unix-20090730/tools/acpisrc/asutils.c
acpica-unix-20090730/tools/acpisrc/Makefile
acpica-unix-20090730/tools/acpisrc/osunixdir.c
acpica-unix-20090730/tools/acpixtract/
acpica-unix-20090730/tools/acpixtract/acpixtract.c
acpica-unix-20090730/tools/acpixtract/Makefile
acpica-unix-20090730/tools/examples/
acpica-unix-20090730/tools/examples/examples.c
acpica-unix-20090730/utilities/
acpica-unix-20090730/utilities/utalloc.c
acpica-unix-20090730/utilities/utcache.c
acpica-unix-20090730/utilities/utclib.c
acpica-unix-20090730/utilities/utcopy.c
acpica-unix-20090730/utilities/utdebug.c
acpica-unix-20090730/utilities/utdelete.c
acpica-unix-20090730/utilities/uteval.c
acpica-unix-20090730/utilities/utglobal.c
acpica-unix-20090730/utilities/utids.c
acpica-unix-20090730/utilities/utinit.c
acpica-unix-20090730/utilities/utlock.c
acpica-unix-20090730/utilities/utmath.c
acpica-unix-20090730/utilities/utmisc.c
acpica-unix-20090730/utilities/utmutex.c
acpica-unix-20090730/utilities/utobject.c
acpica-unix-20090730/utilities/utresrc.c
acpica-unix-20090730/utilities/utstate.c
acpica-unix-20090730/utilities/uttrack.c
acpica-unix-20090730/utilities/utxface.c
[root@fedora11-x86-64-host src]# cd acpica-unix-20090730
[root@fedora11-x86-64-host acpica-unix-20090730]# cd compiler/
[root@fedora11-x86-64-host compiler]# make
bison -v -d -y -pAslCompiler aslcompiler.y
cp y.tab.c aslcompilerparse.c
cp y.tab.h aslcompiler.y.h
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o aslcompilerparse.o aslcompilerparse.c
flex -i -PAslCompiler -oaslcompilerlex.c aslcompiler.l
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o aslcompilerlex.o aslcompilerlex.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o aslanalyze.o aslanalyze.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o aslcodegen.o aslcodegen.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o aslcompile.o aslcompile.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o aslerror.o aslerror.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o aslfiles.o aslfiles.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o asllength.o asllength.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o asllisting.o asllisting.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o aslload.o aslload.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o asllookup.o asllookup.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o aslmain.o aslmain.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o aslmap.o aslmap.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o aslopcodes.o aslopcodes.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o asloperands.o asloperands.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o aslresource.o aslresource.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o aslrestype1.o aslrestype1.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o aslrestype2.o aslrestype2.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o aslstartup.o aslstartup.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o asltree.o asltree.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o aslutils.o aslutils.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o asltransform.o asltransform.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o aslfold.o aslfold.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o aslstubs.o aslstubs.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o aslopt.o aslopt.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../common/getopt.o ../common/getopt.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../utilities/utalloc.o ../utilities/utalloc.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../utilities/utcache.o ../utilities/utcache.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../utilities/utcopy.o ../utilities/utcopy.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../utilities/utdebug.o ../utilities/utdebug.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../utilities/utdelete.o ../utilities/utdelete.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../utilities/utglobal.o ../utilities/utglobal.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../utilities/utinit.o ../utilities/utinit.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../utilities/utlock.o ../utilities/utlock.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../utilities/utobject.o ../utilities/utobject.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../utilities/utmisc.o ../utilities/utmisc.c
=2E./utilities/utmisc.c: In function =E2=80=98AcpiUtIsAmlTable=E2=80=99:
=2E./utilities/utmisc.c:269: warning: dereferencing type-punned pointer w=
ill break strict-aliasing rules
=2E./utilities/utmisc.c:270: warning: dereferencing type-punned pointer w=
ill break strict-aliasing rules
=2E./utilities/utmisc.c:271: warning: dereferencing type-punned pointer w=
ill break strict-aliasing rules
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../utilities/utmath.o ../utilities/utmath.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../utilities/utmutex.o ../utilities/utmutex.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../utilities/utresrc.o ../utilities/utresrc.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../utilities/utstate.o ../utilities/utstate.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../utilities/utxface.o ../utilities/utxface.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../namespace/nsaccess.o ../namespace/nsaccess.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../namespace/nsalloc.o ../namespace/nsalloc.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../namespace/nsdump.o ../namespace/nsdump.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../namespace/nsnames.o ../namespace/nsnames.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../namespace/nsobject.o ../namespace/nsobject.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../namespace/nsparse.o ../namespace/nsparse.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../namespace/nssearch.o ../namespace/nssearch.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../namespace/nsutils.o ../namespace/nsutils.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../namespace/nswalk.o ../namespace/nswalk.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../namespace/nsxfobj.o ../namespace/nsxfobj.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../parser/psargs.o ../parser/psargs.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../parser/psloop.o ../parser/psloop.c
=2E./parser/psloop.c: In function =E2=80=98AcpiPsGetArguments=E2=80=99:
=2E./parser/psloop.c:624: warning: format =E2=80=98%.4X=E2=80=99 expects =
type =E2=80=98unsigned int=E2=80=99, but argument 5 has type =E2=80=98lon=
g unsigned int=E2=80=99
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../parser/psopcode.o ../parser/psopcode.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../parser/psparse.o ../parser/psparse.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../parser/psscope.o ../parser/psscope.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../parser/pstree.o ../parser/pstree.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../parser/psutils.o ../parser/psutils.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../parser/pswalk.o ../parser/pswalk.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../dispatcher/dswscope.o ../dispatcher/dswscope.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../dispatcher/dswstate.o ../dispatcher/dswstate.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../dispatcher/dsfield.o ../dispatcher/dsfield.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../dispatcher/dsobject.o ../dispatcher/dsobject.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../dispatcher/dsopcode.o ../dispatcher/dsopcode.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../dispatcher/dsutils.o ../dispatcher/dsutils.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../dispatcher/dswexec.o ../dispatcher/dswexec.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../dispatcher/dswload.o ../dispatcher/dswload.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../executer/exconvrt.o ../executer/exconvrt.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../executer/excreate.o ../executer/excreate.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../executer/exdump.o ../executer/exdump.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../executer/exmisc.o ../executer/exmisc.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../executer/exmutex.o ../executer/exmutex.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../executer/exnames.o ../executer/exnames.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../executer/exoparg1.o ../executer/exoparg1.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../executer/exoparg2.o ../executer/exoparg2.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../executer/exoparg3.o ../executer/exoparg3.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../executer/exoparg6.o ../executer/exoparg6.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../executer/exprep.o ../executer/exprep.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../executer/exregion.o ../executer/exregion.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../executer/exresnte.o ../executer/exresnte.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../executer/exresolv.o ../executer/exresolv.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../executer/exresop.o ../executer/exresop.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../executer/exstore.o ../executer/exstore.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../executer/exstoren.o ../executer/exstoren.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../executer/exstorob.o ../executer/exstorob.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../executer/exsystem.o ../executer/exsystem.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../executer/exutils.o ../executer/exutils.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../common/adfile.o ../common/adfile.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../common/adisasm.o ../common/adisasm.c
=2E./common/adisasm.c: In function =E2=80=98AdCreateTableHeader=E2=80=99:=

=2E./common/adisasm.c:753: warning: dereferencing type-punned pointer wil=
l break strict-aliasing rules
=2E./common/adisasm.c: In function =E2=80=98AdGetLocalTables=E2=80=99:
=2E./common/adisasm.c:1082: warning: dereferencing type-punned pointer wi=
ll break strict-aliasing rules
=2E./common/adisasm.c:1095: warning: dereferencing type-punned pointer wi=
ll break strict-aliasing rules
=2E./common/adisasm.c:1116: warning: dereferencing type-punned pointer wi=
ll break strict-aliasing rules
=2E./common/adisasm.c:1130: warning: dereferencing type-punned pointer wi=
ll break strict-aliasing rules
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../common/adwalk.o ../common/adwalk.c
=2E./common/adwalk.c: In function =E2=80=98AcpiDmLoadDescendingOp=E2=80=99=
:
=2E./common/adwalk.c:691: warning: dereferencing type-punned pointer will=
 break strict-aliasing rules
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../common/dmrestag.o ../common/dmrestag.c
=2E./common/dmrestag.c: In function =E2=80=98AcpiDmUpdateResourceName=E2=80=
=99:
=2E./common/dmrestag.c:732: warning: dereferencing type-punned pointer wi=
ll break strict-aliasing rules
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../common/dmtable.o ../common/dmtable.c
=2E./common/dmtable.c: In function =E2=80=98AcpiDmDumpDataTable=E2=80=99:=

=2E./common/dmtable.c:383: warning: dereferencing type-punned pointer wil=
l break strict-aliasing rules
=2E./common/dmtable.c:388: warning: dereferencing type-punned pointer wil=
l break strict-aliasing rules
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../common/dmtbinfo.o ../common/dmtbinfo.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../common/dmtbdump.o ../common/dmtbdump.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../debugger/dbfileio.o ../debugger/dbfileio.c
=2E./debugger/dbfileio.c: In function =E2=80=98AcpiDbReadTable=E2=80=99:
=2E./debugger/dbfileio.c:351: warning: dereferencing type-punned pointer =
will break strict-aliasing rules
=2E./debugger/dbfileio.c:352: warning: dereferencing type-punned pointer =
will break strict-aliasing rules
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../disassembler/dmbuffer.o ../disassembler/dmbuffer.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../disassembler/dmnames.o ../disassembler/dmnames.c
=2E./disassembler/dmnames.c: In function =E2=80=98AcpiDmDumpName=E2=80=99=
:
=2E./disassembler/dmnames.c:162: warning: dereferencing type-punned point=
er will break strict-aliasing rules
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../disassembler/dmopcode.o ../disassembler/dmopcode.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../disassembler/dmobject.o ../disassembler/dmobject.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../disassembler/dmresrc.o ../disassembler/dmresrc.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../disassembler/dmresrcl.o ../disassembler/dmresrcl.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../disassembler/dmresrcs.o ../disassembler/dmresrcs.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../disassembler/dmutils.o ../disassembler/dmutils.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../disassembler/dmwalk.o ../disassembler/dmwalk.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../tables/tbfadt.o ../tables/tbfadt.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../tables/tbinstal.o ../tables/tbinstal.c
=2E./tables/tbinstal.c: In function =E2=80=98AcpiTbStoreTable=E2=80=99:
=2E./tables/tbinstal.c:448: warning: dereferencing type-punned pointer wi=
ll break strict-aliasing rules
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../tables/tbutils.o ../tables/tbutils.c
=2E./tables/tbutils.c: In function =E2=80=98AcpiTbPrintTableHeader=E2=80=99=
:
=2E./tables/tbutils.c:282: warning: dereferencing type-punned pointer wil=
l break strict-aliasing rules
=2E./tables/tbutils.c:290: warning: dereferencing type-punned pointer wil=
l break strict-aliasing rules
=2E./tables/tbutils.c: In function =E2=80=98AcpiTbInstallTable=E2=80=99:
=2E./tables/tbutils.c:445: warning: dereferencing type-punned pointer wil=
l break strict-aliasing rules
=2E./tables/tbutils.c:447: warning: dereferencing type-punned pointer wil=
l break strict-aliasing rules
=2E./tables/tbutils.c:485: warning: dereferencing type-punned pointer wil=
l break strict-aliasing rules
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../tables/tbxface.o ../tables/tbxface.c
cc -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../includ=
e    -c -o ../osunixxf.o ../osunixxf.c
cc  aslcompilerparse.o aslcompilerlex.o aslanalyze.o aslcodegen.o aslcomp=
ile.o aslerror.o aslfiles.o asllength.o asllisting.o aslload.o asllookup.=
o aslmain.o aslmap.o aslopcodes.o asloperands.o aslresource.o aslrestype1=
=2Eo aslrestype2.o aslstartup.o asltree.o aslutils.o asltransform.o aslfo=
ld.o aslstubs.o aslopt.o ../common/getopt.o ../utilities/utalloc.o ../uti=
lities/utcache.o ../utilities/utcopy.o ../utilities/utdebug.o ../utilitie=
s/utdelete.o ../utilities/utglobal.o ../utilities/utinit.o ../utilities/u=
tlock.o ../utilities/utobject.o ../utilities/utmisc.o ../utilities/utmath=
=2Eo ../utilities/utmutex.o ../utilities/utresrc.o ../utilities/utstate.o=
 ../utilities/utxface.o ../namespace/nsaccess.o ../namespace/nsalloc.o ..=
/namespace/nsdump.o ../namespace/nsnames.o ../namespace/nsobject.o ../nam=
espace/nsparse.o ../namespace/nssearch.o ../namespace/nsutils.o ../namesp=
ace/nswalk.o ../namespace/nsxfobj.o ../parser/psargs.o ../parser/psloop.o=
 ../parser/psopcode.o ../parser/psparse.o ../parser/psscope.o ../parser/p=
stree.o ../parser/psutils.o ../parser/pswalk.o ../dispatcher/dswscope.o .=
=2E/dispatcher/dswstate.o ../dispatcher/dsfield.o ../dispatcher/dsobject.=
o ../dispatcher/dsopcode.o ../dispatcher/dsutils.o ../dispatcher/dswexec.=
o ../dispatcher/dswload.o ../executer/exconvrt.o ../executer/excreate.o .=
=2E/executer/exdump.o ../executer/exmisc.o ../executer/exmutex.o ../execu=
ter/exnames.o ../executer/exoparg1.o ../executer/exoparg2.o ../executer/e=
xoparg3.o ../executer/exoparg6.o ../executer/exprep.o ../executer/exregio=
n.o ../executer/exresnte.o ../executer/exresolv.o ../executer/exresop.o .=
=2E/executer/exstore.o ../executer/exstoren.o ../executer/exstorob.o ../e=
xecuter/exsystem.o ../executer/exutils.o ../common/adfile.o ../common/adi=
sasm.o ../common/adwalk.o ../common/dmrestag.o ../common/dmtable.o ../com=
mon/dmtbinfo.o ../common/dmtbdump.o ../debugger/dbfileio.o ../disassemble=
r/dmbuffer.o ../disassembler/dmnames.o ../disassembler/dmopcode.o ../disa=
ssembler/dmobject.o ../disassembler/dmresrc.o ../disassembler/dmresrcl.o =
=2E./disassembler/dmresrcs.o ../disassembler/dmutils.o ../disassembler/dm=
walk.o ../tables/tbfadt.o ../tables/tbinstal.o ../tables/tbutils.o ../tab=
les/tbxface.o ../osunixxf.o \
		 -lpthread -lrt -o iasl
You have new mail in /var/spool/mail/root
[root@fedora11-x86-64-host compiler]# make install
make: *** No rule to make target `install'.  Stop.
[root@fedora11-x86-64-host compiler]# make help
make: *** No rule to make target `help'.  Stop.
[root@fedora11-x86-64-host compiler]# vi Makefile=20
[root@fedora11-x86-64-host compiler]# cd ..
[root@fedora11-x86-64-host acpica-unix-20090730]# ls
changes.txt  debugger      events    hardware   os_specific  parser     t=
ables
common       disassembler  executer  include    osunixxf.c   README     t=
ools
compiler     dispatcher    generate  namespace  osunixxf.o   resources  u=
tilities
[root@fedora11-x86-64-host acpica-unix-20090730]# vi README=20
[root@fedora11-x86-64-host acpica-unix-20090730]# cd compiler/
[root@fedora11-x86-64-host compiler]# ls
aslanalyze.c      aslcompilerlex.o    aslfiles.o    aslload.o     asloper=
ands.c  aslrestype2.o   asltypes.h
aslanalyze.o      aslcompilerparse.c  aslfold.c     asllookup.c   asloper=
ands.o  aslstartup.c    aslutils.c
aslcodegen.c      aslcompilerparse.o  aslfold.o     asllookup.o   aslopt.=
c       aslstartup.o    aslutils.o
aslcodegen.o      aslcompiler.y       aslglobal.h   aslmain.c     aslopt.=
o       aslstubs.c      iasl
aslcompile.c      aslcompiler.y.h     asllength.c   aslmain.o     aslreso=
urce.c  aslstubs.o      Makefile
aslcompile.o      asldefine.h         asllength.o   aslmap.c      aslreso=
urce.o  asltransform.c  readme.txt
aslcompiler.h     aslerror.c          asllisting.c  aslmap.o      aslrest=
ype1.c  asltransform.o  y.output
aslcompiler.l     aslerror.o          asllisting.o  aslopcodes.c  aslrest=
ype1.o  asltree.c       y.tab.c
aslcompilerlex.c  aslfiles.c          aslload.c     aslopcodes.o  aslrest=
ype2.c  asltree.o       y.tab.h
[root@fedora11-x86-64-host compiler]# file iasl=20
iasl: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically li=
nked (uses shared libs), for GNU/Linux 2.6.18, not stripped
[root@fedora11-x86-64-host compiler]# echo $PATH
/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib64/cca=
che:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bi=
n
[root@fedora11-x86-64-host compiler]# cp iasl /usr/local/bin/

make -C acpi all
make[8]: Entering directory `/usr/src/xen-unstable.hg-vgapt/tools/firmwar=
e/hvmloader/acpi'
make iasl
make[9]: Entering directory `/usr/src/xen-unstable.hg-vgapt/tools/firmwar=
e/hvmloader/acpi'
make[9]: `/usr/local/bin/iasl' is up to date.
make[9]: Leaving directory `/usr/src/xen-unstable.hg-vgapt/tools/firmware=
/hvmloader/acpi'
iasl -tc ssdt_tpm.asl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20090730 [Aug 29 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 4.0

ASL Input:  ssdt_tpm.asl - 31 lines, 1111 bytes, 3 keywords
AML Output: SSDT_TPM.aml - 76 bytes, 3 named objects, 0 executable opcode=
s

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
mv ssdt_tpm.hex ssdt_tpm.h
rm -f *.aml
gcc   -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m32 -march=
=3Di686 -g -fno-strict-aliasing -std=3Dgnu99 -Wall -Wstrict-prototypes -W=
no-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .=
build.o.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-=
refs -Werror -fno-stack-protector -fno-builtin -msoft-float -I. -I.. -I..=
/../../../tools/include -c -o build.o build.c
build.c: In function =E2=80=98construct_secondary_tables=E2=80=99:
build.c:194: error: =E2=80=98AmlCode_TPM=E2=80=99 undeclared (first use i=
n this function)
build.c:194: error: (Each undeclared identifier is reported only once
build.c:194: error: for each function it appears in.)
make[8]: *** [build.o] Error 1
make[8]: Leaving directory `/usr/src/xen-unstable.hg-vgapt/tools/firmware=
/hvmloader/acpi'
make[7]: *** [subdir-all-acpi] Error 2
make[7]: Leaving directory `/usr/src/xen-unstable.hg-vgapt/tools/firmware=
/hvmloader'
make[6]: *** [subdirs-all] Error 2
make[6]: Leaving directory `/usr/src/xen-unstable.hg-vgapt/tools/firmware=
/hvmloader'
make[5]: *** [subdir-all-hvmloader] Error 2
make[5]: Leaving directory `/usr/src/xen-unstable.hg-vgapt/tools/firmware=
'
make[4]: *** [subdirs-all] Error 2
make[4]: Leaving directory `/usr/src/xen-unstable.hg-vgapt/tools/firmware=
'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/xen-unstable.hg-vgapt/tools/firmware=
'
make[2]: *** [subdir-install-firmware] Error 2
make[2]: Leaving directory `/usr/src/xen-unstable.hg-vgapt/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/usr/src/xen-unstable.hg-vgapt/tools'
make: *** [install-tools] Error 2


--------------050107020109010901080704
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

--------------050107020109010901080704--