Re: [edk2] DevicePathToStr

2014-02-26 Thread John Davis
As a follow up, here is the complete code and a summary write up of the info. https://sourceforge.net/p/uefinotes/wiki/Application%20Notes/ On Wed, Feb 26, 2014 at 8:22 AM, John Davis wrote: > Hello Brian, > > That is a good explanation and guideline. Many thanks. I'll add this to > my note

Re: [edk2] DevicePathToStr

2014-02-26 Thread John Davis
Hello Brian, That is a good explanation and guideline. Many thanks. I'll add this to my notes. John On Wed, Feb 26, 2014 at 7:25 AM, Brian J. Johnson wrote: > On 02/25/2014 07:14 PM, John Davis wrote: > > Hello Jaben, > > > > No I did not. Its odd. Sometimes you add packages and it seems t

Re: [edk2] DevicePathToStr

2014-02-26 Thread Brian J. Johnson
On 02/25/2014 07:14 PM, John Davis wrote: > Hello Jaben, > > No I did not. Its odd. Sometimes you add packages and it seems to > compile and link. Other times I have to add a library package. In this > case, I added the GenericBdsLib in the [LibraryClasses] and now it > links. Many thanks. I'l

Re: [edk2] DevicePathToStr

2014-02-25 Thread John Davis
About the debugger. I did not know that. I had set a breakpoint in the uefi source back when you told me about the load address a while back. I'll try to debug an app using similar method. On Feb 25, 2014 6:10 PM, "Andrew Fish" wrote: > > On Feb 25, 2014, at 6:03 PM, John Davis wrote: > > Hello

Re: [edk2] DevicePathToStr

2014-02-25 Thread Andrew Fish
On Feb 25, 2014, at 6:03 PM, John Davis wrote: > Hello Andrew, > > Thanks, I appreciate the pointer. > > FWIW, I have also learned based upon Bill Pauls previous Moo code sample, you > don't need to put apps in packages. I was using the > MdeModulePkg/Application/HelloWorld/ directory as a

Re: [edk2] DevicePathToStr

2014-02-25 Thread John Davis
Hello Andrew, Thanks, I appreciate the pointer. FWIW, I have also learned based upon Bill Pauls previous Moo code sample, you don't need to put apps in packages. I was using the MdeModulePkg/Application/HelloWorld/ directory as a source. I got tired of having to stop the emulator each time I ma

Re: [edk2] DevicePathToStr

2014-02-25 Thread Andrew Fish
On Feb 25, 2014, at 4:46 PM, Bill Paul wrote: > Of all the gin joints in all the towns in all the world, John Davis had to > walk into mine at 16:34:49 on Tuesday 25 February 2014 and say: > >> Hmm. That is what I did to begin with. >> >> Here are my includes and my .inf. >> >> Now, I am rea

Re: [edk2] DevicePathToStr

2014-02-25 Thread John Davis
Hello Jaben, No I did not. Its odd. Sometimes you add packages and it seems to compile and link. Other times I have to add a library package. In this case, I added the GenericBdsLib in the [LibraryClasses] and now it links. Many thanks. I'll look into your suggestion on the other routine to g

Re: [edk2] DevicePathToStr

2014-02-25 Thread Carsey, Jaben
Did you also add the library class to your INF file [LibraryClasses] section? From: John Davis [mailto:davi...@gmail.com] Sent: Tuesday, February 25, 2014 4:50 PM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] DevicePathToStr That fails as well. Creating library c:\fw\edk2\Build

Re: [edk2] DevicePathToStr

2014-02-25 Thread John Davis
ons on some conversion results. > > -Jaben > > -Original Message- > From: Bill Paul [mailto:wp...@windriver.com] > Sent: Tuesday, February 25, 2014 4:24 PM > To: edk2-devel@lists.sourceforge.net > Subject: Re: [edk2] DevicePathToStr > > Of all the gin joints in

Re: [edk2] DevicePathToStr

2014-02-25 Thread Carsey, Jaben
- From: Bill Paul [mailto:wp...@windriver.com] Sent: Tuesday, February 25, 2014 4:24 PM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] DevicePathToStr Of all the gin joints in all the towns in all the world, John Davis had to walk into mine at 16:10:15 on Tuesday 25 February 2014 and say

Re: [edk2] DevicePathToStr

2014-02-25 Thread Bill Paul
Of all the gin joints in all the towns in all the world, John Davis had to walk into mine at 16:34:49 on Tuesday 25 February 2014 and say: > Hmm. That is what I did to begin with. > > Here are my includes and my .inf. > > Now, I am really puzzled. When I pasted the error from the build below,

Re: [edk2] DevicePathToStr

2014-02-25 Thread John Davis
Hmm. That is what I did to begin with. Here are my includes and my .inf. Now, I am really puzzled. When I pasted the error from the build below, I noticed the error is actually in the code I used as a model for this app. How could this app cause the other app which used to build to fail? --

Re: [edk2] DevicePathToStr

2014-02-25 Thread Bill Paul
Of all the gin joints in all the towns in all the world, John Davis had to walk into mine at 16:10:15 on Tuesday 25 February 2014 and say: > Hello > > I see some code which uses DevicePathToStr. When I do a grep on it, I see > it a few include files. > > 1. IntelFrameworkModulePkg > 2. OvmfPk

[edk2] DevicePathToStr

2014-02-25 Thread John Davis
Hello I see some code which uses DevicePathToStr. When I do a grep on it, I see it a few include files. 1. IntelFrameworkModulePkg 2. OvmfPkg 3. SecruityPkg I am working with the NT32 emulator so I'm guessing that I don't need the ones from source 2 and 3. However, when I try to include the h