Re: [edk2] How to include a .FFS file directly into an .FV

2014-06-11 Thread Lin, Jie
Maybe. But I have not tried it from fdf yet. /Auber From: Tim Lewis [mailto:tim.le...@insyde.com] Sent: Thursday, June 12, 2014 1:29 PM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] How to include a .FFS file directly into an .FV You can't do it from .fdf? Tim From: Lin, Jie [mailto:j

Re: [edk2] How to include a .FFS file directly into an .FV

2014-06-11 Thread Tim Lewis
You can't do it from .fdf? Tim From: Lin, Jie [mailto:jie@intel.com] Sent: Wednesday, June 11, 2014 10:23 PM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] How to include a .FFS file directly into an .FV Tim, You need a tool to add FFS into FV. Intel Tiano team has

Re: [edk2] How to include a .FFS file directly into an .FV

2014-06-11 Thread Lin, Jie
Tim, You need a tool to add FFS into FV. Intel Tiano team has developed a tool called FMMT that could meet your need. Cheers! Auber From: Tim Lewis [mailto:tim.le...@insyde.com] Sent: Thursday, June 12, 2014 5:50 AM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] How to

Re: [edk2] How to include a .FFS file directly into an .FV

2014-06-11 Thread Tim Lewis
Andrew. Yes. I'm trying to put an already-formed FFS file, complete with header, file type, etc. I could use SECTION or I could create an INF, but I'd rather do neither and just use the FFS. Hmmm... Tim From: Andrew Fish [mailto:af...@apple.com] Sent: Wednesday, June 11, 2014 2:44 PM To: edk2-d

Re: [edk2] How to include a .FFS file directly into an .FV

2014-06-11 Thread Andrew Fish
On Jun 11, 2014, at 2:16 PM, Tim Lewis wrote: > I have the .FFS, complete with dependency expression sections and UI > sections, etc. And now I want to include that into my FV in my FDF > > FILE RAW doesn’t do it (the filetype is always RAW). How do I do it? There is > a NON_FFS_FILE in the

[edk2] How to include a .FFS file directly into an .FV

2014-06-11 Thread Tim Lewis
I have the .FFS, complete with dependency expression sections and UI sections, etc. And now I want to include that into my FV in my FDF FILE RAW doesn't do it (the filetype is always RAW). How do I do it? There is a NON_FFS_FILE in the spec, but I can't see it in the grammar. Tim --

Re: [edk2] Load ASM code in memory

2014-06-11 Thread Andrew Fish
On Jun 11, 2014, at 2:02 AM, Thomas Letan wrote: > Hello everyone. > > I am currently working on UEFI and more precisely on SMM with UEFI. > To handle correctly #SMI, I have to load some piece of code in RAM. In > order to do some tests, I wrote my assembly code, compile it with nasm, > get the

Re: [edk2] Load ASM code in memory

2014-06-11 Thread Brian J. Johnson
On 06/11/2014 11:31 AM, Bill Paul wrote: > Of all the gin joints in all the towns in all the world, Thomas Letan had to > walk into mine at 02:02:13 on Wednesday 11 June 2014 and say: > >> Hello everyone. >> >> I am currently working on UEFI and more precisely on SMM with UEFI. >> To handle correct

Re: [edk2] Load ASM code in memory

2014-06-11 Thread Bill Paul
Of all the gin joints in all the towns in all the world, Thomas Letan had to walk into mine at 02:02:13 on Wednesday 11 June 2014 and say: > Hello everyone. > > I am currently working on UEFI and more precisely on SMM with UEFI. > To handle correctly #SMI, I have to load some piece of code in RA

Re: [edk2] OpenProtocol by UEFI application with removal notification

2014-06-11 Thread Laszlo Ersek
On 06/11/14 06:50, Andrew fish wrote: > I posted a while back on the list how to do this. Search for > safeopenprotocol. > > You can use the driver binding protocol to make it safe, but you need > to wrap the protocol access in a library for the application. >> On Jun 10, 2014, at 8:31 PM, Evgeny

[edk2] Load ASM code in memory

2014-06-11 Thread Thomas Letan
Hello everyone. I am currently working on UEFI and more precisely on SMM with UEFI. To handle correctly #SMI, I have to load some piece of code in RAM. In order to do some tests, I wrote my assembly code, compile it with nasm, get the binary content thanks to objdump and save it in a char[] variab