Re: [edk2] DevicePath for the Boot Services Driver flashed on the Controller Flash.

2014-12-05 Thread Sathya Prakash
Dec 5, 2014, at 11:20 AM, Sathya Prakash > wrote: > > Andrew, > Thanks for the suggestion. > > In my boot services driver, I made a restriction of one-to-one > association between controller and driver, to accomplish that, if the > driver is loaded from non media devicepat

Re: [edk2] DevicePath for the Boot Services Driver flashed on the Controller Flash.

2014-12-05 Thread Sathya Prakash
From: Andrew Fish [mailto:af...@apple.com] Sent: Friday, December 05, 2014 10:10 AM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] DevicePath for the Boot Services Driver flashed on the Controller Flash. On Dec 5, 2014, at 7:18 AM, Sathya Prakash wrote: I have a boot services driver

[edk2] DevicePath for the Boot Services Driver flashed on the Controller Flash.

2014-12-05 Thread Sathya Prakash
I have a boot services driver programmed on the flash of our add-on controller, when the BSD gets executed from flash, I am trying to identify form where it is loaded (from flash/shell) and for that I have used  the below condition and if it is met, I assume it is loaded from Shell, if not I assume

[edk2] DevicePath for the Boot Services Driver flashed on the Controller Flash.

2014-12-04 Thread Sathya Prakash
I have a boot services driver programmed on the flash of our add-on controller, when the BSD gets executed from flash, I am trying to identify form where it is loaded (from flash/shell) and for that I have used the below condition and if it is met, I assume it is loaded from Shell, if not I assume

[edk2] File Open from current directory

2014-09-09 Thread Sathya Prakash
I am developing a small application and the application accepts a file name as argument (to read and write log information) and I use the file name for open call, If I give absolute path in the file name argument, I am able to open it directly, if I just give the file name related with current path

Re: [edk2] LastBlock and End LBA

2014-09-09 Thread Sathya Prakash
IMO, The last block should be pointing to the last block of the disk. Whereas the PartitionEndLBA should be the partition’s last block, so for your purpose you should use the End LBA of the partition. Thanks Sathya PS: My E-mail ID changed from sathya.prak...@lsi.com to sathya.prak...@avagot

Re: [edk2] Where can I find CopyMem implementation.

2014-06-23 Thread Sathya Prakash
:* Monday, June 23, 2014 12:14 PM *To:* edk2-devel@lists.sourceforge.net *Subject:* Re: [edk2] Where can I find CopyMem implementation. On Jun 23, 2014, at 11:01 AM, Sathya Prakash wrote: I would like to see the CopyMem implementation. Which source file I should look for it. I see some

[edk2] Where can I find CopyMem implementation.

2014-06-23 Thread Sathya Prakash
I would like to see the CopyMem implementation. Which source file I should look for it. I see some implementation in commonlib.c in basetools but I assume it wont be taken from there and instead will be used from boot services table. So how can I know about the implementation. The reason I want