Re: [edk2] what is way the to check available RT services

2015-07-27 Thread Parmeshwr_Prasad
Thanks Andrew.

-Original Message-
From: Andrew Fish [mailto:af...@apple.com]
Sent: Monday, July 27, 2015 9:21 PM
To: Prasad, Parmeshwr
Cc: edk2-devel@lists.sourceforge.net
Subject: Re: what is way the to check available RT services


> On Jul 27, 2015, at 12:33 AM, parmeshwr_pra...@dell.com wrote:
>
>
> Hi All,
>
> I wanted to know what is the way to know that particular RT is available in 
> my system or not ?
> What will be a piece of code for this.
>

The EFI_TABLE_HEADER has a Revision field you can check. So you can check the 
version in the EFI_RUNTIME_SERVICES table.

https://github.com/tianocore/edk2/blob/master/MdePkg/Include/Uefi/UefiSpec.h

//
// EFI Runtime Services Table
//
#define EFI_SYSTEM_TABLE_SIGNATURE SIGNATURE_64 ('I','B','I',' 
','S','Y','S','T')
#define EFI_2_50_SYSTEM_TABLE_REVISION ((2 << 16) | (50)) #define 
EFI_2_40_SYSTEM_TABLE_REVISION ((2 << 16) | (40)) #define 
EFI_2_31_SYSTEM_TABLE_REVISION ((2 << 16) | (31)) #define 
EFI_2_30_SYSTEM_TABLE_REVISION ((2 << 16) | (30)) #define 
EFI_2_20_SYSTEM_TABLE_REVISION ((2 << 16) | (20)) #define 
EFI_2_10_SYSTEM_TABLE_REVISION ((2 << 16) | (10)) #define 
EFI_2_00_SYSTEM_TABLE_REVISION ((2 << 16) | (00)) #define 
EFI_1_10_SYSTEM_TABLE_REVISION ((1 << 16) | (10)) #define 
EFI_1_02_SYSTEM_TABLE_REVISION ((1 << 16) | (02))
#define EFI_SYSTEM_TABLE_REVISION EFI_2_50_SYSTEM_TABLE_REVISION
#define EFI_SPECIFICATION_VERSION EFI_SYSTEM_TABLE_REVISION

#define EFI_RUNTIME_SERVICES_SIGNATURE SIGNATURE_64 
('R','U','N','T','S','E','R','V')
#define EFI_RUNTIME_SERVICES_REVISION EFI_SPECIFICATION_VERSION

///
/// EFI Runtime Services Table.
///
typedef struct {
///
/// The table header for the EFI Runtime Services Table.
///
EFI_TABLE_HEADER Hdr;

//
// Time Services
//
EFI_GET_TIME GetTime;
EFI_SET_TIME SetTime;
EFI_GET_WAKEUP_TIME GetWakeupTime;
EFI_SET_WAKEUP_TIME SetWakeupTime;

//
// Virtual Memory Services
//
EFI_SET_VIRTUAL_ADDRESS_MAP SetVirtualAddressMap;
EFI_CONVERT_POINTER ConvertPointer;

//
// Variable Services
//
EFI_GET_VARIABLE GetVariable;
EFI_GET_NEXT_VARIABLE_NAME GetNextVariableName;
EFI_SET_VARIABLE SetVariable;

//
// Miscellaneous Services
//
EFI_GET_NEXT_HIGH_MONO_COUNT GetNextHighMonotonicCount;
EFI_RESET_SYSTEM ResetSystem;

//
// UEFI 2.0 Capsule Services
//
EFI_UPDATE_CAPSULE UpdateCapsule;
EFI_QUERY_CAPSULE_CAPABILITIES QueryCapsuleCapabilities;

//
// Miscellaneous UEFI 2.0 Service
//
EFI_QUERY_VARIABLE_INFO QueryVariableInfo;
} EFI_RUNTIME_SERVICES;

Thanks,

Andrew Fish

> -Param
--
___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


[edk2] what is way the to check available RT services

2015-07-27 Thread Parmeshwr_Prasad

Hi All,

I wanted to know what is the way to know that particular RT is available in my 
system or not ?
What will be a piece of code for this.

-Param
--
___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


[edk2] EDK2 code with respect to UEFI-2.5 spec

2015-02-26 Thread Parmeshwr_Prasad

Hi All,

I wanted to know that code for UEFI-2.5 new features are available or not.
I am able to see so many new feature in UEFI-2.5 spec.

Is the lib and code development goes along with spec or before that ?

-Param
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


Re: [edk2] Any notifier for memory change

2015-02-18 Thread Parmeshwr_Prasad
Thanks Andrew, I think this logic will work.

From: Andrew Fish [mailto:af...@apple.com]
Sent: Thursday, February 19, 2015 1:03 PM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] Any notifier for memory change


On Feb 18, 2015, at 11:19 PM, Sergey Isakov 
mailto:isakov...@bk.ru>> wrote:

No, memory change is not event for hardware. It is not interrupt as well. No 
matter of UEFI or not.


>From a hardware point of view you could make the page write protected and take 
>a page fault on the write.

Thanks,

Andre Fish


On 19.02.2015, at 10:04, 
mailto:parmeshwr_pra...@dell.com>> wrote:


No Andrew, It is not for debugging.
I wanted to develop some application which should be triggered after change in 
memory content.
But to know that memory content is changed I wanted to take UEFI help.

In this case is there any feature which can notify me about memory change ?

-Param



From: Andrew Fish [mailto:af...@apple.com]
Sent: Thursday, February 19, 2015 12:09 PM
To: Prasad, Parmeshwr
Cc: edk2-devel@lists.sourceforge.net
Subject: Re: Any notifier for memory change


On Feb 18, 2015, at 9:01 PM, 
parmeshwr_pra...@dell.com wrote:

Hi All,

I have certain requirement as stated below. Please help me how I can solve this 
situation.

I wanted some notifier which can tell me that some memory is changes.
I don't want to poll that memory location. Please tell me if there is any 
nearby solution.


Are you debugging? You may be able to use the X86 debug registers (often called 
watchpoints in a debugger).

Thanks,

Andrew Fish

-Param

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


Re: [edk2] Any notifier for memory change

2015-02-18 Thread Parmeshwr_Prasad



On Feb 18, 2015, at 11:04 PM, 
parmeshwr_pra...@dell.com wrote:

No Andrew, It is not for debugging.
I wanted to develop some application which should be triggered after change in 
memory content.
But to know that memory content is changed I wanted to take UEFI help.

In this case is there any feature which can notify me about memory change ?


No. Best you can do is have a timer event that watches the event and have that 
event signal your driver.
Thanks Andrew for timer approach. But pooling memory location will consume CPU 
cycles. Is there any ACPI feature which can help me in this ?

-Param

Thanks,

Andrew Fish


-Param



From: Andrew Fish [mailto:af...@apple.com]
Sent: Thursday, February 19, 2015 12:09 PM
To: Prasad, Parmeshwr
Cc: edk2-devel@lists.sourceforge.net
Subject: Re: Any notifier for memory change


On Feb 18, 2015, at 9:01 PM, 
parmeshwr_pra...@dell.com wrote:

Hi All,

I have certain requirement as stated below. Please help me how I can solve this 
situation.

I wanted some notifier which can tell me that some memory is changes.
I don’t want to poll that memory location. Please tell me if there is any 
nearby solution.


Are you debugging? You may be able to use the X86 debug registers (often called 
watchpoints in a debugger).

Thanks,

Andrew Fish

-Param

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


Re: [edk2] Any notifier for memory change

2015-02-18 Thread Parmeshwr_Prasad
No Andrew, It is not for debugging.
I wanted to develop some application which should be triggered after change in 
memory content.
But to know that memory content is changed I wanted to take UEFI help.

In this case is there any feature which can notify me about memory change ?

-Param



From: Andrew Fish [mailto:af...@apple.com]
Sent: Thursday, February 19, 2015 12:09 PM
To: Prasad, Parmeshwr
Cc: edk2-devel@lists.sourceforge.net
Subject: Re: Any notifier for memory change


On Feb 18, 2015, at 9:01 PM, 
parmeshwr_pra...@dell.com wrote:

Hi All,

I have certain requirement as stated below. Please help me how I can solve this 
situation.

I wanted some notifier which can tell me that some memory is changes.
I don’t want to poll that memory location. Please tell me if there is any 
nearby solution.


Are you debugging? You may be able to use the X86 debug registers (often called 
watchpoints in a debugger).

Thanks,

Andrew Fish

-Param

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


[edk2] Any notifier for memory change

2015-02-18 Thread Parmeshwr_Prasad
Hi All,

I have certain requirement as stated below. Please help me how I can solve this 
situation.

I wanted some notifier which can tell me that some memory is changes.
I don't want to poll that memory location. Please tell me if there is any 
nearby solution.

-Param

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


Re: [edk2] Compiling for IA64

2014-08-11 Thread Parmeshwr_Prasad
Hi Vishwanath,

I used Ubuntu. There is one file target.conf in that one variable with name 
Target.
Set this variable to X64 will solve the problem.
Just check if similar things are available in WINDDK.

Regards
Param

From: Viswanath Ramamurthy [mailto:viswanath.ramamur...@pmcs.com]
Sent: Monday, August 11, 2014 12:23 PM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] Compiling for IA64

Hi Everyone,

I would like to know how do we compile our EFI binaries for IA64 Target 
Architecture.
I am using UDK 2010 / UDK 2014. I couldn't understand how do I specify the 
target architecture for IA64.

Tool chain that I am using is WINDDK, and I can see some IA64 folders with 
cross compilers.

Thanks
Viswanath
--
___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


Re: [edk2] UEFI diagnostic application

2014-05-09 Thread Parmeshwr_Prasad
Hi Michal,

You can go through below link for specification.
http://www.uefi.org/specifications
Go through below link for learning material.

tianocore.sourceforge.net/

Regards
Param
From: Michał Ciesielski [mailto:mic...@alplast.com.pl]
Sent: Friday, May 09, 2014 3:08 PM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] UEFI diagnostic application

Hi,

My name is Michał Ciesielski and I am working in
a small computer manufacturer company. Now we're trying to write UEFI 
diagnostic application. We would like to read some data, like
CPU status, CPU fan speed, memory size and status etc.

Unfortuneatly we have many problems with that, we are quite new in  UEFI 
programmind and we are looking for someone, who can help us.
Can anyone help as or at least point us to some useful tutorial, books or other 
training materials?

--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


[edk2] is there any UEFI spec

2014-03-21 Thread Parmeshwr_Prasad
Hi all,

Is there any UEFI spec which defines the portion of NVRAM used by OS and BIOS.
Is this got changed from 2.1 to 2.3.1 ?

Regards
Patrmeshwr
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


[edk2] Get monitor details from UEFI

2014-01-28 Thread Parmeshwr_Prasad
Hi All,

Is there any method to get monitor, o/p device setting passed to OS.
Any way to get from UEFI shell ?



Best Regards,
Parmeshwr Prasad
Tel : +91-9743262018
[cid:image001.png@01CF1C49.E502A5A0]

<>--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


Re: [edk2] edk2/edksetup.sh patch to solve command line parameter

2014-01-24 Thread Parmeshwr_Prasad
Hi Liming,

See below two example-



1-  param@param-opensource:~/Development/edk2$ source edksetup.sh -h-
Loading previous configuration from $WORKSPACE/Conf/BuildEnv.sh
WORKSPACE: /home/param/Development/edk2
EDK_TOOLS_PATH: /home/param/Development/edk2/BaseTools

In above example edksetup.sh is not able to handle "-h-" parameter it mean it 
can handle only "-?, -h,--help".
If we give any other parameter except above mentioned. It cannot handle. It 
mean error handling is required.
Even the help message is not looking good.



2-  param@param-opensource:~/Development/edk2$ source edksetup.sh -h
BaseTools Usage: '. edksetup.sh'

Please note: This script must be 'sourced' so the environment can be changed.
(Either '. edksetup.sh' or 'source edksetup.sh')

This is expected behavior.

If this patch is not looking good, suggest me how it can be made better.

Regards
Parmeshwr


From: Gao, Liming [mailto:liming@intel.com]
Sent: Friday, January 24, 2014 3:06 PM
To: Prasad, Parmeshwr
Cc: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] edk2/edksetup.sh patch to solve command line parameter

Hi,
  I have two comments.

1.   BaseTools parameter is required to be supported for compatibility, 
because this usage is mentioned in EDKII_UserManual.pdf document. Some users 
have used it. In fact, ". edksetup.sh BaseTools" is same to ". edksetup.sh".

2.   In below script, BaseTools/BuildEnv $* can be cleanup to remove $*, 
because no parameter is required.

if [ -z "$WORKSPACE" ]
then
  . BaseTools/BuildEnv $*
else
  . $WORKSPACE/BaseTools/BuildEnv $*
fi

Thanks
Liming
From: parmeshwr_pra...@dell.com 
[mailto:parmeshwr_pra...@dell.com]
Sent: Thursday, January 23, 2014 4:02 PM
To: 
edk2-comm...@lists.sourceforge.net
Subject: edk2/edksetup.sh patch to solve command line parameter

Hi All,

I see there is a problem in "edksetup.sh" file. It accept one parameter "-?, 
-h, --help" for printing help message.
If we give any other parameter to this it goes and set old environment with 
help message.  Expected behavior should be either to print
The help message or set environment. It is not able to handle any garbage 
parameter.
I am sending patch for this problem, please review and commit to main stream.

Even help message was not clear I changes that also.

Incorrect behavior :
:~/Development/edk2$ source edksetup.sh ---jjdcncn
Loading previous configuration from $WORKSPACE/Conf/BuildEnv.sh
WORKSPACE: /home/param/Development/edk2
EDK_TOOLS_PATH: /home/param/Development/edk2/BaseTools

Correct behavior:
:~/Development/edk2$ source edksetup.sh -h
BaseTools Usage: '. edksetup.sh'

Please note: This script must be 'sourced' so the environment can be changed.
(Either '. edksetup.sh' or 'source edksetup.sh')

Correct behavior:
:~/Development/edk2$ source edksetup.sh
Loading previous configuration from $WORKSPACE/Conf/BuildEnv.sh
WORKSPACE: /home/param/Development/edk2
EDK_TOOLS_PATH: /home/param/Development/edk2/BaseTools


Best Regards,
Parmeshwr Prasad
Tel : +91-9743262018
[cid:image001.png@01CF1920.59BCB160]

<>--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


Re: [edk2] How to get Vendor/OEM info from UEFI driver

2014-01-21 Thread Parmeshwr_Prasad
Hi Avinash

Below mentioned method is standard method to recognize the vendor.
These details comes from UEFI system tables.
You can use the information to distinguish the vendors.


Regards
Param

From: avinash m n [mailto:avi087.mu...@gmail.com]
Sent: Wednesday, January 22, 2014 10:31 AM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] How to get Vendor/OEM info from UEFI driver

I'm using the EFI_SYSTEM_TABLE to get the firmware vendor name:
gST->FirmwareVendor.

1) Can I use the string got from this(and convert it to ASCII form) as a way to 
determine whether to execute the driver or not for a specific vendor?

2) Is this a standard way?

3) Is there a chance the string differs across different firmware versions 
provided by the same vendor?
If this is not the standard way, can you suggest some other way?
Thanks and Regards
Avinash

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


Re: [edk2] How to get Vendor/OEM info from UEFI driver

2014-01-16 Thread Parmeshwr_Prasad
See in getVariable bootservice it is giving some vendor information.

From: Prasad, Parmeshwr
Sent: Friday, January 17, 2014 11:02 AM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] How to get Vendor/OEM info from UEFI driver

It is very simple chote.
Wait few min I will tell u.

From: avinash m n [mailto:avi087.mu...@gmail.com]
Sent: Friday, January 17, 2014 10:55 AM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] How to get Vendor/OEM info from UEFI driver

Hi,
   Is there any protocol or any other method which I can use in my driver 
to get the details of the vendor. I'm looking out for this information because 
I want to ensure the driver executes only on servers of a specific vendor.
Thanks
Avinash
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


Re: [edk2] How to get Vendor/OEM info from UEFI driver

2014-01-16 Thread Parmeshwr_Prasad
It is very simple chote.
Wait few min I will tell u.

From: avinash m n [mailto:avi087.mu...@gmail.com]
Sent: Friday, January 17, 2014 10:55 AM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] How to get Vendor/OEM info from UEFI driver

Hi,
   Is there any protocol or any other method which I can use in my driver 
to get the details of the vendor. I'm looking out for this information because 
I want to ensure the driver executes only on servers of a specific vendor.
Thanks
Avinash
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


Re: [edk2] uUEFI code execution

2013-12-09 Thread Parmeshwr_Prasad
Thanks Andrew/Tim, for quick reply.

From: Andrew Fish [mailto:af...@apple.com]
Sent: Tuesday, December 10, 2013 6:51 AM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] uUEFI code execution


On Dec 8, 2013, at 8:05 PM, 
parmeshwr_pra...@dell.com wrote:


Hi All,

How to get UEFI scheduling information ?

There is not a scheduler, there is just an event queue.

If you look in 
https://svn.code.sf.net/p/edk2/code/trunk/edk2/MdeModulePkg/Core/Dxe/Event/Timer.c,
 CoreTimerTick() is called on the timer tick. You can see it get registered in 
https://svn.code.sf.net/p/edk2/code/trunk/edk2/MdeModulePkg/Core/Dxe/DxeMain/DxeProtocolNotify.c

The event queues are generally processed on gBS->RestoreTpl(). See 
https://svn.code.sf.net/p/edk2/code/trunk/edk2/MdeModulePkg/Core/Dxe/Event/Tpl.c


/**

  Lowers the task priority to the previous value.   If the new

  priority unmasks events at a higher priority, they are dispatched.



  @param  NewTpl  New, lower, task priority



**/

VOID

EFIAPI

CoreRestoreTpl (

  IN EFI_TPL NewTpl

  )

{

  EFI_TPL OldTpl;



  OldTpl = gEfiCurrentTpl;

  ASSERT (NewTpl <= OldTpl);

  ASSERT (VALID_TPL (NewTpl));



  //

  // If lowering below HIGH_LEVEL, make sure

  // interrupts are enabled

  //



  if (OldTpl >= TPL_HIGH_LEVEL  &&  NewTpl < TPL_HIGH_LEVEL) {

gEfiCurrentTpl = TPL_HIGH_LEVEL;

  }



  //

  // Dispatch any pending events

  //

  while (((-2 << NewTpl) & gEventPending) != 0) {

gEfiCurrentTpl = (UINTN) HighBitSet64 (gEventPending);

if (gEfiCurrentTpl < TPL_HIGH_LEVEL) {

  CoreSetInterruptState (TRUE);

}

CoreDispatchEventNotifies (gEfiCurrentTpl);

  }



  //

  // Set the new value

  //



  gEfiCurrentTpl = NewTpl;



  //

  // If lowering below HIGH_LEVEL, make sure

  // interrupts are enabled

  //

  if (gEfiCurrentTpl < TPL_HIGH_LEVEL) {

CoreSetInterruptState (TRUE);

  }



}



Is this single or multi-threaded environment ?

EFI is really an event model. I've found this presentation to be helpful in 
explaining the difference between a thread model and an event model: 
http://www.cc.gatech.edu/classes/AY2009/cs4210_fall/papers/ousterhout-threads.pdf


Thanks,

Andrew Fish
--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


[edk2] uUEFI code execution

2013-12-08 Thread Parmeshwr_Prasad

Hi All,

How to get UEFI scheduling information ?
Is this single or multi-threaded environment ?


Best Regards,
Parmeshwr Prasad
Tel : +91-9743262018
[cid:image001.png@01CEF4D2.C6913E40]

<>--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


[edk2] efibootmgr error message

2013-10-28 Thread Parmeshwr_Prasad


Hi All,



When I try to delete the entry "efibootmgr -b  -B" I get the below message.

requested operation failed: status=8002

efivars: set_variable() failed: status=8009 in dmesg



May I please know what is this error & status 8002 mean? Why I'm 
getting this error.



Your help will be highly appreciated.

Best Regards,
Parmeshwr Prasad
Tel : +91-9743262018
[cid:image001.png@01CED40B.A6F117F0]

<>--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


[edk2] efibootmgr throws error

2013-10-27 Thread Parmeshwr_Prasad

Hi All,

I am using "efibootmngr" linux utility to change boot order

Change order "efibootmgr -o ,"
Now delete entry "efibootmgr -b  -B."

When I delete the boot entry it gives error.
Any thought why this is happening ?
Best Regards,
Parmeshwr Prasad
Tel : +91-9743262018
[cid:image001.png@01CED353.5E831BC0]

<>--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


Re: [edk2] How to Configure the iSCSI target and the "iSCSI Configuration" in UEFI

2013-10-25 Thread Parmeshwr_Prasad
Hi Jack,

You can look more about iSCSI in UEFI spec 2.4, it is available in uefi website.
You can first boot through shell.efi the load iSCSI.

Regards
Param

From: jack_c_zh...@wistron.com [mailto:jack_c_zh...@wistron.com]
Sent: Friday, October 25, 2013 1:23 PM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] How to Configure the iSCSI target and the "iSCSI Configuration" 
in UEFI

Dear Experts,

I'm searching some information about iscsi boot in UEFI, and find your E-mail 
in the EDK-Dev mailing list from internet.
Could you help to provide some info about this?

I have downloaded IScsiDxe.efi and load it in the UEFI shell, but I don't know 
what should do in the next?
How and where can I configure the iSCSI target and initiator name, or do the 
"ISCSI Configuration"?
In UEFI shell or using other tools?

Thanks a lot!


Regards,
Jack

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


Re: [edk2] how to get DISK geometry

2013-10-21 Thread Parmeshwr_Prasad
Thanks Ramesh,

I think these info are enough.

From: Ramesh R. [mailto:rame...@ami.com]
Sent: Monday, October 21, 2013 4:50 PM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] how to get DISK geometry

Hi,

  BLOCKIO has some of the disk geometry information.

typedef struct {
UINT32 MediaId;
BOOLEAN RemovableMedia;
BOOLEAN MediaPresent;
BOOLEAN LogicalPartition;
BOOLEAN ReadOnly;
BOOLEAN WriteCaching;
UINT32 BlockSize;
UINT32 IoAlign;
EFI_LBA LastBlock;
EFI_LBA LowestAlignedLba; //added in Revision 2
UINT32 LogicalBlocksPerPhysicalBlock;
//added in Revision 2
UINT32 OptimalTransferLengthGranularity;
// added in Revision 3
} EFI_BLOCK_IO_MEDIA;


Is any other specific Disk information you are looking?

Thanks,
Ramesh

From: parmeshwr_pra...@dell.com 
[mailto:parmeshwr_pra...@dell.com]
Sent: Monday, October 21, 2013 3:14 PM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] how to get DISK geometry


Dell - Internal Use - Confidential

Hi All,

How to get geometry of all available disk through UEFI application ?


Best Regards,
Parmeshwr Prasad
Tel : +91-9743262018
[cid:image001.png@01CECF16.ECBF8E50]


The information contained in this message may be confidential and proprietary 
to American Megatrends, Inc. This communication is intended to be read only by 
the individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited. Please 
promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and 
then delete or destroy all copies of the transmission.
<>--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


[edk2] how to get DISK geometry

2013-10-21 Thread Parmeshwr_Prasad
Dell - Internal Use - Confidential

Hi All,

How to get geometry of all available disk through UEFI application ?


Best Regards,
Parmeshwr Prasad
Tel : +91-9743262018
[cid:image001.png@01CECE70.3CA4DEE0]

<>--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


Re: [edk2] problem in openprotocol

2013-10-17 Thread Parmeshwr_Prasad
Dell - Internal Use - Confidential
How to get right value for EFI_LBA ?

From: Tian, Feng [mailto:feng.t...@intel.com]
Sent: Friday, October 18, 2013 11:48 AM
To: edk2-devel@lists.sourceforge.net; Andrew Fish (af...@apple.com)
Subject: Re: [edk2] problem in openprotocol

Right. For his case, I only could think out a way, that is raise & restore tpl 
to CALLBACK level to prevent hot-plug event happen on critical region. This way 
could protect BlockIo/DiskIo interface from being released and avoid hang.

Here I have an assumption that all UEFI implementations on handling hot-plug 
event happen at TPL_CALLBACK... If not, then raise/restore tpl is also not a 
good solution.

I think UEFI would have to add such limitation, otherwise application has no a 
safe way to use interface at below scenario. Do you agree?

Andrew, do you have any comment on this topic?

From: Ramesh R. [mailto:rame...@ami.com]
Sent: Friday, October 18, 2013 13:58
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] problem in openprotocol

Agree. It's a good point. But OpenProtocol with BY_DRIVER attribute is not 
possible from application as other BIOS driver already opened the DISKIO 
protocol using the BY_DRIVER attribute. The application should take care of the 
handling of the Hot Pluggable devices.

Thanks,
Ramesh

From: Tian, Feng [mailto:feng.t...@intel.com]
Sent: Friday, October 18, 2013 10:38 AM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] problem in openprotocol

Please be aware that it would be better to use SafeOpenPotocol lib if the 
DiskIo is installed at the device which could be hot-plugged.

From: Ramesh R. [mailto:rame...@ami.com]
Sent: Friday, October 18, 2013 12:54
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] problem in openprotocol

Hi Parmeshwr,

   Do you need to write the data into all the DISK ? If so

Use LocateHandleBuffer to get all the DiskIO handle and use the HandleProtocol 
on each handle to get the DiskIO protocol.

Thanks,
Ramesh

From: parmeshwr_pra...@dell.com 
[mailto:parmeshwr_pra...@dell.com]
Sent: Friday, October 18, 2013 10:02 AM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] problem in openprotocol


Dell - Internal Use - Confidential
Hi Michael,

My intention is to write some data in Disk using UEFI application.
To achieve this how I have to modify my code ?
Regards
Parmeshwr

From: Kinney, Michael D [mailto:michael.d.kin...@intel.com]
Sent: Thursday, October 17, 2013 9:48 PM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] problem in openprotocol

Parmeshwr,

Likely because a different driver has already opened that specific Disk I/O 
protocol instance.  The BY_DRIVER open mode is a request to open the protocol 
and then prevent other drivers from opening the same protocol.  If you use the 
openinfo shell command on the handle that contains the Disk I/O protocol, you 
will see which drivers have already opened that protocol.

Are you working on an app that need temporary exclusive access to that 
protocol, or a driver that will eventually be part of the platform firmware?

Thanks,

Mike

From: parmeshwr_pra...@dell.com 
[mailto:parmeshwr_pra...@dell.com]
Sent: Thursday, October 17, 2013 5:55 AM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] problem in openprotocol


Hi all,

I am working on some project where I need to open Disk protocol.
Below is my code-

Status = gBS->OpenProtocol(ControllerHandle 
,&gEfiDiskIoProtocolGuid,(VOID **) &DiskIo, gImageHandle, NULL, 
EFI_OPEN_PROTOCOL_BY_DRIVER);
if (EFI_ERROR(Status)) {
Print(L"Disk IO error %d\n",Status);
return Status;
}

Why this code always goes to error condition.
If I use EFI_OPEN_PROTOCOL_GET_PROTOCOL as parameter it will not go to error 
condition, how to get rid of this problem ?
Best Regards,
Parmeshwr Prasad

[cid:image001.png@01CECBF8.9CA04480]


The information contained in this message may be confidential and proprietary 
to American Megatrends, Inc. This communication is intended to be read only by 
the individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited. Please 
promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and 
then delete or destroy all copies of the transmission.

The information contained in this message may be confidential and proprietary 
to American Megatrends, Inc. This communication is intended to be read only by 
the individual or entity to whom it is addressed or by their designee. If the 
reader of this message i

Re: [edk2] problem in openprotocol

2013-10-17 Thread Parmeshwr_Prasad
Dell - Internal Use - Confidential
Hi Ramesh,

This much I did but problem occurred when I do openprotocol with BY_DRIVER so 
it gives error.

Regards
Param
From: Ramesh R. [mailto:rame...@ami.com]
Sent: Friday, October 18, 2013 10:24 AM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] problem in openprotocol

Hi Parmeshwr,

   Do you need to write the data into all the DISK ? If so

Use LocateHandleBuffer to get all the DiskIO handle and use the HandleProtocol 
on each handle to get the DiskIO protocol.

Thanks,
Ramesh

From: parmeshwr_pra...@dell.com 
[mailto:parmeshwr_pra...@dell.com]
Sent: Friday, October 18, 2013 10:02 AM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] problem in openprotocol


Dell - Internal Use - Confidential
Hi Michael,

My intention is to write some data in Disk using UEFI application.
To achieve this how I have to modify my code ?
Regards
Parmeshwr

From: Kinney, Michael D [mailto:michael.d.kin...@intel.com]
Sent: Thursday, October 17, 2013 9:48 PM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] problem in openprotocol

Parmeshwr,

Likely because a different driver has already opened that specific Disk I/O 
protocol instance.  The BY_DRIVER open mode is a request to open the protocol 
and then prevent other drivers from opening the same protocol.  If you use the 
openinfo shell command on the handle that contains the Disk I/O protocol, you 
will see which drivers have already opened that protocol.

Are you working on an app that need temporary exclusive access to that 
protocol, or a driver that will eventually be part of the platform firmware?

Thanks,

Mike

From: parmeshwr_pra...@dell.com 
[mailto:parmeshwr_pra...@dell.com]
Sent: Thursday, October 17, 2013 5:55 AM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] problem in openprotocol


Hi all,

I am working on some project where I need to open Disk protocol.
Below is my code-

Status = gBS->OpenProtocol(ControllerHandle 
,&gEfiDiskIoProtocolGuid,(VOID **) &DiskIo, gImageHandle, NULL, 
EFI_OPEN_PROTOCOL_BY_DRIVER);
if (EFI_ERROR(Status)) {
Print(L"Disk IO error %d\n",Status);
return Status;
}

Why this code always goes to error condition.
If I use EFI_OPEN_PROTOCOL_GET_PROTOCOL as parameter it will not go to error 
condition, how to get rid of this problem ?
Best Regards,
Parmeshwr Prasad

[cid:image001.png@01CECBEE.09CBF6E0]


The information contained in this message may be confidential and proprietary 
to American Megatrends, Inc. This communication is intended to be read only by 
the individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited. Please 
promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and 
then delete or destroy all copies of the transmission.
<>--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


Re: [edk2] problem in openprotocol

2013-10-17 Thread Parmeshwr_Prasad
Dell - Internal Use - Confidential
Hi Michael,

My intention is to write some data in Disk using UEFI application.
To achieve this how I have to modify my code ?
Regards
Parmeshwr

From: Kinney, Michael D [mailto:michael.d.kin...@intel.com]
Sent: Thursday, October 17, 2013 9:48 PM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] problem in openprotocol

Parmeshwr,

Likely because a different driver has already opened that specific Disk I/O 
protocol instance.  The BY_DRIVER open mode is a request to open the protocol 
and then prevent other drivers from opening the same protocol.  If you use the 
openinfo shell command on the handle that contains the Disk I/O protocol, you 
will see which drivers have already opened that protocol.

Are you working on an app that need temporary exclusive access to that 
protocol, or a driver that will eventually be part of the platform firmware?

Thanks,

Mike

From: parmeshwr_pra...@dell.com 
[mailto:parmeshwr_pra...@dell.com]
Sent: Thursday, October 17, 2013 5:55 AM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] problem in openprotocol


Hi all,

I am working on some project where I need to open Disk protocol.
Below is my code-

Status = gBS->OpenProtocol(ControllerHandle 
,&gEfiDiskIoProtocolGuid,(VOID **) &DiskIo, gImageHandle, NULL, 
EFI_OPEN_PROTOCOL_BY_DRIVER);
if (EFI_ERROR(Status)) {
Print(L"Disk IO error %d\n",Status);
return Status;
}

Why this code always goes to error condition.
If I use EFI_OPEN_PROTOCOL_GET_PROTOCOL as parameter it will not go to error 
condition, how to get rid of this problem ?
Best Regards,
Parmeshwr Prasad

[cid:image001.png@01CECBE9.17357180]

<>--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


[edk2] problem in openprotocol

2013-10-17 Thread Parmeshwr_Prasad

Hi all,

I am working on some project where I need to open Disk protocol.
Below is my code-

Status = gBS->OpenProtocol(ControllerHandle 
,&gEfiDiskIoProtocolGuid,(VOID **) &DiskIo, gImageHandle, NULL, 
EFI_OPEN_PROTOCOL_BY_DRIVER);
if (EFI_ERROR(Status)) {
Print(L"Disk IO error %d\n",Status);
return Status;
}

Why this code always goes to error condition.
If I use EFI_OPEN_PROTOCOL_GET_PROTOCOL as parameter it will not go to error 
condition, how to get rid of this problem ?
Best Regards,
Parmeshwr Prasad

[cid:image001.png@01CECB66.2CFA58B0]

<>--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


[edk2] how to select location where to write data in HDD

2013-10-15 Thread Parmeshwr_Prasad

I want to write some data in particular location of HDD, how to get the 
location ?
Or we can say seek write location.


Best Regards,
Parmeshwr Prasad
Tel : +91-9743262018
[cid:image001.png@01CECA67.D302C760]

<>--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


[edk2] getting gdb control and serial access in UEFI

2013-10-04 Thread Parmeshwr_Prasad

Hi All,

I am not able to make udk-gdb-server connection to my target system.
Is by default serial is enabled ?
Do I need to have some GdbStub in my target to get connection from target.
My uefi image is not with debug info.
What "EmbeddedPkg/GdbStub" package will do ???

Best Regards,
Parmeshwr Prasad
[cid:image001.png@01CEC119.15240B70]

<>--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


[edk2] serial setup in grub boot stage

2013-10-03 Thread Parmeshwr_Prasad
Dell - Internal Use - Confidential
Hi All,

For debugging purpose in UEFI I want to setup serial in grub.
Command to enable serial is :
Grub> serial -unit=0 -speed=115200

It gives error "Invalid parameter", do any body know how serial can be set on 
grub.
Or any other debug machanism in grub(BOOTX64.efi).
Best Regards,
Parmeshwr Prasad
Tel : +91-9743262018
[cid:image001.png@01CEC051.73EC8F10]

<>--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


[edk2] error in uefi application

2013-09-25 Thread Parmeshwr_Prasad
Dell - Internal Use - Confidential
Hi All,

I have developed below code, it is crashing the system, can anybody tell me why 
? what is solution ?
EFI_STATUS
EFIAPI
UefiMain(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE * SystemTable)
{
EFI_STATUS Status;
EFI_SCSI_IO_PROTOCOL passthrough;
EFI_DRIVER_BINDING_PROTOCOL *This;

gST->ConOut->OutputString(gST->ConOut, L"Mirror started\n");

Print(L"ParamTest\n\r");
Status =
gBS->OpenProtocol(ImageHandle, &gEfiScsiIoProtocolGuid,
  (VOID **) & passthrough, 
This->DriverBindingHandle, NULL,
  EFI_OPEN_PROTOCOL_BY_DRIVER);
if (EFI_ERROR(Status)) {
gST->ConOut->OutputString(gST->ConOut, L"Error\n");
Print(L"Error !!!\n");
return Status;
}

Print(L"ParamTest\n\r");



Best Regards,
Parmeshwr Prasad
Tel : +91-9743262018
[cid:image001.png@01CEBA1F.54E48CE0]

<>--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


[edk2] crash while Status = gBS->LocateHandleBuffer(AllHandles,

2013-09-23 Thread Parmeshwr_Prasad
Dell - Internal Use - Confidential

Hi All,

Below is my code when I run this on my machine it crashes.


//
// Connect All Handles Example
// The following example recusively connects all controllers in a platform.
//
EFI_STATUS Status;
EFI_BOOT_SERVICES *gBS;
UINTN HandleCount;
EFI_HANDLE *HandleBuffer;
UINTN HandleIndex;
gST->ConOut->OutputString (gST->ConOut, L"Code started\n");
//
// Retrieve the list of all handles from the handle database
//
Status = gBS->LocateHandleBuffer(AllHandles,
 NULL,
 NULL, &HandleCount, &HandleBuffer);
gST->ConOut->OutputString (gST->ConOut, L"After locate handler\n");
if (!EFI_ERROR(Status)) {
gST->ConOut->OutputString (gST->ConOut, L"Got error\n");
for (HandleIndex = 0; HandleIndex < HandleCount; HandleIndex++) 
{
Status =
gBS->ConnectController(HandleBuffer[HandleIndex],
   NULL, NULL, TRUE);
}
gBS->FreePool(HandleBuffer);
}


Any Idea why it crashed ??


Best Regards,
Parmeshwr Prasad
Tel : +91-9743262018
[cid:image001.png@01CEB881.EEFAAA20]

<>--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


[edk2] Print is not printing on console

2013-09-23 Thread Parmeshwr_Prasad
Dell - Internal Use - Confidential

Hi All,

In one application I am using Print(L"text");
This text is not coming on console.
And no error message is displaying.


Best Regards,
Parmeshwr Prasad
Tel : +91-9743262018
[cid:image001.png@01CEB87D.6CDD5370]

<>--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


[edk2] Disk I/O filed in USB drive

2013-09-22 Thread Parmeshwr_Prasad
Dell - Internal Use - Confidential
Do anybody know why "FatDiskIo: Cache Page OutBound occurred!" error occurred 
while reading USB disk.



Best Regards,
Parmeshwr Prasad
Tel : +91-9743262018
[cid:image001.png@01CEB850.F8A80B20]

<>--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


[edk2] SCSI read/write help

2013-09-16 Thread Parmeshwr_Prasad
Dell - Internal Use - Confidential

Hi All,

I need to search the SCSI in system and then want to write some data on HDD.
Can anybody help me how to proceed with that.

Some idea I have like

1-  From gBS openprotocol for scsi

2-  Then get device type

Required

1-  How to get HDD ID to select particular HDD to write ?

2-  How to select particular block to write ?

3-  How to read back the data ?


Best Regards,
Parmeshwr Prasad
Tel : +91-9743262018
[cid:image001.png@01CEB31B.87D364B0]

<>--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


[edk2] How to access gBS , gRS

2013-09-05 Thread Parmeshwr_Prasad
Hi All,

I have just started programming in UEFI.
Can any one guide me how to access gBS, what configuration I need to make in 
package. dsc or package.inf file ?



Best Regards,
Parmeshwr Prasad
Tel : +91-9743262018
[cid:image001.png@01CEAA36.EAA12BB0]

<>--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


Re: [edk2] Doubt about IPMI

2013-08-21 Thread Parmeshwr_Prasad
It can be done, I have seen some of my friend do work on IPMI on UEFI 
environment.

From: galla rao [mailto:gallagnv@gmail.com]
Sent: Thursday, August 22, 2013 11:25 AM
To: edk2-devel@lists.sourceforge.net; rafaelrodrigues.mach...@gmail.com
Subject: Re: [edk2] Doubt about IPMI

As far as i know i think if you have to implement any PEIM,DXE drivers

UEFI Environment provides


SMBus Host Controller Protocol

EFI_SMBUS_HC_PROTOCOL
 IPMI can use this protocol to communicate with BMC

Please elaborate your requirement
On Thu, Aug 22, 2013 at 4:43 AM, Rafael Machado 
mailto:rafaelrodrigues.mach...@gmail.com>> 
wrote:
Hi everyone.

I need to check if is it possible to work with IPMI at UEFI environment.
As far as I could check this seems not to be possible.

Am I right ?

In this case, does any of you have any idea about how could I do this ? (Maybe 
with some python script)

Thanks and Regards
Rafael R. Machado

--
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


[edk2] PXE boot option in UEFI

2013-07-30 Thread Parmeshwr_Prasad

Do we have PXE boot support in UEFI ??



Best Regards,
Parmeshwr Prasad
Tel : +91-9743262018
[cid:image001.png@01CE8DE4.7557EEC0]

<>--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


Re: [edk2] Recall: GNUMakefile comment need to be improved

2013-07-19 Thread Parmeshwr_Prasad
Thanks Liming,

From: Gao, Liming [mailto:liming@intel.com]
Sent: Friday, July 19, 2013 12:10 PM
To: Prasad, Parmeshwr; Lu, Ken; Li, Godkey; Ye, Ted; Lin, Sen; Wang, EikanX; 
He, Kenny; Xu, Yi
Cc: Liu, Yingke D; edk2-devel@lists.sourceforge.net; .AR LAR-3 Adolfo Bioy 
Casares Video Conf Rm Author
Subject: RE: [edk2] Recall: GNUMakefile comment need to be improved


  I have committed your change into BaseTools project at 2589.

Thanks
Liming
From: parmeshwr_pra...@dell.com 
[mailto:parmeshwr_pra...@dell.com]
Sent: Thursday, July 18, 2013 5:13 PM
To: Gao, Liming; Lu, Ken; Li, Godkey; Ye, Ted; Lin, Sen; Wang, EikanX; He, 
Kenny; Xu, Yi
Cc: Liu, Yingke D; 
edk2-devel@lists.sourceforge.net; 
arlar-3adolfobioycasaresvideoconfrmaut...@dell.com
Subject: RE: [edk2] Recall: GNUMakefile comment need to be improved

Hi Liming,

Please find the python tool patch.

Regards
Parmeshwr

From: Gao, Liming [mailto:liming@intel.com]
Sent: Thursday, July 18, 2013 12:58 PM
To: Prasad, Parmeshwr; Lu, Ken; Li, Godkey; Ye, Ted; Lin, Sen; Wang, EikanX; 
He, Kenny; Xu, Yi
Cc: Liu, Yingke D; 
edk2-devel@lists.sourceforge.net; .AR 
LAR-3 Adolfo Bioy Casares Video Conf Rm Author
Subject: RE: [edk2] Recall: GNUMakefile comment need to be improved

Prasad:
  I suggest you also update BaseTool/Source/Python/GNUmakefile and 
BaseTool/Source/C/GNUmakefile to use the consistent style "GUN/Linux".

Thanks
Liming
From: parmeshwr_pra...@dell.com 
[mailto:parmeshwr_pra...@dell.com]
Sent: Wednesday, July 17, 2013 7:58 PM
To: Gao, Liming; Lu, Ken; Li, Godkey; Ye, Ted; Lin, Sen; Wang, EikanX; He, 
Kenny; Xu, Yi
Cc: Liu, Yingke D; 
edk2-devel@lists.sourceforge.net; 
arlar-3adolfobioycasaresvideoconfrmaut...@dell.com
Subject: RE: [edk2] Recall: GNUMakefile comment need to be improved

Hi Liming,

Please find the respective patches.
Please let me know for any other changes.

Regards
Parmeshwr Prasad

From: Gao, Liming [mailto:liming@intel.com]
Sent: Wednesday, July 17, 2013 2:57 PM
To: Prasad, Parmeshwr; Lu, Ken; Li, Godkey; Ye, Ted; Lin, Sen; Wang, EikanX; 
He, Kenny; Xu, Yi
Cc: Liu, Yingke D; 
edk2-devel@lists.sourceforge.net; .AR 
LAR-3 Adolfo Bioy Casares Video Conf Rm Author
Subject: RE: [edk2] Recall: GNUMakefile comment need to be improved

Yes. Please create the patch and send it for review. If the patch is OK,I could 
help commit it.

From: parmeshwr_pra...@dell.com 
[mailto:parmeshwr_pra...@dell.com]
Sent: Wednesday, July 17, 2013 5:14 PM
To: Gao, Liming; Lu, Ken; Li, Godkey; Ye, Ted; Lin, Sen; Wang, EikanX; He, 
Kenny; Xu, Yi
Cc: Liu, Yingke D; 
edk2-devel@lists.sourceforge.net; 
arlar-3adolfobioycasaresvideoconfrmaut...@dell.com
Subject: RE: [edk2] Recall: GNUMakefile comment need to be improved


Hi Liming,



I have found similar issue in may files, please go through the attachments.

Please let me know if you want me to create patch for all mentioned files.
File name

Error/Mistake

BeagleBoarsPkg/Tools/GNUmakefile

No

DuetPkg/BootSector/GNUmakefile

No

BaseTool/Source/Python/GNUmakefile

No

BaseTool/Source/C/TianoCompress/GNUmakefile

Yes

BaseTool/Source/C/GenCrc32/GNUmakefile

Yes

BaseTool/Source/C/EfiRom/GNUmakefile

Yes

BaseTool/Source/C/GnuGenBootSector/GNUmakefile

Yes

BaseTool/Source/C/Common/GNUmakefile

Yes

BaseTool/Source/C/GenVtf/GNUmakefile

Yes

BaseTool/Source/C/EfiLdeImage/GNUmakefile

Yes

BaseTool/Source/C/VolInfo/GNUmakefile

Yes

BaseTool/Source/C/VfrCompile/GNUmakefile

Yes

BaseTool/Source/C/GenSec/GNUmakefile

Yes

BaseTool/Source/C/GenFfs/GNUmakefile

Yes

BaseTool/Source/C/Split/GNUmakefile

Yes

BaseTool/Source/C/GNUmakefile

No

BaseTool/Source/C/LzmaCompress/GNUmakefile

Yes

BaseTool/Source/C/BootSecImage/GNUmakefile

Yes

BaseTool/Source/C/GenPage/GNUmakefile

Yes

BaseTool/Source/C/GenFw/GNUmakefile

Yes

BaseTool/Source/C/GenFv/GNUmakefile

Yes

BaseTool/Test/GNUmakefile

Yes

BaseTool/GNUmakefile

No






Regards

Parmeshwr



-Original Message-
From: Prasad, Parmeshwr
Sent: Monday, July 15, 2013 11:19 AM
To: liming@intel.com; 
ken...@intel.com; 
godkey...@intel.com; 
ted...@intel.com; 
sen@intel.com; 
eikanx.w...@intel.com; 
kenny...@intel.com; 
yi...@intel.com
Cc: yingke.d@intel.com; 
edk2-devel@lists.sourceforge.net

Re: [edk2] Recall: GNUMakefile comment need to be improved

2013-07-18 Thread Parmeshwr_Prasad
Hi Liming,

Please find the python tool patch.

Regards
Parmeshwr

From: Gao, Liming [mailto:liming@intel.com]
Sent: Thursday, July 18, 2013 12:58 PM
To: Prasad, Parmeshwr; Lu, Ken; Li, Godkey; Ye, Ted; Lin, Sen; Wang, EikanX; 
He, Kenny; Xu, Yi
Cc: Liu, Yingke D; edk2-devel@lists.sourceforge.net; .AR LAR-3 Adolfo Bioy 
Casares Video Conf Rm Author
Subject: RE: [edk2] Recall: GNUMakefile comment need to be improved

Prasad:
  I suggest you also update BaseTool/Source/Python/GNUmakefile and 
BaseTool/Source/C/GNUmakefile to use the consistent style "GUN/Linux".

Thanks
Liming
From: parmeshwr_pra...@dell.com 
[mailto:parmeshwr_pra...@dell.com]
Sent: Wednesday, July 17, 2013 7:58 PM
To: Gao, Liming; Lu, Ken; Li, Godkey; Ye, Ted; Lin, Sen; Wang, EikanX; He, 
Kenny; Xu, Yi
Cc: Liu, Yingke D; 
edk2-devel@lists.sourceforge.net; 
arlar-3adolfobioycasaresvideoconfrmaut...@dell.com
Subject: RE: [edk2] Recall: GNUMakefile comment need to be improved

Hi Liming,

Please find the respective patches.
Please let me know for any other changes.

Regards
Parmeshwr Prasad

From: Gao, Liming [mailto:liming@intel.com]
Sent: Wednesday, July 17, 2013 2:57 PM
To: Prasad, Parmeshwr; Lu, Ken; Li, Godkey; Ye, Ted; Lin, Sen; Wang, EikanX; 
He, Kenny; Xu, Yi
Cc: Liu, Yingke D; 
edk2-devel@lists.sourceforge.net; .AR 
LAR-3 Adolfo Bioy Casares Video Conf Rm Author
Subject: RE: [edk2] Recall: GNUMakefile comment need to be improved

Yes. Please create the patch and send it for review. If the patch is OK,I could 
help commit it.

From: parmeshwr_pra...@dell.com 
[mailto:parmeshwr_pra...@dell.com]
Sent: Wednesday, July 17, 2013 5:14 PM
To: Gao, Liming; Lu, Ken; Li, Godkey; Ye, Ted; Lin, Sen; Wang, EikanX; He, 
Kenny; Xu, Yi
Cc: Liu, Yingke D; 
edk2-devel@lists.sourceforge.net; 
arlar-3adolfobioycasaresvideoconfrmaut...@dell.com
Subject: RE: [edk2] Recall: GNUMakefile comment need to be improved


Hi Liming,



I have found similar issue in may files, please go through the attachments.

Please let me know if you want me to create patch for all mentioned files.
File name

Error/Mistake

BeagleBoarsPkg/Tools/GNUmakefile

No

DuetPkg/BootSector/GNUmakefile

No

BaseTool/Source/Python/GNUmakefile

No

BaseTool/Source/C/TianoCompress/GNUmakefile

Yes

BaseTool/Source/C/GenCrc32/GNUmakefile

Yes

BaseTool/Source/C/EfiRom/GNUmakefile

Yes

BaseTool/Source/C/GnuGenBootSector/GNUmakefile

Yes

BaseTool/Source/C/Common/GNUmakefile

Yes

BaseTool/Source/C/GenVtf/GNUmakefile

Yes

BaseTool/Source/C/EfiLdeImage/GNUmakefile

Yes

BaseTool/Source/C/VolInfo/GNUmakefile

Yes

BaseTool/Source/C/VfrCompile/GNUmakefile

Yes

BaseTool/Source/C/GenSec/GNUmakefile

Yes

BaseTool/Source/C/GenFfs/GNUmakefile

Yes

BaseTool/Source/C/Split/GNUmakefile

Yes

BaseTool/Source/C/GNUmakefile

No

BaseTool/Source/C/LzmaCompress/GNUmakefile

Yes

BaseTool/Source/C/BootSecImage/GNUmakefile

Yes

BaseTool/Source/C/GenPage/GNUmakefile

Yes

BaseTool/Source/C/GenFw/GNUmakefile

Yes

BaseTool/Source/C/GenFv/GNUmakefile

Yes

BaseTool/Test/GNUmakefile

Yes

BaseTool/GNUmakefile

No






Regards

Parmeshwr



-Original Message-
From: Prasad, Parmeshwr
Sent: Monday, July 15, 2013 11:19 AM
To: liming@intel.com; 
ken...@intel.com; 
godkey...@intel.com; 
ted...@intel.com; 
sen@intel.com; 
eikanx.w...@intel.com; 
kenny...@intel.com; 
yi...@intel.com
Cc: yingke.d@intel.com; 
edk2-devel@lists.sourceforge.net; .AR 
LAR-3 Adolfo Bioy Casares Video Conf Rm Author
Subject: Re: [edk2] Recall: GNUMakefile comment need to be improved



Thanks Liming for quick reply.





-Original Message-

From: Gao, Liming [mailto:liming@intel.com]

Sent: Monday, July 15, 2013 10:33 AM

To: Prasad, Parmeshwr; Lu, Ken; Li, Godkey; Ye, Ted; Lin, Sen; Wang, EikanX; 
He, Kenny; Xu, Yi

Cc: edk2-devel@lists.sourceforge.net; 
.AR LAR-3 Adolfo Bioy Casares Video Conf Rm Author; Gao, Liming; Liu, Yingke D

Subject: RE: [edk2] Recall: GNUMakefile comment need to be improved



Hi:

   I have committed your change into BaseTools project at 2587.



-Original Message-

From: parmeshwr_pra...@dell.com 
[mailto:parmeshwr_pra...@dell.com]

Sent: Monday, July 15, 2013 12:55 PM

To: Lu, Ken; Li, Godkey; Ye, Ted; Lin, Sen; Wang, EikanX; He, Kenny; Xu, Yi

Cc: edk2-devel@lists.sourceforge.net

Re: [edk2] Recall: GNUMakefile comment need to be improved

2013-07-17 Thread Parmeshwr_Prasad
Hi Liming,

Please find the respective patches.
Please let me know for any other changes.

Regards
Parmeshwr Prasad

From: Gao, Liming [mailto:liming@intel.com]
Sent: Wednesday, July 17, 2013 2:57 PM
To: Prasad, Parmeshwr; Lu, Ken; Li, Godkey; Ye, Ted; Lin, Sen; Wang, EikanX; 
He, Kenny; Xu, Yi
Cc: Liu, Yingke D; edk2-devel@lists.sourceforge.net; .AR LAR-3 Adolfo Bioy 
Casares Video Conf Rm Author
Subject: RE: [edk2] Recall: GNUMakefile comment need to be improved

Yes. Please create the patch and send it for review. If the patch is OK,I could 
help commit it.

From: parmeshwr_pra...@dell.com 
[mailto:parmeshwr_pra...@dell.com]
Sent: Wednesday, July 17, 2013 5:14 PM
To: Gao, Liming; Lu, Ken; Li, Godkey; Ye, Ted; Lin, Sen; Wang, EikanX; He, 
Kenny; Xu, Yi
Cc: Liu, Yingke D; 
edk2-devel@lists.sourceforge.net; 
arlar-3adolfobioycasaresvideoconfrmaut...@dell.com
Subject: RE: [edk2] Recall: GNUMakefile comment need to be improved


Hi Liming,



I have found similar issue in may files, please go through the attachments.

Please let me know if you want me to create patch for all mentioned files.
File name

Error/Mistake

BeagleBoarsPkg/Tools/GNUmakefile

No

DuetPkg/BootSector/GNUmakefile

No

BaseTool/Source/Python/GNUmakefile

No

BaseTool/Source/C/TianoCompress/GNUmakefile

Yes

BaseTool/Source/C/GenCrc32/GNUmakefile

Yes

BaseTool/Source/C/EfiRom/GNUmakefile

Yes

BaseTool/Source/C/GnuGenBootSector/GNUmakefile

Yes

BaseTool/Source/C/Common/GNUmakefile

Yes

BaseTool/Source/C/GenVtf/GNUmakefile

Yes

BaseTool/Source/C/EfiLdeImage/GNUmakefile

Yes

BaseTool/Source/C/VolInfo/GNUmakefile

Yes

BaseTool/Source/C/VfrCompile/GNUmakefile

Yes

BaseTool/Source/C/GenSec/GNUmakefile

Yes

BaseTool/Source/C/GenFfs/GNUmakefile

Yes

BaseTool/Source/C/Split/GNUmakefile

Yes

BaseTool/Source/C/GNUmakefile

No

BaseTool/Source/C/LzmaCompress/GNUmakefile

Yes

BaseTool/Source/C/BootSecImage/GNUmakefile

Yes

BaseTool/Source/C/GenPage/GNUmakefile

Yes

BaseTool/Source/C/GenFw/GNUmakefile

Yes

BaseTool/Source/C/GenFv/GNUmakefile

Yes

BaseTool/Test/GNUmakefile

Yes

BaseTool/GNUmakefile

No






Regards

Parmeshwr



-Original Message-
From: Prasad, Parmeshwr
Sent: Monday, July 15, 2013 11:19 AM
To: liming@intel.com; 
ken...@intel.com; 
godkey...@intel.com; 
ted...@intel.com; 
sen@intel.com; 
eikanx.w...@intel.com; 
kenny...@intel.com; 
yi...@intel.com
Cc: yingke.d@intel.com; 
edk2-devel@lists.sourceforge.net; .AR 
LAR-3 Adolfo Bioy Casares Video Conf Rm Author
Subject: Re: [edk2] Recall: GNUMakefile comment need to be improved



Thanks Liming for quick reply.





-Original Message-

From: Gao, Liming [mailto:liming@intel.com]

Sent: Monday, July 15, 2013 10:33 AM

To: Prasad, Parmeshwr; Lu, Ken; Li, Godkey; Ye, Ted; Lin, Sen; Wang, EikanX; 
He, Kenny; Xu, Yi

Cc: edk2-devel@lists.sourceforge.net; 
.AR LAR-3 Adolfo Bioy Casares Video Conf Rm Author; Gao, Liming; Liu, Yingke D

Subject: RE: [edk2] Recall: GNUMakefile comment need to be improved



Hi:

   I have committed your change into BaseTools project at 2587.



-Original Message-

From: parmeshwr_pra...@dell.com 
[mailto:parmeshwr_pra...@dell.com]

Sent: Monday, July 15, 2013 12:55 PM

To: Lu, Ken; Li, Godkey; Ye, Ted; Lin, Sen; Wang, EikanX; He, Kenny; Xu, Yi

Cc: edk2-devel@lists.sourceforge.net; 
arlar-3adolfobioycasaresvideoconfrmaut...@dell.com

Subject: Re: [edk2] Recall: GNUMakefile comment need to be improved



Hi All,



Can I know what stage is the changes done by me ?



-Original Message-

From: Lu, Ken [mailto:ken...@intel.com]

Sent: Thursday, July 11, 2013 1:56 PM

To: Li, Godkey; Ye, Ted; Lin, Sen; Wang, EikanX; He, Kenny; Xu, Yi

Cc: 'edk2-devel@lists.sourceforge.net'

Subject: [edk2] Recall: GNUMakefile comment need to be improved



Lu, Ken would like to recall the message, "[edk2] GNUMakefile comment need to 
be improved".

--

See everything from the browser to the database with AppDynamics Get end-to-end 
visibility with application monitoring from AppDynamics Isolate bottlenecks and 
diagnose root cause in seconds.

Start your free trial of AppDynamics Pro today!

http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

___

edk2-devel mailing list

edk2-devel@lists.sour

Re: [edk2] Recall: GNUMakefile comment need to be improved

2013-07-17 Thread Parmeshwr_Prasad
Hi Liming,



I have found similar issue in may files, please go through the attachments.

Please let me know if you want me to create patch for all mentioned files.
File name

Error/Mistake

BeagleBoarsPkg/Tools/GNUmakefile

No

DuetPkg/BootSector/GNUmakefile

No

BaseTool/Source/Python/GNUmakefile

No

BaseTool/Source/C/TianoCompress/GNUmakefile

Yes

BaseTool/Source/C/GenCrc32/GNUmakefile

Yes

BaseTool/Source/C/EfiRom/GNUmakefile

Yes

BaseTool/Source/C/GnuGenBootSector/GNUmakefile

Yes

BaseTool/Source/C/Common/GNUmakefile

Yes

BaseTool/Source/C/GenVtf/GNUmakefile

Yes

BaseTool/Source/C/EfiLdeImage/GNUmakefile

Yes

BaseTool/Source/C/VolInfo/GNUmakefile

Yes

BaseTool/Source/C/VfrCompile/GNUmakefile

Yes

BaseTool/Source/C/GenSec/GNUmakefile

Yes

BaseTool/Source/C/GenFfs/GNUmakefile

Yes

BaseTool/Source/C/Split/GNUmakefile

Yes

BaseTool/Source/C/GNUmakefile

No

BaseTool/Source/C/LzmaCompress/GNUmakefile

Yes

BaseTool/Source/C/BootSecImage/GNUmakefile

Yes

BaseTool/Source/C/GenPage/GNUmakefile

Yes

BaseTool/Source/C/GenFw/GNUmakefile

Yes

BaseTool/Source/C/GenFv/GNUmakefile

Yes

BaseTool/Test/GNUmakefile

Yes

BaseTool/GNUmakefile

No






Regards

Parmeshwr



-Original Message-
From: Prasad, Parmeshwr
Sent: Monday, July 15, 2013 11:19 AM
To: liming@intel.com; ken...@intel.com; godkey...@intel.com; 
ted...@intel.com; sen@intel.com; eikanx.w...@intel.com; kenny...@intel.com; 
yi...@intel.com
Cc: yingke.d@intel.com; edk2-devel@lists.sourceforge.net; .AR LAR-3 Adolfo 
Bioy Casares Video Conf Rm Author
Subject: Re: [edk2] Recall: GNUMakefile comment need to be improved



Thanks Liming for quick reply.





-Original Message-

From: Gao, Liming [mailto:liming@intel.com]

Sent: Monday, July 15, 2013 10:33 AM

To: Prasad, Parmeshwr; Lu, Ken; Li, Godkey; Ye, Ted; Lin, Sen; Wang, EikanX; 
He, Kenny; Xu, Yi

Cc: edk2-devel@lists.sourceforge.net; 
.AR LAR-3 Adolfo Bioy Casares Video Conf Rm Author; Gao, Liming; Liu, Yingke D

Subject: RE: [edk2] Recall: GNUMakefile comment need to be improved



Hi:

   I have committed your change into BaseTools project at 2587.



-Original Message-

From: parmeshwr_pra...@dell.com 
[mailto:parmeshwr_pra...@dell.com]

Sent: Monday, July 15, 2013 12:55 PM

To: Lu, Ken; Li, Godkey; Ye, Ted; Lin, Sen; Wang, EikanX; He, Kenny; Xu, Yi

Cc: edk2-devel@lists.sourceforge.net; 
arlar-3adolfobioycasaresvideoconfrmaut...@dell.com

Subject: Re: [edk2] Recall: GNUMakefile comment need to be improved



Hi All,



Can I know what stage is the changes done by me ?



-Original Message-

From: Lu, Ken [mailto:ken...@intel.com]

Sent: Thursday, July 11, 2013 1:56 PM

To: Li, Godkey; Ye, Ted; Lin, Sen; Wang, EikanX; He, Kenny; Xu, Yi

Cc: 'edk2-devel@lists.sourceforge.net'

Subject: [edk2] Recall: GNUMakefile comment need to be improved



Lu, Ken would like to recall the message, "[edk2] GNUMakefile comment need to 
be improved".

--

See everything from the browser to the database with AppDynamics Get end-to-end 
visibility with application monitoring from AppDynamics Isolate bottlenecks and 
diagnose root cause in seconds.

Start your free trial of AppDynamics Pro today!

http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

___

edk2-devel mailing list

edk2-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/edk2-devel



--

See everything from the browser to the database with AppDynamics Get end-to-end 
visibility with application monitoring from AppDynamics Isolate bottlenecks and 
diagnose root cause in seconds.

Start your free trial of AppDynamics Pro today!

http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

___

edk2-devel mailing list

edk2-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/edk2-devel



--

See everything from the browser to the database with AppDynamics Get end-to-end 
visibility with application monitoring from AppDynamics Isolate bottlenecks and 
diagnose root cause in seconds.

Start your free trial of AppDynamics Pro today!

http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

___

edk2-devel mailing list

edk2-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/edk2-devel
---

Re: [edk2] Recall: GNUMakefile comment need to be improved

2013-07-14 Thread Parmeshwr_Prasad
Thanks Liming for quick reply.


-Original Message-
From: Gao, Liming [mailto:liming@intel.com] 
Sent: Monday, July 15, 2013 10:33 AM
To: Prasad, Parmeshwr; Lu, Ken; Li, Godkey; Ye, Ted; Lin, Sen; Wang, EikanX; 
He, Kenny; Xu, Yi
Cc: edk2-devel@lists.sourceforge.net; .AR LAR-3 Adolfo Bioy Casares Video Conf 
Rm Author; Gao, Liming; Liu, Yingke D
Subject: RE: [edk2] Recall: GNUMakefile comment need to be improved

Hi:
   I have committed your change into BaseTools project at 2587. 

-Original Message-
From: parmeshwr_pra...@dell.com [mailto:parmeshwr_pra...@dell.com] 
Sent: Monday, July 15, 2013 12:55 PM
To: Lu, Ken; Li, Godkey; Ye, Ted; Lin, Sen; Wang, EikanX; He, Kenny; Xu, Yi
Cc: edk2-devel@lists.sourceforge.net; 
arlar-3adolfobioycasaresvideoconfrmaut...@dell.com
Subject: Re: [edk2] Recall: GNUMakefile comment need to be improved

Hi All,

Can I know what stage is the changes done by me ?

-Original Message-
From: Lu, Ken [mailto:ken...@intel.com]
Sent: Thursday, July 11, 2013 1:56 PM
To: Li, Godkey; Ye, Ted; Lin, Sen; Wang, EikanX; He, Kenny; Xu, Yi
Cc: 'edk2-devel@lists.sourceforge.net'
Subject: [edk2] Recall: GNUMakefile comment need to be improved

Lu, Ken would like to recall the message, "[edk2] GNUMakefile comment need to 
be improved".
--
See everything from the browser to the database with AppDynamics Get end-to-end 
visibility with application monitoring from AppDynamics Isolate bottlenecks and 
diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

--
See everything from the browser to the database with AppDynamics Get end-to-end 
visibility with application monitoring from AppDynamics Isolate bottlenecks and 
diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


Re: [edk2] Recall: GNUMakefile comment need to be improved

2013-07-14 Thread Parmeshwr_Prasad
Hi All,

Can I know what stage is the changes done by me ?

-Original Message-
From: Lu, Ken [mailto:ken...@intel.com] 
Sent: Thursday, July 11, 2013 1:56 PM
To: Li, Godkey; Ye, Ted; Lin, Sen; Wang, EikanX; He, Kenny; Xu, Yi
Cc: 'edk2-devel@lists.sourceforge.net'
Subject: [edk2] Recall: GNUMakefile comment need to be improved

Lu, Ken would like to recall the message, "[edk2] GNUMakefile comment need to 
be improved".
--
See everything from the browser to the database with AppDynamics Get end-to-end 
visibility with application monitoring from AppDynamics Isolate bottlenecks and 
diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


Re: [edk2] GNUMakefile comment need to be improved

2013-07-10 Thread Parmeshwr_Prasad
Hi Andrew,

Even I feel GNU is more correct then Linux.
And it need to be fixed soon.


From: Andrew Fish [mailto:af...@apple.com]
Sent: Thursday, July 11, 2013 10:35 AM
To: Prasad, Parmeshwr
Cc: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] GNUMakefile comment need to be improved


On Jul 10, 2013, at 9:56 PM, 
parmeshwr_pra...@dell.com wrote:



Hi All,

I have seen following file at source code.
File : 
https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010.SR1/BaseTools/GNUmakefile
Revision number:13467

And found that comment can be improved.

Recent comment in file

"## @file
# Windows makefile for Base Tools project build.
#
# Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
"

It can be improved to

"## @file

# Linux makefile for Base Tools project build.

#

I think GNU is more correct than Linux? Not sure what we do in other places?

Thanks,

Andrew



# Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
"


Best Regards,
Parmeshwr Prasad
Tel : +91-9743262018


--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


[edk2] GNUMakefile comment need to be improved

2013-07-10 Thread Parmeshwr_Prasad

Hi All,

I have seen following file at source code.
File : 
https://edk2.svn.sourceforge.net/svnroot/edk2/branches/UDK2010.SR1/BaseTools/GNUmakefile
Revision number:13467

And found that comment can be improved.

Recent comment in file

"## @file
# Windows makefile for Base Tools project build.
#
# Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
"

It can be improved to

"## @file

# Linux makefile for Base Tools project build.

#

# Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
"


Best Regards,
Parmeshwr Prasad
Tel : +91-9743262018
[cid:image001.png@01CE7E21.1C3DDD40]

<>--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel


[edk2] need help in importing the files in UEFI Emulator

2013-07-05 Thread Parmeshwr_Prasad


Hi All,

I am able to compile and run the Emulator in edk2.
But facing proble in running any efi application need help in setting the
Disk.

Please go through the attachment.

Regards -
Parmeshwr Prasad
+91-9743262018

<>--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel