Re: [edk2] Proposal of Git Repo Layout for EDKII project

2015-06-03 Thread Jordan Justen
On 2015-06-03 12:01:58, Andrew Fish wrote: On Jun 3, 2015, at 7:50 AM, Brian J. Johnson bjohn...@sgi.com wrote: I fully agree with others' reluctance to use git submodules, and the reasons they have expressed: git submodules are a major pain for developers, and the concerns Liming listed

Re: [edk2] [RFC] edk2 support for a new QEMU device - PXB (PCI Expander Device)

2015-06-03 Thread Marcel Apfelbaum
On 06/03/2015 01:20 PM, Laszlo Ersek wrote: On 06/03/15 10:15, Marcel Apfelbaum wrote: On 06/02/2015 07:25 PM, Laszlo Ersek wrote: On 06/02/15 17:04, Marcel Apfelbaum wrote: Hi, The following series: - [Qemu-devel] [PATCH V8 00/17] hw/pc: implement multiple primary busses for

Re: [edk2] ShellPkg: Handle escape characters properly for parse command

2015-06-03 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey jaben.car...@intel.com Commit 17556 From: Shah, Tapan [mailto:tapands...@hp.com] Sent: Wednesday, June 03, 2015 9:18 AM To: edk2-devel@lists.sourceforge.net; Carsey, Jaben Subject: ShellPkg: Handle escape characters properly for parse command Importance: High Jaben,

Re: [edk2] Proposal of Git Repo Layout for EDKII project

2015-06-03 Thread Roy Franz
On Wed, Jun 3, 2015 at 7:50 AM, Brian J. Johnson bjohn...@sgi.com wrote: On 06/03/2015 04:50 AM, Gao, Liming wrote: Hi, all Now, EDKII project Git mirror is ready in GitHub (https:// https://github.com/tianocoregithub.com/tianocore https://github.com/tianocore). There are EDKII project

Re: [edk2] Proposal of Git Repo Layout for EDKII project

2015-06-03 Thread Andrew Fish
On Jun 3, 2015, at 7:50 AM, Brian J. Johnson bjohn...@sgi.com wrote: On 06/03/2015 04:50 AM, Gao, Liming wrote: Hi, all Now, EDKII project Git mirror is ready in GitHub (https:// https://github.com/tianocoregithub.com/tianocore https://github.com/tianocore). There are EDKII project

Re: [edk2] ShellPkg: Add pipe support for parse command

2015-06-03 Thread Carsey, Jaben
Reviewed-by: Jaben Carsey jaben.car...@intel.com Commit 17555 From: Shah, Tapan [mailto:tapands...@hp.com] Sent: Wednesday, June 03, 2015 9:18 AM To: edk2-devel@lists.sourceforge.net; Carsey, Jaben Subject: ShellPkg: Add pipe support for parse command Importance: High Jaben, Can you review

Re: [edk2] Proposal of Git Repo Layout for EDKII project

2015-06-03 Thread Brian J. Johnson
On 06/03/2015 03:35 PM, Kirkendall, Garrett wrote: The fact that git only works on a complete repository makes it impossible to pull a complete EDKII tree, as some sort of external, such that the package folders go into the root directory as expected by the EDKII build infrastructure. This

Re: [edk2] Proposal of Git Repo Layout for EDKII project

2015-06-03 Thread Laszlo Ersek
On 06/03/15 22:00, Jordan Justen wrote: On 2015-06-03 12:01:58, Andrew Fish wrote: On Jun 3, 2015, at 7:50 AM, Brian J. Johnson bjohn...@sgi.com wrote: I fully agree with others' reluctance to use git submodules, and the reasons they have expressed: git submodules are a major pain for

Re: [edk2] [RFC] edk2 support for a new QEMU device - PXB (PCI Expander Device)

2015-06-03 Thread Laszlo Ersek
On 06/03/15 22:34, Marcel Apfelbaum wrote: On 06/03/2015 01:20 PM, Laszlo Ersek wrote: Maybe we can experiment some more; for example we could start by you explaining to me how exactly to probe for a root bus's presence (you mentioned device 0, but I'll need more than that). Well, I lied.

Re: [edk2] Proposal of Git Repo Layout for EDKII project

2015-06-03 Thread Roy Franz
On Wed, Jun 3, 2015 at 1:00 PM, Jordan Justen jordan.l.jus...@intel.com wrote: On 2015-06-03 12:01:58, Andrew Fish wrote: On Jun 3, 2015, at 7:50 AM, Brian J. Johnson bjohn...@sgi.com wrote: I fully agree with others' reluctance to use git submodules, and the reasons they have expressed:

[edk2] Proposal of Git Repo Layout for EDKII project

2015-06-03 Thread Gao, Liming
Hi, all Now, EDKII project Git mirror is ready in GitHub (https://https://github.com/tianocoregithub.com/tianocorehttps://github.com/tianocore). There are EDKII project Repo and each package Repo. After migrate EDKII from SVN to GitHub, EDKII Git Repo will be writable, EDKII SVN project will

[edk2] [PATCH] MdeModulePkg DxeSmmPerformanceLib: Cover no SMM performance data case.

2015-06-03 Thread Star Zeng
1. Continue to get performance data by Performance Protocol when no SMM performance data found. 2. Not try to get SMM performance data again if no SMM performance handler found. 3. Correct typo 'totol' and 'guage' typo. Cc: Liming Gao liming@intel.com Contributed-under: TianoCore Contribution

Re: [edk2] Replacement EDK2 email list coming soon

2015-06-03 Thread Laszlo Ersek
On 06/03/15 11:12, Ard Biesheuvel wrote: On 27 May 2015 at 21:06, Laszlo Ersek ler...@redhat.com wrote: On 05/27/15 20:55, Carsey, Jaben wrote: -Original Message- From: Andrew Fish [mailto:af...@apple.com] Sent: Wednesday, May 27, 2015 11:49 AM To: Justen, Jordan L Cc: Bruce Cran;

Re: [edk2] Proposal of Git Repo Layout for EDKII project

2015-06-03 Thread Laszlo Ersek
On 06/03/15 13:14, Laszlo Ersek wrote: I think there are many more inter-dependencies in edk2 than that. Edk2 development does not occur *only* along protocol, PPI, and library class boundaries. Theoretically that might be possible, but it would require *extreme* discipline in development

Re: [edk2] Proposal of Git Repo Layout for EDKII project

2015-06-03 Thread Laszlo Ersek
On 06/03/15 13:34, Paolo Bonzini wrote: On 03/06/2015 13:14, Laszlo Ersek wrote: On 06/03/15 11:50, Gao, Liming wrote: Hi, all Now, EDKII project Git mirror is ready in GitHub (https:// https://github.com/tianocoregithub.com/tianocore https://github.com/tianocore). There are EDKII

[edk2] [PATCH] MdePkg: Refine the format of comment in WindowsUxCapsule.h

2015-06-03 Thread Qiu Shumin
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin shumin@intel.com --- MdePkg/Include/IndustryStandard/WindowsUxCapsule.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Include/IndustryStandard/WindowsUxCapsule.h

Re: [edk2] Proposal of Git Repo Layout for EDKII project

2015-06-03 Thread Paolo Bonzini
On 03/06/2015 13:14, Laszlo Ersek wrote: On 06/03/15 11:50, Gao, Liming wrote: Hi, all Now, EDKII project Git mirror is ready in GitHub (https:// https://github.com/tianocoregithub.com/tianocore https://github.com/tianocore). There are EDKII project Repo and each package Repo. After

[edk2] [Patch] MdePkg:Add header files for DNS/HTTP/IP4Config2 protocols.

2015-06-03 Thread jiaxinwu
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: jiaxinwu jiaxin...@intel.com --- MdePkg/Include/Protocol/Dns4.h | 544 MdePkg/Include/Protocol/Dns6.h | 539 +++ MdePkg/Include/Protocol/Http.h

Re: [edk2] [PATCH] MdePkg: Refine the format of comment in WindowsUxCapsule.h

2015-06-03 Thread Zhang, Chao B
Hi Shumin: The patch is good to me. Thanks for the fix Reviewed-by : Chao Zhang chao.b.zh...@intel.com Thanks Best regards Chao Zhang -Original Message- From: Qiu, Shumin Sent: Wednesday, June 03, 2015 4:48 PM To: edk2-devel@lists.sourceforge.net Cc: Zhang, Chao B Subject:

Re: [edk2] NVMe question

2015-06-03 Thread Laszlo Ersek
On 06/03/15 02:24, Tian, Feng wrote: Hi, Laszlo Most of us are using MS outlook as mail client. So top-posting is inevitable per my knowledge. If you know how to avoid top posting, please let us know. The constructive answer would be http://home.in.tum.de/~jain/software/outlook-quotefix/

Re: [edk2] [RFC] edk2 support for a new QEMU device - PXB (PCI Expander Device)

2015-06-03 Thread Marcel Apfelbaum
On 06/02/2015 07:25 PM, Laszlo Ersek wrote: On 06/02/15 17:04, Marcel Apfelbaum wrote: Hi, The following series: - [Qemu-devel] [PATCH V8 00/17] hw/pc: implement multiple primary busses for pc machines - https://www.mail-archive.com/qemu-devel@nongnu.org/msg300089.html

Re: [edk2] Replacement EDK2 email list coming soon

2015-06-03 Thread Ard Biesheuvel
On 27 May 2015 at 21:06, Laszlo Ersek ler...@redhat.com wrote: On 05/27/15 20:55, Carsey, Jaben wrote: -Original Message- From: Andrew Fish [mailto:af...@apple.com] Sent: Wednesday, May 27, 2015 11:49 AM To: Justen, Jordan L Cc: Bruce Cran; edk2-devel@lists.sourceforge.net; Olivier

Re: [edk2] [RFC] edk2 support for a new QEMU device - PXB (PCI Expander Device)

2015-06-03 Thread Laszlo Ersek
On 06/03/15 10:15, Marcel Apfelbaum wrote: On 06/02/2015 07:25 PM, Laszlo Ersek wrote: On 06/02/15 17:04, Marcel Apfelbaum wrote: Hi, The following series: - [Qemu-devel] [PATCH V8 00/17] hw/pc: implement multiple primary busses for pc machines -

Re: [edk2] Proposal of Git Repo Layout for EDKII project

2015-06-03 Thread Laszlo Ersek
On 06/03/15 11:50, Gao, Liming wrote: Hi, all Now, EDKII project Git mirror is ready in GitHub (https:// https://github.com/tianocoregithub.com/tianocore https://github.com/tianocore). There are EDKII project Repo and each package Repo. After migrate EDKII from SVN to GitHub, EDKII Git

Re: [edk2] [RFC] edk2 support for a new QEMU device - PXB (PCI Expander Device)

2015-06-03 Thread Brian J. Johnson
On 06/03/2015 05:20 AM, Laszlo Ersek wrote: After sleeping on it:), I'd certainly like to find the time to collaborate on this myself. Maybe we can experiment some more; for example we could start by you explaining to me how exactly to probe for a root bus's presence (you mentioned device 0,

Re: [edk2] Proposal of Git Repo Layout for EDKII project

2015-06-03 Thread Brian J. Johnson
On 06/03/2015 04:50 AM, Gao, Liming wrote: Hi, all Now, EDKII project Git mirror is ready in GitHub (https:// https://github.com/tianocoregithub.com/tianocore https://github.com/tianocore). There are EDKII project Repo and each package Repo. After migrate EDKII from SVN to GitHub, EDKII

[edk2] [PATCH] ArmVirtPkg: increase memory preallocations to reduce region count

2015-06-03 Thread Ard Biesheuvel
This updates the sizes of the preallocated regions so that the number of distinct regions that exists is minimal at the time we exit boot services. For a typical run of the ArmVirtQemu platform, we get the following utilization numbers: Reserved : 4 Pages (16,384 Bytes)

Re: [edk2] Proposal of Git Repo Layout for EDKII project

2015-06-03 Thread Paolo Bonzini
On 03/06/2015 13:57, Laszlo Ersek wrote: Bisectability would be extremely painful, because bisection on the master repository would leave you at the single huge commit where you atomically update all subpackages. You would have no clue of how to bisect _within_ that atomic update, in

Re: [edk2] Proposal of Git Repo Layout for EDKII project

2015-06-03 Thread Leif Lindholm
On Wed, Jun 03, 2015 at 09:50:27AM +, Gao, Liming wrote: Hi, all Now, EDKII project Git mirror is ready in GitHub (https://https://github.com/tianocoregithub.com/tianocorehttps://github.com/tianocore). There are EDKII project Repo and each package Repo. After migrate EDKII

Re: [edk2] Accessing SMBios' System Event Log through GPNV functions

2015-06-03 Thread Tomaz Fogaça
2015-06-02 19:57 GMT-03:00 Andrew Fish af...@apple.com: On Jun 2, 2015, at 12:47 PM, Andrew Fish af...@apple.com wrote: On Jun 2, 2015, at 11:50 AM, Tomaz Fogaça tom.fog...@gmail.com wrote: Hello everyone, I'm writing this application for UEFI using the UDK and in it I'm trying to

Re: [edk2] Proposal of Git Repo Layout for EDKII project

2015-06-03 Thread Ard Biesheuvel
On 3 June 2015 at 11:50, Gao, Liming liming@intel.com wrote: Hi, all Now, EDKII project Git mirror is ready in GitHub (https://github.com/tianocore). There are EDKII project Repo and each package Repo. After migrate EDKII from SVN to GitHub, EDKII Git Repo will be writable, EDKII SVN

Re: [edk2] [PATCH] ArmVirtPkg: increase memory preallocations to reduce region count

2015-06-03 Thread Laszlo Ersek
On 06/03/15 16:49, Ard Biesheuvel wrote: This updates the sizes of the preallocated regions so that the number of distinct regions that exists is minimal at the time we exit boot services. For a typical run of the ArmVirtQemu platform, we get the following utilization numbers: Reserved

Re: [edk2] [PATCH] ArmVirtPkg: increase memory preallocations to reduce region count

2015-06-03 Thread Ard Biesheuvel
On 3 June 2015 at 17:40, Laszlo Ersek ler...@redhat.com wrote: On 06/03/15 16:49, Ard Biesheuvel wrote: This updates the sizes of the preallocated regions so that the number of distinct regions that exists is minimal at the time we exit boot services. For a typical run of the ArmVirtQemu

Re: [edk2] [PATCH] ArmVirtPkg: increase memory preallocations to reduce region count

2015-06-03 Thread Laszlo Ersek
On 06/03/15 18:14, Ard Biesheuvel wrote: Thanks, pushed as r17554 Congrats to your first (am I right?) SVN commit! A small tip (feel free to ignore it): since for edk2 patches, the tianocore contribution agreement is needed, it's useful to set up a commit message template. Something like:

Re: [edk2] [PATCH] ArmVirtPkg: increase memory preallocations to reduce region count

2015-06-03 Thread Ard Biesheuvel
On 3 June 2015 at 19:03, Laszlo Ersek ler...@redhat.com wrote: On 06/03/15 18:14, Ard Biesheuvel wrote: Thanks, pushed as r17554 Congrats to your first (am I right?) SVN commit! Indeed! A small tip (feel free to ignore it): since for edk2 patches, the tianocore contribution agreement is

[edk2] ShellPkg: Handle escape characters properly for parse command

2015-06-03 Thread Shah, Tapan
Jaben, Can you review the attached diff file with following changes? Thanks, Tapan ShellPkg: Handle escape characters properly for parse command * parse command does not remove escape character ^ if used to pass special characters like ^ , in a

[edk2] ShellPkg: Add pipe support for parse command

2015-06-03 Thread Shah, Tapan
Jaben, Can you review the attached diff file with following changes? Thanks, Tapan ShellPkg: Add pipe support for parse command * parse reads data from StdIn when pipe is used and does not require -sfo output stored in a file. (e.g.: fs0:\ ls *.nsh

Re: [edk2] Proposal of Git Repo Layout for EDKII project

2015-06-03 Thread Andrew Fish
On Jun 3, 2015, at 5:59 PM, Roy Franz roy.fr...@linaro.org wrote: Honestly if the choice comes down to an EDK2 upstream being git with 40 submodules, or a single SVN repository (with a git mirror), I'd rather have the single SVN repository. I'd never use SVN, but just use the git mirror.

Re: [edk2] Proposal of Git Repo Layout for EDKII project

2015-06-03 Thread Jordan Justen
On 2015-06-03 18:17:26, Andrew Fish wrote: On Jun 3, 2015, at 5:59 PM, Roy Franz roy.fr...@linaro.org wrote: Honestly if the choice comes down to an EDK2 upstream being git with 40 submodules, or a single SVN repository (with a git mirror), I'd rather have the single

Re: [edk2] getsystemtime-- help

2015-06-03 Thread Andrew Fish
On Jun 3, 2015, at 9:22 PM, Saiprasad Chavali s...@marvell.com wrote: Hi Andrew, Trying to measure the elapsed time interval with a call to system time at different levels. If you are writing platform code, or you know the platform.

Re: [edk2] [PATCH] MdePkg:Add UEFI 2.5 PKCS7 Verification Protocol Definition

2015-06-03 Thread Zhang, Chao B
Qin: The patch is OK to me. Reviewed-by: Chao Zhang chao.b.zh...@intel.com Thanks Best regards Chao Zhang -Original Message- From: Long, Qin Sent: Thursday, June 04, 2015 10:48 AM To: Zhang, Chao B; edk2-devel@lists.sourceforge.net Cc: Long, Qin Subject: [PATCH] MdePkg:Add

Re: [edk2] getsystemtime-- help

2015-06-03 Thread Saiprasad Chavali
Hi Andrew, Trying to measure the elapsed time interval with a call to system time at different levels. Thanks Sai From: Andrew Fish [mailto:af...@apple.com] Sent: Wednesday, June 03, 2015 7:51 PM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] getsystemtime-- help On Jun 3, 2015, at

[edk2] getsystemtime-- help

2015-06-03 Thread Saiprasad Chavali
HI, Is there a better way to obtain the system time? I tried GetTime and the call hangs When I raise the TPL level. Thanks Sai -- ___ edk2-devel mailing list

Re: [edk2] getsystemtime-- help

2015-06-03 Thread Saiprasad Chavali
Hi Andrew, Thanks for the comment, is there way we can ping the RTC with the help of architecture protocol, at higher TPL's than Callback (or) nothing? Sai From: Andrew Fish [mailto:af...@apple.com] Sent: Wednesday, June 03, 2015 7:40 PM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2]

Re: [edk2] Proposal of Git Repo Layout for EDKII project

2015-06-03 Thread Jordan Justen
On 2015-06-03 13:00:30, Jordan Justen wrote: But, even if you try to consider alternatives to submodules for composing platform trees, things get complicated. One idea, is to fork the EDK II master tree, and add submodules for your platform specific modules. To me this ends up with the worst

Re: [edk2] getsystemtime-- help

2015-06-03 Thread Andrew Fish
On Jun 3, 2015, at 7:27 PM, Saiprasad Chavali s...@marvell.com wrote: HI, Is there a better way to obtain the system time? I tried GetTime and the call hangs When I raise the TPL level. Did you violate the TPL rules in the UEFI spec? UEFI 2.5 section 6.1Table 23. TPL Restrictions

Re: [edk2] Proposal of Git Repo Layout for EDKII project

2015-06-03 Thread Andrew Fish
On Jun 3, 2015, at 7:03 PM, Jordan Justen jordan.l.jus...@intel.com wrote: You can commit to svn from git. git svn rebase git svn dcommit git svn info git svn makes svn based development sane, but it is inferior. It doesn't really support all git features. It also has

[edk2] [PATCH] MdePkg:Add UEFI 2.5 PKCS7 Verification Protocol Definition

2015-06-03 Thread qlong
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Long Qin qin.l...@intel.com --- MdePkg/Include/Protocol/Pkcs7Verify.h | 221 ++ MdePkg/MdePkg.dec | 3 + 2 files changed, 224 insertions(+) create mode 100644

Re: [edk2] getsystemtime-- help

2015-06-03 Thread Andrew Fish
On Jun 3, 2015, at 7:47 PM, Saiprasad Chavali s...@marvell.com wrote: Hi Andrew, Thanks for the comment, is there way we can ping the RTC with the help of architecture protocol, at higher TPL’s than Callback (or) nothing? The rules are the rules. What are you trying to do?

Re: [edk2] getsystemtime-- help

2015-06-03 Thread Saiprasad Chavali
Thanks Andrew, will try with “GetPerformanceCounter” and see how this works out. The test bed at present is x86 Sai From: Andrew Fish [mailto:af...@apple.com] Sent: Wednesday, June 03, 2015 9:28 PM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] getsystemtime-- help On Jun 3, 2015, at

Re: [edk2] Problem with PiSmmCore Dispatcher.c

2015-06-03 Thread Zachary Bobroff
Yao, Find attached patch file. Also, note that I had my thought process wrong for C99 vs C89 and moved the variable declarations for SmmTypeIndex and AprioriIndex to the top of the function to make the compiler more happy. Let me know if you have any comments/questions. Best Regards, Zach

Re: [edk2] NVMe question

2015-06-03 Thread Tian, Feng
Got your point. Ok, I will roll back the change Thanks Feng -Original Message- From: Busch, Keith Sent: Wednesday, June 03, 2015 22:47 To: Tian, Feng; Laszlo Ersek Cc: edk2-devel@lists.sourceforge.net; Anbazhagan, Baraneedharan; qemu devel list Subject: RE: [edk2] NVMe question

[edk2] [Patch] BaseTools: Update GenFds to handle file type Ffs Rule

2015-06-03 Thread Liming Gao
Ffs Rule can specify a file type instead of specific file name. GenFds should search Binary sections of module INF file and output directory of the module to find all matched file with the specific file type. Current GenFds only considers the final output target file. This patch applies the above

Re: [edk2] [PATCH] ArmVirtPkg: increase memory preallocations to reduce region count

2015-06-03 Thread Laszlo Ersek
On 06/03/15 19:08, Ard Biesheuvel wrote: On 3 June 2015 at 19:03, Laszlo Ersek ler...@redhat.com wrote: On 06/03/15 18:14, Ard Biesheuvel wrote: Thanks, pushed as r17554 Congrats to your first (am I right?) SVN commit! Indeed! A small tip (feel free to ignore it): since for edk2