]>
git.proxmox.com Git - mirror_edk2.git/log
vanjeff [Fri, 28 Oct 2011 06:01:55 +0000 (06:01 +0000)]
1. Introduce the API MtrrGetDefaultMemoryType () in Mtrr Library.
2. Invoke MtrrGetDefaultMemoryType() to get the default memory type instead of the hard code value in module.
3. Add go though for UC attributes.
Signed-off-by: vanjeff
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12587
6f19259b -4bc3-4df7-8a09-
765794883524
qianouyang [Fri, 28 Oct 2011 03:46:20 +0000 (03:46 +0000)]
Enable/Disable Secured Boot by 'Secure Boot Configuration' Page which is under Setup browser.
Signed-off-by: qianouyang
Reviewed-by: gdong1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12586
6f19259b -4bc3-4df7-8a09-
765794883524
lzeng14 [Thu, 27 Oct 2011 10:46:50 +0000 (10:46 +0000)]
Add core FFS3 support, FwVolDxe and SectionExtraction.
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12585
6f19259b -4bc3-4df7-8a09-
765794883524
lzeng14 [Thu, 27 Oct 2011 09:23:19 +0000 (09:23 +0000)]
Add core FFS3 support, DxeCore.
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12584
6f19259b -4bc3-4df7-8a09-
765794883524
lzeng14 [Thu, 27 Oct 2011 09:04:50 +0000 (09:04 +0000)]
Add core FFS3 support, PeiCore and DxeIpl.
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12583
6f19259b -4bc3-4df7-8a09-
765794883524
lzeng14 [Thu, 27 Oct 2011 08:45:50 +0000 (08:45 +0000)]
Add core FFS3 support, ExtractGuidedSectionLib/GuidedSectionExtractionLib/PiFirmwareFile.h.
Signed-off-by: lzeng14
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12582
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Thu, 27 Oct 2011 05:38:42 +0000 (05:38 +0000)]
Check the serial buffer empty status before performing the serial IO reading operation.
Signed-off-by: niruiyu
Reviewed-by: vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12581
6f19259b -4bc3-4df7-8a09-
765794883524
vanjeff [Thu, 27 Oct 2011 05:26:02 +0000 (05:26 +0000)]
Store PeiServices** when updating IDT table in DxeIplPeim before transfer to long mode.
Signed-off-by: vanjeff
Reviewed-by: rsun3
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12580
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Thu, 27 Oct 2011 05:24:06 +0000 (05:24 +0000)]
Check the device path protocol before opening the PciIo BY_DRIVER.
Signed-off-by: niruiyu
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12579
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Thu, 27 Oct 2011 01:10:18 +0000 (01:10 +0000)]
Initialize the parameter mUnicodeCollation before use it to avoid system hang.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12577
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Thu, 27 Oct 2011 00:43:13 +0000 (00:43 +0000)]
Update Base type SecPeiDxeTimerLibUefiCpu to support all module type.
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12576
6f19259b -4bc3-4df7-8a09-
765794883524
qianouyang [Wed, 26 Oct 2011 09:36:55 +0000 (09:36 +0000)]
Fix a bug which cause a CRTL, ALT, or SHIFT is pressed on the GOP console for NT32, it inserts a ' 'character character.
Root cause is that the parameter of UnicodeStr doesn’t initialize.
Signed-off-by: qianouyang
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12575
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Wed, 26 Oct 2011 09:29:46 +0000 (09:29 +0000)]
Adopt new IPv4/IPv6 device path for network modules.
Signed-off-by: tye
Reviewed-by: niruiyu
Adopt SasEx and new IPv6 device path for DevicePathDxe driver.
Signed-off-by: niruiyu
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12574
6f19259b -4bc3-4df7-8a09-
765794883524
vanjeff [Wed, 26 Oct 2011 07:08:32 +0000 (07:08 +0000)]
Removing IsaSerailDxe driver instead of removing the TerminalDxe driver when source level debugging feature enabled.
Signed-off-by: vanjeff
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12573
6f19259b -4bc3-4df7-8a09-
765794883524
xdu2 [Wed, 26 Oct 2011 06:52:02 +0000 (06:52 +0000)]
MdeModulePkg: Enhance error handling in NetLibGetMacAddress() of DxeNetLib.
Signed-off-by: xdu2
Reviewed-by: vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12572
6f19259b -4bc3-4df7-8a09-
765794883524
gdong1 [Wed, 26 Oct 2011 02:37:55 +0000 (02:37 +0000)]
Fix name conflict between User Credential protocol and User Credential2 protocol.
Signed-off-by: gdong1
Reviewed-by: lgao4
Reviewed-by: tye
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12570
6f19259b -4bc3-4df7-8a09-
765794883524
gdong1 [Wed, 26 Oct 2011 02:21:06 +0000 (02:21 +0000)]
correct a typo.
Signed-off-by: gdong1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12569
6f19259b -4bc3-4df7-8a09-
765794883524
gdong1 [Wed, 26 Oct 2011 02:17:52 +0000 (02:17 +0000)]
Update UID definition to align with latest UEFI spec 2.3.1.
Signed-off-by: gdong1
Reviewed-by: tye
Reviewed-by: qianouyang
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12568
6f19259b -4bc3-4df7-8a09-
765794883524
gdong1 [Wed, 26 Oct 2011 02:03:57 +0000 (02:03 +0000)]
Update UID drivers to align with latest UEFI spec 2.3.1.
Signed-off-by: gdong1
Reviewed-by: tye
Reviewed-by: qianouyang
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12567
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Tue, 25 Oct 2011 09:00:23 +0000 (09:00 +0000)]
Fix error: Multiline option info only shows the first line error, should shows the full info.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12566
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Tue, 25 Oct 2011 08:19:59 +0000 (08:19 +0000)]
Correct CpuPause.s to ICC11.
Signed-off-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12565
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Tue, 25 Oct 2011 06:12:18 +0000 (06:12 +0000)]
Change the SimpleTextInEx implementation to return CTRL+C when CTRL and C are both pressed; SimpleTextIn implementation still returns CTRL+3.
Signed-off-by: niruiyu
Reviewed-by: qianouyang
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12564
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Tue, 25 Oct 2011 06:11:54 +0000 (06:11 +0000)]
Change the SimpleTextInEx implementation to return CTRL+C when CTRL and C are both pressed; SimpleTextIn implementation still returns CTRL+3.
Signed-off-by: niruiyu
Reviewed-by: qianouyang
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12563
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Tue, 25 Oct 2011 06:09:36 +0000 (06:09 +0000)]
Change the SimpleTextInEx implementation to return CTRL+C when CTRL and C are both pressed; SimpleTextIn implementation still returns CTRL+3.
Signed-off-by: niruiyu
Reviewed-by: qianouyang
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12562
6f19259b -4bc3-4df7-8a09-
765794883524
vanjeff [Tue, 25 Oct 2011 02:28:13 +0000 (02:28 +0000)]
Consume the UNDI_CONFIG_TABLE defined in MdePkg and remove the local definition of NII_TABLE.
Signed-off-by: vanjeff
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12561
6f19259b -4bc3-4df7-8a09-
765794883524
vanjeff [Tue, 25 Oct 2011 02:25:24 +0000 (02:25 +0000)]
Add the definition of UNDI_CONFIG_TABLE defined in UEFI Specification, 2.3.1
Signed-off-by: vanjeff
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12560
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Mon, 24 Oct 2011 06:57:57 +0000 (06:57 +0000)]
Enable the SE_TIME_ZONE_NAME privilege for NT32 to fix SetTime function test running in Win7
Fix the GetTime implementation to return the correct Daylight value.
Signed-off-by: niruiyu
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12559
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Mon, 24 Oct 2011 04:37:33 +0000 (04:37 +0000)]
Update Base type SecPeiDxeTimerLibCpu to support all module type.
Signed-off-by: lgao4
Reviewed-by: jlin16
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12558
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Mon, 24 Oct 2011 03:13:24 +0000 (03:13 +0000)]
Fix BDS bug to signal ReadyToBoot event before loading the boot option.
Signed-off-by: niruiyu
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12557
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Sat, 22 Oct 2011 04:10:30 +0000 (04:10 +0000)]
Fix a typo when check the return value
Signed-off-by: ydong10
Reviewed-by: jcarsey
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12556
6f19259b -4bc3-4df7-8a09-
765794883524
li-elvin [Fri, 21 Oct 2011 08:45:07 +0000 (08:45 +0000)]
CSM should firstly set timer to enable state at first, then RestoreTpl is called.
Signed-off-by: li-elvin
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12555
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Wed, 19 Oct 2011 12:40:52 +0000 (12:40 +0000)]
Support Variable driver (VariableAuthenticatedPei/VariableAuthenticatedRuntimeDxe) to support the default variable data stored in HOB.
Signed-off-by: niruiyu
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12554
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Wed, 19 Oct 2011 09:30:43 +0000 (09:30 +0000)]
Support Variable driver (EmuRuntimeDxe) to support the default variable data stored in HOB.
Signed-off-by: niruiyu
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12553
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Wed, 19 Oct 2011 05:44:28 +0000 (05:44 +0000)]
Avoid using code name in comments.
Signed-off-by: niruiyu
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12552
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Wed, 19 Oct 2011 05:37:48 +0000 (05:37 +0000)]
Avoid using code name in comments.
Signed-off-by: niruiyu
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12551
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Wed, 19 Oct 2011 05:37:15 +0000 (05:37 +0000)]
Avoid using code name in comments.
Signed-off-by: niruiyu
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12550
6f19259b -4bc3-4df7-8a09-
765794883524
erictian [Wed, 19 Oct 2011 05:15:23 +0000 (05:15 +0000)]
If the data buffer described by InDataBuffer/OutDataBuffer and InTransferLength/OutTransferLength is too big to be transferred, EFI_BAD_BUFFER_SIZE should be returned
Signed-off-by:erictian
Reviewed-by:li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12549
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Wed, 19 Oct 2011 03:21:15 +0000 (03:21 +0000)]
Change the Keyboard thunk driver to remove DevicePath reference.
Signed-off-by: niruiyu
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12548
6f19259b -4bc3-4df7-8a09-
765794883524
li-elvin [Wed, 19 Oct 2011 00:45:13 +0000 (00:45 +0000)]
Use a local variable and assign 0 to it, then use it as legacy interrupt table base address.
Signed-off-by: li-elvin
Reviewed-by: mdkinney, ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12547
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Tue, 18 Oct 2011 07:12:35 +0000 (07:12 +0000)]
Fix GCC build failure.
Signed-off-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12546
6f19259b -4bc3-4df7-8a09-
765794883524
rsun3 [Tue, 18 Oct 2011 03:33:03 +0000 (03:33 +0000)]
MdeModulePkg PciBusDxe: Allows PCI device drivers to set the EFI_PCI_IO_ATTRIBUTE_DUAL_ADDRESS_CYCLE attribute for a PCI device.
Signed-off-by: rsun3
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12545
6f19259b -4bc3-4df7-8a09-
765794883524
li-elvin [Tue, 18 Oct 2011 02:42:34 +0000 (02:42 +0000)]
Use a local variable and assign 0 to it, then use it as legacy interrupt table base address.
Signed-off-by: li-elvin
Reviewed-by: mdkinney, ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12544
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Tue, 18 Oct 2011 01:47:53 +0000 (01:47 +0000)]
Fix a code typo.
Signed-off-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12543
6f19259b -4bc3-4df7-8a09-
765794883524
jcarsey [Mon, 17 Oct 2011 17:49:21 +0000 (17:49 +0000)]
ShellPkg: Add checking for memory allocation and pointer returns from functions.
signed-off-by: jcarsey
reviewed-by: lgrosenb
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12542
6f19259b -4bc3-4df7-8a09-
765794883524
jcarsey [Fri, 14 Oct 2011 19:21:13 +0000 (19:21 +0000)]
ShellPkg: Add checking for memory allocation and pointer returns from functions.
signed-off-by: jcarsey
reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12540
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Fri, 14 Oct 2011 07:46:15 +0000 (07:46 +0000)]
Fix the clang compilation failure to handle all the values in a case statement for enum type value.
Signed-off-by: Andrew Fish
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12539
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Fri, 14 Oct 2011 05:19:39 +0000 (05:19 +0000)]
Change Variable driver (Pei/RuntimeDxe) to support the default variable data stored in HOB.
Signed-off-by: niruiyu
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12538
6f19259b -4bc3-4df7-8a09-
765794883524
sfu5 [Fri, 14 Oct 2011 05:19:25 +0000 (05:19 +0000)]
Add pointer check for NULL before dereference it.
Signed-off-by: sfu5
Reviewed-by: tye
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12537
6f19259b -4bc3-4df7-8a09-
765794883524
jcarsey [Thu, 13 Oct 2011 23:05:08 +0000 (23:05 +0000)]
ShellPkg: Set CRC value whenever changing a system table.
This adds a function (from DxeMain.c) that calculates and sets a CRC into a system table header and then calls the function in the 2 places where the shell changes the system table.
signed-off-by: jcarsey
reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12536
6f19259b -4bc3-4df7-8a09-
765794883524
jcarsey [Thu, 13 Oct 2011 16:08:18 +0000 (16:08 +0000)]
SShellPkg: updating order of cast and addressing of a pointer (2 identical places).
GCC build didn't like the original version.
sighed-off-by: jcarsey
reviewed-by: lgrosenb
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12535
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Thu, 13 Oct 2011 05:17:37 +0000 (05:17 +0000)]
Check in the new EBC Fat binary to have correct file alignment and section alignment(32-byte alignment).
Signed-off-by: niruiyu
Reviewed-by: qlong
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12534
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Thu, 13 Oct 2011 02:37:35 +0000 (02:37 +0000)]
Check the pointer before use it to avoid potential access violation.
Signed-off-by: ydong10
Reviewed-by: jcarsey
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12533
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Thu, 13 Oct 2011 02:31:58 +0000 (02:31 +0000)]
Refine code and check null pointer error.
Signed-off-by: ydong10
Reviewed-by: mdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12532
6f19259b -4bc3-4df7-8a09-
765794883524
gdong1 [Wed, 12 Oct 2011 03:48:06 +0000 (03:48 +0000)]
Fix build failure with MS ASL compiler.
Signed-off-by: gdong1
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12531
6f19259b -4bc3-4df7-8a09-
765794883524
gdong1 [Wed, 12 Oct 2011 03:38:19 +0000 (03:38 +0000)]
Update UID drivers to align with latest UEFI spec 2.3.1.
Directly use ImageHandle instead of &ImageHandle for wrong usage in TCG physical presence library.
Signed-off-by: gdong1
Reviewed-by: xdu2
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12530
6f19259b -4bc3-4df7-8a09-
765794883524
gdong1 [Wed, 12 Oct 2011 03:27:15 +0000 (03:27 +0000)]
Update UID drivers to align with latest UEFI spec 2.3.1.
Signed-off-by: gdong1
Reviewed-by: hhtian
Reviewed-by: xdu2
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12529
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Wed, 12 Oct 2011 02:45:02 +0000 (02:45 +0000)]
Grub4Dos copies the BPB of the first partition to the MBR. If the DriverBindingStart() of the Fat driver gets run before that of Partition driver only the first partition can be recognized.
Let the driver binding version of Partition driver be higher than that of Fat driver to make sure the DriverBindingStart() of the Partition driver gets run before that of Fat driver so that all the partitions can be recognized.
Signed-off-by: niruiyu
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12528
6f19259b -4bc3-4df7-8a09-
765794883524
jyao1 [Tue, 11 Oct 2011 13:25:18 +0000 (13:25 +0000)]
Fix Smbios table checksum error, by zero IntermediateChecksum and EntryPointStructureChecksum before checksum calculation.
signed-off-by: jyao1
reviewed-by: elvinli
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12527
6f19259b -4bc3-4df7-8a09-
765794883524
li-elvin [Tue, 11 Oct 2011 03:45:24 +0000 (03:45 +0000)]
AsciiSPrint returns The number of ASCII characters in the produced output buffer not including the Null-terminator, but SerialStatusCodeWorker has bug which overwrites the last character, which causes there is a missing character in serial log output. The fix is to resolve this issue.
Signed-off-by: li-elvin
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12526
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Tue, 11 Oct 2011 02:49:48 +0000 (02:49 +0000)]
Sync BaseTools Branch (version r2362) to EDKII main trunk.
Signed-off-by: lgao4
Reviewed-by: jsu1
Reviewed-by: ydliu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12525
6f19259b -4bc3-4df7-8a09-
765794883524
jcarsey [Mon, 10 Oct 2011 20:36:44 +0000 (20:36 +0000)]
ShellPkg: Add checks for NULL pointers.
This adds lots of pointer verification with ASSERTs only used when the condition should be impossible and never for memory allocation.
signed-off-by: jcarsey
reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12524
6f19259b -4bc3-4df7-8a09-
765794883524
jcarsey [Mon, 10 Oct 2011 20:32:17 +0000 (20:32 +0000)]
ShellPkg: Add checks for NULL pointers.
This adds lots of pointer verification with ASSERTs only used when the condition should be impossible and never for memory allocation.
signed-off-by: jcarsey
reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12523
6f19259b -4bc3-4df7-8a09-
765794883524
jcarsey [Mon, 10 Oct 2011 17:26:25 +0000 (17:26 +0000)]
ShellPkg: Verify memory allocations without ASSERT.
signed-off-by: jcarsey
reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12522
6f19259b -4bc3-4df7-8a09-
765794883524
li-elvin [Mon, 10 Oct 2011 07:54:47 +0000 (07:54 +0000)]
InstallOpROM in CSM driver could be enhanced to start video when RomImage is passed in directly.
Signed-off-by: li-elvin
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12521
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Mon, 10 Oct 2011 03:17:46 +0000 (03:17 +0000)]
Enhance op-code EFI_IFR_TO_BOOLEAN to case insensitive.
Signed-off-by: ydong10
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12520
6f19259b -4bc3-4df7-8a09-
765794883524
li-elvin [Mon, 10 Oct 2011 01:43:13 +0000 (01:43 +0000)]
Use PCD for PMM size and EndOpromShadowAddress to remove hard code value in CSM module.
Signed-off-by: li-elvin
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12519
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Sun, 9 Oct 2011 10:52:54 +0000 (10:52 +0000)]
When the CONFIG_ACCESS_PROTOCOL.CallBack function return error, the question should restore to old value
Signed-off-by:ydong10
Reviewed-by:lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12518
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Sun, 9 Oct 2011 10:44:05 +0000 (10:44 +0000)]
Update code to make get string case insensitive about language
Signed-off-by: ydong10
Reviewed-by: rsun3
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12517
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Sat, 8 Oct 2011 21:00:13 +0000 (21:00 +0000)]
Add a GUIDed HOB to init Debug Print error level earlier in DXE. Add NULL PEIM library to init HOB.
Debug Print Error level can be controled by an EFI variable. Update the DXE version of the library to use a HOB if the variable services are not yet availilbe. This allows the variable to be used early in the DXE phase.
approved-by: andrewfish
reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12516
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Sat, 8 Oct 2011 20:51:17 +0000 (20:51 +0000)]
Fix Xcode link failure. Relocations are not supported in .text sections.
Per Rui's review of the patch _16GdtrBase is a label that is patched by C code so it does require initialization.
approved-by: andrewfish
reviewed-by: jljusten
reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12515
6f19259b -4bc3-4df7-8a09-
765794883524
sfu5 [Sat, 8 Oct 2011 02:55:30 +0000 (02:55 +0000)]
Add pointer check for NULL before dereference it.
Signed-off-by: sfu5
Reviewed-by: xdu2
Reviewed-by: ydong10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12514
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Sat, 8 Oct 2011 02:44:59 +0000 (02:44 +0000)]
MdeModulePkg: TerminalDxe driver code clean up
Roll back the EOL change wrongly made by last patch.
Adjust the space to align to the EDKII coding style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12513
6f19259b -4bc3-4df7-8a09-
765794883524
niruiyu [Sat, 8 Oct 2011 02:09:50 +0000 (02:09 +0000)]
MdeModulePkg: Fix TerminalDxe FIFO Data Loss
Fixes a Terminal FIFO full issue that caused data to be lost. The Unicode and EFI Key FIFOs are now checked to make sure they have spaces before pushing another entry.
Signed-off-by: eugenecohen
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12512
6f19259b -4bc3-4df7-8a09-
765794883524
lpleahy [Tue, 4 Oct 2011 18:31:40 +0000 (18:31 +0000)]
Update applications to display correct error for gethostbyaddr and gethostbyname. These APIs use h_errno instead of errno, see documentation at: http://www.linuxhowtos.org/manpages/3p/gethostbyaddr.htm
Signed-off-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12511
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Tue, 4 Oct 2011 13:58:28 +0000 (13:58 +0000)]
Arm Packages: Fix builds for XCODE32 toolchain
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12509
6f19259b -4bc3-4df7-8a09-
765794883524
darylm503 [Mon, 3 Oct 2011 18:54:12 +0000 (18:54 +0000)]
StdLib: Improve robustness of stat() and make basename() a public function.
AppPkg: Refinements to pyconfig.h and port of getpath.c to EDK II.
Signed-off-by: darylm503
Reviewed-by: geekboy15a
Reviewed-by: jljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12508
6f19259b -4bc3-4df7-8a09-
765794883524
lpleahy [Fri, 30 Sep 2011 23:52:45 +0000 (23:52 +0000)]
Fix compilation errors detected with GCC 4.4
Signed-off-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12504
6f19259b -4bc3-4df7-8a09-
765794883524
lpleahy [Fri, 30 Sep 2011 23:04:13 +0000 (23:04 +0000)]
Update the sockets applications
* Builds with GCC 4.4 compiler.
Signed-off by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12498
6f19259b -4bc3-4df7-8a09-
765794883524
lpleahy [Fri, 30 Sep 2011 23:02:35 +0000 (23:02 +0000)]
Update the sockets library code
* Passes conformance and functional tests.
* Builds with GCC 4.4 compiler.
Signed-off by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12497
6f19259b -4bc3-4df7-8a09-
765794883524
qianouyang [Fri, 30 Sep 2011 07:30:20 +0000 (07:30 +0000)]
1. Add Partial Keystroke Support in Nt32 WinNTGopDxe driver. See the Uefi2.3.1a chapter 11.2
2. Fix the bug of "NT32 Keyboard driver don't support the ALT+ValueKey".
Signed-off-by: qianouyang
Reviewed-by: niruiyu vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12496
6f19259b -4bc3-4df7-8a09-
765794883524
qianouyang [Fri, 30 Sep 2011 07:29:42 +0000 (07:29 +0000)]
1. Add Partial Keystroke Support in Ps2Kb drivers. See the Uefi2.3.1a chapter 11.2
2. Fix the bug of "In Ps2Keyboard the CAPs LOCK's LED should NOT be light when user press the SysReq key".
3. Fix the bug of "The PS2Keyboard driver outputs wrong EFI_INPUT_KEY value for PrintScr/SysRq keystroke"
Signed-off-by: qianouyang
Reviewed-by: niruiyu vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12495
6f19259b -4bc3-4df7-8a09-
765794883524
qianouyang [Fri, 30 Sep 2011 07:28:16 +0000 (07:28 +0000)]
1. Add Partial Keystroke Support in UsbKb drivers. See the Uefi2.3.1a chapter 11.2
Signed-off-by: qianouyang
Reviewed-by: niruiyu vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12494
6f19259b -4bc3-4df7-8a09-
765794883524
qianouyang [Fri, 30 Sep 2011 07:26:07 +0000 (07:26 +0000)]
1. Add Partial Keystroke Support definition in SimpleTextInputEx.h See the Uefi2.3.1a chapter 11.2
Signed-off-by: qianouyang
Reviewed-by: niruiyu vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12493
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Fri, 30 Sep 2011 05:57:44 +0000 (05:57 +0000)]
1. Move Capsule variable name definition to Capsule variable GUID header file.
2. Align EFI_CAPSULE_LONG_MODE_BUFFER structure to MdeModulePkg definition.
Signed-off-by: lgao4
Reviewed-by: hhtian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12492
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Fri, 30 Sep 2011 05:55:38 +0000 (05:55 +0000)]
Remove old COMPRESS keyword, has add new kewword PCI_COMPRESS.
Signed-off-by: ydong10
Reviewed-by: niruiyu
Reviewed-by: gikidy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12491
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Fri, 30 Sep 2011 05:54:52 +0000 (05:54 +0000)]
Remove old COMPRESS keyword, has add new kewword PCI_COMPRESS.
Signed-off-by: ydong10
Reviewed-by: niruiyu
Reviewed-by: gikidy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12490
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Fri, 30 Sep 2011 05:53:33 +0000 (05:53 +0000)]
Define S3 Status code macros.
Signed-off-by: lgao4
Reviewed-by: jyao1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12489
6f19259b -4bc3-4df7-8a09-
765794883524
lgao4 [Fri, 30 Sep 2011 05:52:13 +0000 (05:52 +0000)]
Update comments to corrects SignatureSize for each SignatureType.
Signed-off-by: lgao4
Reviewed-by: vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12488
6f19259b -4bc3-4df7-8a09-
765794883524
vanjeff [Fri, 30 Sep 2011 02:28:19 +0000 (02:28 +0000)]
Add the definitions of Common Platform Error Record (defined in Appendix N Common Platform Error Record, UEFI 2.3.1).
Signed-off-by: vanjeff
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12487
6f19259b -4bc3-4df7-8a09-
765794883524
vanjeff [Fri, 30 Sep 2011 02:19:28 +0000 (02:19 +0000)]
1. Fixed issue that firmware cannot boot if no USB debug cable connection.
2. Fixed issue that Ovmf with debug agent cannot boot if HOST software was not connected.
Signed-off-by: vanjeff
Reviewed-by: geekboy15a
Reviewed-by: erictian
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12486
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Thu, 29 Sep 2011 20:55:10 +0000 (20:55 +0000)]
ArmPkg/CompilerIntrinsicsLib: Reverse the order of the 'ldrb' instructions in __aeabi_uread4
Change __aeabi_uread4 from:
ldrb r2, [r0, #1]
ldrb r1, [r0]
(...)
to:
ldrb r1, [r0]
ldrb r2, [r0, #1]
(...)
This change is a workaround to handle correctly __aeabi_uread4 on ARM
Versatile Express RTSM.
It should not have any major consequence on the other ARM platforms.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12481
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Thu, 29 Sep 2011 20:48:36 +0000 (20:48 +0000)]
ArmPlatformPkg/ArmVExpressPkg: The virtual memory must have the Secure attribute when the platform does not make the transition in Normal World.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12480
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Thu, 29 Sep 2011 20:44:16 +0000 (20:44 +0000)]
ArmPlatformPkg/ArmVExpressPkg: HiiDatabaseDxe driver was missing
UefiHiiServicesLib requires an implementation of gEfiHiiDatabaseProtocolGuid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12479
6f19259b -4bc3-4df7-8a09-
765794883524
oliviermartin [Thu, 29 Sep 2011 20:40:00 +0000 (20:40 +0000)]
BeagleBoardPkg: Fix build
Was still pointing to the former FDF filename.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12478
6f19259b -4bc3-4df7-8a09-
765794883524
andrewfish [Thu, 29 Sep 2011 18:51:06 +0000 (18:51 +0000)]
Remove unused PCD entry that generates warning on a build.
signed-off-by:andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12477
6f19259b -4bc3-4df7-8a09-
765794883524
erictian [Thu, 29 Sep 2011 09:14:30 +0000 (09:14 +0000)]
remove unnecessary retry logic from usb mass storage driver.
Signed-off-by: erictian
Reviewed-by: li-elvin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12476
6f19259b -4bc3-4df7-8a09-
765794883524
qianouyang [Thu, 29 Sep 2011 06:49:17 +0000 (06:49 +0000)]
Correct inconsistent information in IpsecConfig.efi help report.
Signed-off-by: qianouyang
Reviewed-by: jyao1 zhangchaointel
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12475
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Thu, 29 Sep 2011 06:38:55 +0000 (06:38 +0000)]
Add pointer check for NULL before dereference it.
Signed-off-by: ydong10
Reviewed-by: vanjeff
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12474
6f19259b -4bc3-4df7-8a09-
765794883524
li-elvin [Thu, 29 Sep 2011 06:35:51 +0000 (06:35 +0000)]
Add RomImage pointer NULL check.
Signed-off-by: li-elvin
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12473
6f19259b -4bc3-4df7-8a09-
765794883524
ydong10 [Thu, 29 Sep 2011 06:33:23 +0000 (06:33 +0000)]
Add pointer check for NULL before dereference it.
Signed-off-by: ydong10
Reviewed-by: rsun3, lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12472
6f19259b -4bc3-4df7-8a09-
765794883524