efi/edk2/.git
12 years agoAdd new GetFileBufferByFilePath API into DxeServicesLib.
lgao4 [Thu, 26 Nov 2009 00:44:07 +0000 (00:44 +0000)]
Add new GetFileBufferByFilePath API into DxeServicesLib.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9486 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoFix unicode issue.
xli24 [Wed, 25 Nov 2009 09:16:44 +0000 (09:16 +0000)]
Fix unicode issue.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9485 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoThunk driver producing PI Legacy Region 2 Protocol based on Framework Legacy Region...
xli24 [Wed, 25 Nov 2009 08:33:31 +0000 (08:33 +0000)]
Thunk driver producing PI Legacy Region 2 Protocol based on Framework Legacy Region Protocol.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9484 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoDummy implementation of Legacy Region 2 Protocol.
xli24 [Wed, 25 Nov 2009 08:31:37 +0000 (08:31 +0000)]
Dummy implementation of Legacy Region 2 Protocol.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9483 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdd checking for VolumeHandle, if VolumeHandle is NULL, return EFI_INVALID_PARAMETER
klu2 [Wed, 25 Nov 2009 06:26:03 +0000 (06:26 +0000)]
Add checking for VolumeHandle, if VolumeHandle is NULL, return EFI_INVALID_PARAMETER

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9482 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoUse InitializeFloatingPointUnits() from UefiCpuLib to initialize floating point units...
qhuang8 [Wed, 25 Nov 2009 04:26:09 +0000 (04:26 +0000)]
Use InitializeFloatingPointUnits() from UefiCpuLib to initialize floating point units in SEC phase.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9481 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoIntroduce UefiCpuLib library class in UefiCpuPkg and add one instance of BaseUefiCpuL...
qhuang8 [Wed, 25 Nov 2009 04:25:02 +0000 (04:25 +0000)]
Introduce UefiCpuLib library class in UefiCpuPkg and add one instance of BaseUefiCpuLib. The major purpose of this library class / instance is to provide some routines that are generic for IA32 family CPU

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9480 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoFix build failure of ShellPkg.
xli24 [Wed, 25 Nov 2009 04:09:42 +0000 (04:09 +0000)]
Fix build failure of ShellPkg.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9479 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoFixed the bug that not to stop PXE functionality when PXE meeting some failure. And...
vanjeff [Wed, 25 Nov 2009 01:36:54 +0000 (01:36 +0000)]
Fixed the bug that not to stop PXE functionality when PXE meeting some failure. And enhanced DriverBindingStop() to stop PXE functionality if PXE was still alive.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9478 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoRemoving outdated documentation from the EDK II trunk. A copy of these documents...
lhauch [Tue, 24 Nov 2009 21:35:36 +0000 (21:35 +0000)]
Removing outdated documentation from the EDK II trunk. A copy of these documents has been preserved in the EDK II branches directory under the folder: old_docs

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9477 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoFix a typo bug that miss &
klu2 [Tue, 24 Nov 2009 11:01:07 +0000 (11:01 +0000)]
Fix a typo bug that miss &

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9475 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoExplicitly cast PCD_CALLBACK to EFI_PCD_PPI_CALLBACK/EFI_PCD_PROTOCOL_CALLBACK) to...
klu2 [Tue, 24 Nov 2009 08:09:58 +0000 (08:09 +0000)]
Explicitly cast PCD_CALLBACK to EFI_PCD_PPI_CALLBACK/EFI_PCD_PROTOCOL_CALLBACK) to avoid warning. PCD_CALLBACK in EDKII implementation is compatible with EFI_PCD_PPI_CALLBACK/EFI_PCD_PROTOCOL_CALLBACK.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9474 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1, PeiPcdLib use EFI_PEI_PCD_PPI defined in PI 1.2 to handle dynamicEx type PCD request.
klu2 [Tue, 24 Nov 2009 03:29:57 +0000 (03:29 +0000)]
1, PeiPcdLib use EFI_PEI_PCD_PPI defined in PI 1.2 to handle dynamicEx type PCD request.
2, DxePcdLib use EFI_PCD_PROTOCOL defined in PI 1.2 to handle dynamicEx type PCD request.
3, There is no change for dynamic type PCD.
4, Refine the INF's comments.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9473 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoRefine comments for PCD PEIM/driver.
klu2 [Tue, 24 Nov 2009 03:00:41 +0000 (03:00 +0000)]
Refine comments for PCD PEIM/driver.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9472 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoClean up code.
klu2 [Tue, 24 Nov 2009 02:28:06 +0000 (02:28 +0000)]
Clean up code.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9471 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoMdePkg: Move duplicate EFI_AP_PROCEDURE typedef to a common location
jljusten [Mon, 23 Nov 2009 23:16:04 +0000 (23:16 +0000)]
MdePkg: Move duplicate EFI_AP_PROCEDURE typedef to a common location

EFI_AP_PROCEDURE was defined equivalently in two locations:
1. MdePkg/Include/Pi/PiSmmCis.h
2. MdePkg/Include/Protocol/MpService.h

This change moves the definition to a common file:
* MdePkg/Include/Pi/PiDxeCis.h

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9470 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agogit-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9469 de2fecce-e211-0410-80a6...
jcarsey [Mon, 23 Nov 2009 22:21:58 +0000 (22:21 +0000)]
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9469 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1, Correct the PCD PEIM to produce gEfiPcdPpi and gPcdPpi at same time;
klu2 [Mon, 23 Nov 2009 07:52:09 +0000 (07:52 +0000)]
1, Correct the PCD PEIM to produce gEfiPcdPpi and gPcdPpi at same time;
2, Combine two action of InstallProtocolInstance for gEfiPcdProtocol and gPcdProtocol into InstallMultipleProtocolInstances.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9468 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoSimplify the @attention statement.
qhuang8 [Mon, 23 Nov 2009 01:50:52 +0000 (01:50 +0000)]
Simplify the @attention statement.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9467 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoMinor update the comments style for LegacyRegion2 protocol
qhuang8 [Mon, 23 Nov 2009 01:48:49 +0000 (01:48 +0000)]
Minor update the comments style for LegacyRegion2 protocol

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9466 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoadd carriage return
jcarsey [Mon, 23 Nov 2009 00:28:07 +0000 (00:28 +0000)]
add carriage return

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9465 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1) Add new BaseLib API GetPreviousNode()
mdkinney [Sat, 21 Nov 2009 21:57:11 +0000 (21:57 +0000)]
1) Add new BaseLib API GetPreviousNode()
2) Clarify comment for the value returned from GetNextNode() if the end of list is reached.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9464 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdd reserved field to SAL_UPDATE_PAL_DATA_BLOCK so it is padded out to 64-bytes to...
mdkinney [Fri, 20 Nov 2009 23:31:52 +0000 (23:31 +0000)]
Add reserved field to SAL_UPDATE_PAL_DATA_BLOCK so it is padded out to 64-bytes to match the SAL Specification

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9463 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoProtocol/SmmCpuIo.h: Fix build warning on GCC
jljusten [Fri, 20 Nov 2009 22:16:14 +0000 (22:16 +0000)]
Protocol/SmmCpuIo.h: Fix build warning on GCC

A new type was not being defined, so the typedef was unneccesary.
GCC warning: "useless storage class specifier in empty declaration"

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9462 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agobuild break fix and new function
jcarsey [Fri, 20 Nov 2009 21:13:41 +0000 (21:13 +0000)]
build break fix and new function

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9461 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agocomment repairs.
jcarsey [Fri, 20 Nov 2009 18:21:03 +0000 (18:21 +0000)]
comment repairs.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9460 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdd LegacyRegion 2 protocol definition in MdePkg
qhuang8 [Fri, 20 Nov 2009 05:38:28 +0000 (05:38 +0000)]
Add LegacyRegion 2 protocol definition in MdePkg

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9459 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. PI SMBIOS Checkin. Major change include:
davidhuang [Fri, 20 Nov 2009 04:02:34 +0000 (04:02 +0000)]
1. PI SMBIOS Checkin. Major change include:
1) Produce PI SMBIOS protocol in MdeModulePkg
2) Update all consumers (in CorePkgs and native platform pkgs) to consume SMBIOS protocol instead of DataHub
3) Pass ECC tool; Verify Nt32, Duet, Unix platform

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9458 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. PI SMBIOS Checkin. Major change include:
davidhuang [Fri, 20 Nov 2009 04:02:03 +0000 (04:02 +0000)]
1. PI SMBIOS Checkin. Major change include:
1) Produce PI SMBIOS protocol in MdeModulePkg
2) Update all consumers (in CorePkgs and native platform pkgs) to consume SMBIOS protocol instead of DataHub
3) Pass ECC tool; Verify Nt32, Duet, Unix platform

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9457 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. PI SMBIOS Checkin. Major change include:
davidhuang [Fri, 20 Nov 2009 04:01:32 +0000 (04:01 +0000)]
1. PI SMBIOS Checkin. Major change include:
1) Produce PI SMBIOS protocol in MdeModulePkg
2) Update all consumers (in CorePkgs and native platform pkgs) to consume SMBIOS protocol instead of DataHub
3) Pass ECC tool; Verify Nt32, Duet, Unix platform

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9456 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. PI SMBIOS Checkin. Major change include:
davidhuang [Fri, 20 Nov 2009 04:01:15 +0000 (04:01 +0000)]
1. PI SMBIOS Checkin. Major change include:
1) Produce PI SMBIOS protocol in MdeModulePkg
2) Update all consumers (in CorePkgs and native platform pkgs) to consume SMBIOS protocol instead of DataHub
3) Pass ECC tool; Verify Nt32, Duet, Unix platform

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9455 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. PI SMBIOS Checkin. Major change include:
davidhuang [Fri, 20 Nov 2009 04:00:54 +0000 (04:00 +0000)]
1. PI SMBIOS Checkin. Major change include:
1) Produce PI SMBIOS protocol in MdeModulePkg
2) Update all consumers (in CorePkgs and native platform pkgs) to consume SMBIOS protocol instead of DataHub
3) Pass ECC tool; Verify Nt32, Duet, Unix platform

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9454 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoRename PI SMM definitions which has same name with those of Framework SMM spec but...
rsun3 [Fri, 20 Nov 2009 03:21:02 +0000 (03:21 +0000)]
Rename PI SMM definitions which has same name with those of Framework SMM spec but with different content (Note these renamings are not yet in public PI spec or errata now); Remove common definitions shared between PI and Framework Spec from include files for Framework SMM Spec, and change includes files for Framework SMM Spec to include PI SMM include files. The goal is to allow a module include both PI and Framework SMM definitions without conflict.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9453 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoEFI_HII_DATABASE_PROTOCOL.NewPackageList() allows installation of multiple package...
rsun3 [Fri, 20 Nov 2009 02:34:21 +0000 (02:34 +0000)]
EFI_HII_DATABASE_PROTOCOL.NewPackageList() allows installation of multiple package lists with same package list GUID onto different handles. According, change behavior of the HII Library function HiiAddPackages() to be consistent with EFI_HII_DATABASE_PROTOCOL.NewPackageList().

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9452 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agospecify operand order
jcarsey [Thu, 19 Nov 2009 21:10:41 +0000 (21:10 +0000)]
specify operand order

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9451 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agofixing errors found in code review.
jcarsey [Thu, 19 Nov 2009 19:53:58 +0000 (19:53 +0000)]
fixing errors found in code review.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9450 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoupdating headers from code review.
jcarsey [Wed, 18 Nov 2009 21:36:50 +0000 (21:36 +0000)]
updating headers from code review.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9449 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoFix incorrect copyright format
qhuang8 [Wed, 18 Nov 2009 15:40:46 +0000 (15:40 +0000)]
Fix incorrect copyright format

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9448 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoFix incorrect EDK library enumeration in EdkShellPkg.dsc:
qhuang8 [Wed, 18 Nov 2009 06:31:04 +0000 (06:31 +0000)]
Fix incorrect EDK library enumeration in EdkShellPkg.dsc:
EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib_Edk2.inf: apply to both IA32 and x64 CPU architectures.
EdkCompatibilityPkg/Foundation/Cpu/Itanium/CpuIa64Lib/CpuIA64Lib.inf: apply to IPF CPU architecture.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9447 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdd necessary brace to fix GCC warnings
qhuang8 [Wed, 18 Nov 2009 06:11:21 +0000 (06:11 +0000)]
Add necessary brace to fix GCC warnings

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9446 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoSimplify the logic to remove the use of local variable "FileInfoGuid" to avoid GCC...
qhuang8 [Wed, 18 Nov 2009 06:01:35 +0000 (06:01 +0000)]
Simplify the logic to remove the use of local variable "FileInfoGuid" to avoid GCC build warning.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9445 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoFix GUID format
qhuang8 [Wed, 18 Nov 2009 05:59:10 +0000 (05:59 +0000)]
Fix GUID format

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9444 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdd newly added global to Browser Context.
xdu2 [Wed, 18 Nov 2009 05:28:31 +0000 (05:28 +0000)]
Add newly added global to Browser Context.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9443 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoFix some unicode characters in source file.
qhuang8 [Wed, 18 Nov 2009 04:14:42 +0000 (04:14 +0000)]
Fix some unicode characters in source file.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9442 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoUpdate framework CPU I/O protocol to solve some symbol duplication and conflict issue...
qhuang8 [Wed, 18 Nov 2009 04:12:26 +0000 (04:12 +0000)]
Update framework CPU I/O protocol to solve some symbol duplication and conflict issues. This protocol is different from PI one in that it is a runtime protocol.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9441 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdd PI 1.2 CPU I/O 2 protocol definitions. This is boot time only protocol.
qhuang8 [Wed, 18 Nov 2009 04:10:33 +0000 (04:10 +0000)]
Add PI 1.2 CPU I/O 2 protocol definitions. This is boot time only protocol.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9440 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoFix parameter name in function header.
xli24 [Tue, 17 Nov 2009 15:12:11 +0000 (15:12 +0000)]
Fix parameter name in function header.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9439 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoFollowing 3 updates are for spec update published in PI 1.2.
xli24 [Tue, 17 Nov 2009 15:00:28 +0000 (15:00 +0000)]
Following 3 updates are for spec update published in PI 1.2.
1. Rename EFI_PEI_NEXT_VARIABLE_NAME2 to EFI_PEI_GET_NEXT_VARIABLE_NAME2, as PI 1.2 specifies.
2. Add return status description for PEI Service FfsGetVolumeInfo.
3. Update parameter description for EFI_PEI_READ_ONLY_VARIABLE2_PPI.NextVariableName().

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9438 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoUpdated the IpIoLiband and the change includes:
qouyang [Tue, 17 Nov 2009 07:57:02 +0000 (07:57 +0000)]
Updated the IpIoLiband and the change includes:
1) Add one structure member – IpHdrLen in the EFI_NET_SESSION_DATA data structure.
2) Pass IP header length to upper-layer through this new member. The length of IP header will be used for ICMP6 packet generation in upper-layer.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9437 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoCorrect the shell script file type as executable
klu2 [Tue, 17 Nov 2009 07:04:47 +0000 (07:04 +0000)]
Correct the shell script file type as executable

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9436 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdd ASM_PFX() for exposed symoble from assemble to C
klu2 [Tue, 17 Nov 2009 06:52:34 +0000 (06:52 +0000)]
Add ASM_PFX() for exposed symoble from assemble to C

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9435 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoUpdate function description to be consistent with code definition: HEX_RADIX => RADIX...
xdu2 [Tue, 17 Nov 2009 01:46:51 +0000 (01:46 +0000)]
Update function description to be consistent with code definition: HEX_RADIX => RADIX_HEX.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9434 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdded support for VS2008.
ywang [Mon, 16 Nov 2009 23:02:57 +0000 (23:02 +0000)]
Added support for VS2008.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9433 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoThere should be no CONST modifier for the This parameter of EFI_SMM_ACCESS2_PROTOCOL...
rsun3 [Mon, 16 Nov 2009 06:36:22 +0000 (06:36 +0000)]
There should be no CONST modifier for the This parameter of EFI_SMM_ACCESS2_PROTOCOL.Open()/Close()/Lock()  because LockState or OpenState field of the EFI_SMM_ACCESS2_PROTOCOL may be changed during these functions.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9432 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoCorrect the alignment for PEIM
klu2 [Mon, 16 Nov 2009 06:28:35 +0000 (06:28 +0000)]
Correct the alignment for PEIM

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9431 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agotypedef
rsun3 [Mon, 16 Nov 2009 06:25:05 +0000 (06:25 +0000)]
typedef
VOID
(EFIAPI *EFI_AP_PROCEDURE) (
  IN  VOID                              *Buffer
  );
Buffer should be IN, OUT.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9430 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoRemove a typo
klu2 [Mon, 16 Nov 2009 04:53:48 +0000 (04:53 +0000)]
Remove a typo

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9429 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoInitialize the FileHandle to NULL, before search FV image file in discoveried FV
klu2 [Mon, 16 Nov 2009 04:52:29 +0000 (04:52 +0000)]
Initialize the FileHandle to NULL, before search FV image file in discoveried FV

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9428 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoIgnore UEFI OPEN/CLOSE Action for FrameworkCallback
lgao4 [Fri, 13 Nov 2009 10:05:52 +0000 (10:05 +0000)]
Ignore UEFI OPEN/CLOSE Action for FrameworkCallback

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9427 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdd Example for EFI_BROWSER_ACTION_RETRIEVE callback
lgao4 [Fri, 13 Nov 2009 07:13:11 +0000 (07:13 +0000)]
Add Example for EFI_BROWSER_ACTION_RETRIEVE callback

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9426 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoInvoke EFI_BROWSER_ACTION_RETRIEVE callback when read EfiVarstore question.
lgao4 [Fri, 13 Nov 2009 06:46:59 +0000 (06:46 +0000)]
Invoke EFI_BROWSER_ACTION_RETRIEVE callback when read EfiVarstore question.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9425 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoUpdate network drivers to use FreePool() instead of gBS->FreePool().
xdu2 [Fri, 13 Nov 2009 06:13:59 +0000 (06:13 +0000)]
Update network drivers to use FreePool() instead of gBS->FreePool().

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9424 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoRemove the old unused ValueToString code, which has been replaced by UnicodeValueToSt...
lgao4 [Fri, 13 Nov 2009 05:58:29 +0000 (05:58 +0000)]
Remove the old unused ValueToString code, which has been replaced by UnicodeValueToString API from PrintLib.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9423 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoFix a bug to handle case that SendForm() is called with an invalid FormSetGuid.
xdu2 [Fri, 13 Nov 2009 05:40:21 +0000 (05:40 +0000)]
Fix a bug to handle case that SendForm() is called with an invalid FormSetGuid.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9422 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. Add UEFI 2.2 VLAN device path definition to MdePkg
xdu2 [Thu, 12 Nov 2009 10:40:58 +0000 (10:40 +0000)]
1. Add UEFI 2.2 VLAN device path definition to MdePkg
2. Update DevicePathDxe to support VLAN device path node
3. Update GenericBdsLib function DevicePathToStr() to support VLAN device path node

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9421 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agofixed the wrong format.
vanjeff [Thu, 12 Nov 2009 08:03:10 +0000 (08:03 +0000)]
fixed the wrong format.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9420 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agofixed the wrong format.
vanjeff [Thu, 12 Nov 2009 08:02:14 +0000 (08:02 +0000)]
fixed the wrong format.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9419 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. Update SetupBrowser to pass correct buffer value for OrderedList Callback
xdu2 [Thu, 12 Nov 2009 04:58:19 +0000 (04:58 +0000)]
1. Update SetupBrowser to pass correct buffer value for OrderedList Callback
2. Fix UI hang issue in SuppressIf Form support checkin
3. Update DriverSample to demo storage width of OrderedList could be defined to types other than UINT8. (Note: this requires BaseTools >= r9397 for updated VfrCompiler.exe)

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9418 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdd SuppressIf form support in SetupBrowser driver.
lgao4 [Thu, 12 Nov 2009 01:16:12 +0000 (01:16 +0000)]
Add SuppressIf form support in SetupBrowser driver.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9417 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agomore errata
jcarsey [Wed, 11 Nov 2009 22:05:04 +0000 (22:05 +0000)]
more errata

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9416 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoupdated for new errata
jcarsey [Wed, 11 Nov 2009 18:23:31 +0000 (18:23 +0000)]
updated for new errata

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9415 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. Update EFI_IP4_MODE_DATA: add MaxPacketSize to this structure to comply with UEFI...
tye [Wed, 11 Nov 2009 07:06:57 +0000 (07:06 +0000)]
1. Update EFI_IP4_MODE_DATA: add MaxPacketSize to this structure to comply with UEFI 2.3 specification.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9414 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. Add Link MTU support to IP4 and TCP4 driver.
tye [Wed, 11 Nov 2009 07:06:27 +0000 (07:06 +0000)]
1. Add Link MTU support to IP4 and TCP4 driver.
2. Integrate IPsec functionality to IP4 driver.
3. Move IP_VERSION_4/IP_VERSION_6 definition from IpIoLib to NetLib.
4. Move the Ip6/Udp6 protocol declaration from driver INF to Library INF (DxeIpIoLib and DxeUdpIoLib) for better readability.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9413 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. Update EFI_IP4_MODE_DATA: add MaxPacketSize to this structure to comply with UEFI...
tye [Wed, 11 Nov 2009 07:05:49 +0000 (07:05 +0000)]
1. Update EFI_IP4_MODE_DATA: add MaxPacketSize to this structure to comply with UEFI 2.3 specification.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9412 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdd HiiResourcesSampleDxe into MdeModulePkg.dsc
lgao4 [Wed, 11 Nov 2009 06:17:18 +0000 (06:17 +0000)]
Add HiiResourcesSampleDxe into MdeModulePkg.dsc

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9411 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoadd EFI IPSEC protocol and EFI IPSEC Config protocol definition.
vanjeff [Wed, 11 Nov 2009 06:14:57 +0000 (06:14 +0000)]
add EFI IPSEC protocol and EFI IPSEC Config protocol definition.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9410 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoTo make backward compatiblity, if can not find corresponding the handle of FV then...
klu2 [Wed, 11 Nov 2009 05:51:45 +0000 (05:51 +0000)]
To make backward compatiblity, if can not find corresponding the handle of FV then treat FV as build-in FFS2 format and memory mapped FV that FV handle is pointed to the address of first byte of FV.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9409 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoEnhance HiiThunkGetString to handle the case that PlatformLanguage is not set.
lgao4 [Wed, 11 Nov 2009 05:19:30 +0000 (05:19 +0000)]
Enhance HiiThunkGetString to handle the case that PlatformLanguage is not set.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9408 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoEnabling EFI_PEI_FIRMWARE_VOLUME_PPI introduced by PI1.2.
klu2 [Wed, 11 Nov 2009 03:27:39 +0000 (03:27 +0000)]
Enabling EFI_PEI_FIRMWARE_VOLUME_PPI introduced by PI1.2.
1, Implement EFI_PEI_FIRMWARE_VOLUME_PPI for FFS2 format as build-in supporting FV format in PeiCore.
2, Reduce the assumption of memory-mapped FV in PeiCore. PeiCore should access FV via EFI_PEI_FIRMWARE_VOLUME_PPI interface but not cast FvHandle/FileHandle to EFI_FIRMWARE_VOLUME_HEADER/EFI_FV_FILE_HEADER directly.
3, Reduce AllFv[] and AllFvCount in PEI_CORE_INSTANCE structure. Original PEI_CORE_INSTANCE use AllFv[] and Fv[] array to manage discovered FV and dispatched FV. But not need to make thing too complex. Now PEI_CORE_FV_HANDLE array of Fv[] will take responsibility to manage all FV instance and status.
4, Fix the bug use PeiDispatcher use wrong index for PeiFfsFindNextVolume(),
5, Fix the bug in PeiFfsFindNextVolume(), if instance is not found, *VolumeHandle should be set to NULL but not VolumeHandle was set to NULL.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9407 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoupdated Alias, Map, and Env functions per errata.
jcarsey [Tue, 10 Nov 2009 20:23:01 +0000 (20:23 +0000)]
updated Alias, Map, and Env functions per errata.

added parameter direction to doxygen comments.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9406 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdded a patch for Shell svn rev 33 that makes it build under GCC and ARM RVCT. Update...
AJFISH [Tue, 10 Nov 2009 20:00:37 +0000 (20:00 +0000)]
Added a patch for Shell svn rev 33 that makes it build under GCC and ARM RVCT. Update ReadMe.txt to include optinal instructions to add the patch. This patch does not fix all the case issues in the Shell, but it does name all files in a consistent way so fixing the file name in the file system should fix any build issues on a case sensative file system. Fixing case bugs was breaking the patch and I could not figure out how to make it work.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9405 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdding GCC and RVCT support. Since edk uses [nmake] section we add to add <BuildOpito...
AJFISH [Tue, 10 Nov 2009 17:54:08 +0000 (17:54 +0000)]
Adding GCC and RVCT support. Since edk uses [nmake] section we add to add <BuildOpitons> to pass the correct flags to the shell. I had to make lots of changes to the Shell svn r33 to make it compile for GCC and to compile with RVCT. I will post a diff to the discusion list and see how we should handle the Shell source code changes.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9404 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoUpdate Nt32 package to remove UID support .
qhuang8 [Tue, 10 Nov 2009 13:58:41 +0000 (13:58 +0000)]
Update Nt32 package to remove UID support .

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9403 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoEnable UID support in NT32 platform
gdong1 [Tue, 10 Nov 2009 10:03:05 +0000 (10:03 +0000)]
Enable UID support in NT32 platform

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9402 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoMake PcdPeim/PcdDxe driver also produce EFI_PCD_PPI/EFI_PCD_PROTOCOL defined in PI...
klu2 [Tue, 10 Nov 2009 08:45:07 +0000 (08:45 +0000)]
Make PcdPeim/PcdDxe driver also produce EFI_PCD_PPI/EFI_PCD_PROTOCOL defined in PI 1.2 vol3. The EFI_PCD_PPI/EFI_PCD_PROTOCOL only support dynamic-ex type PCD, but original PCD_PPI/PCD_PROTOCOL in MdePkg support dynamic and dynamic-ex type PCDs.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9401 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoMake PcdPeim/PcdDxe driver also produce EFI_PCD_PPI/EFI_PCD_PROTOCOL defined in PI...
klu2 [Tue, 10 Nov 2009 08:44:56 +0000 (08:44 +0000)]
Make PcdPeim/PcdDxe driver also produce EFI_PCD_PPI/EFI_PCD_PROTOCOL defined in PI 1.2 vol3. The EFI_PCD_PPI/EFI_PCD_PROTOCOL only support dynamic-ex type PCD, but original PCD_PPI/PCD_PROTOCOL in MdePkg support dynamic and dynamic-ex type PCDs.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9400 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdding new library instance for SortLib with built in function for sorting device...
jcarsey [Mon, 9 Nov 2009 23:33:11 +0000 (23:33 +0000)]
Adding new library instance for SortLib with built in function for sorting device paths.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9399 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoUpgrade ShellLib and fix bug with param parsing
jcarsey [Mon, 9 Nov 2009 18:08:58 +0000 (18:08 +0000)]
Upgrade ShellLib and fix bug with param parsing

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9398 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoSync tool code to BuildTools project r1739.
lgao4 [Mon, 9 Nov 2009 11:47:35 +0000 (11:47 +0000)]
Sync tool code to BuildTools project r1739.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9397 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoChange the GUID value of FVB to be that of FVB2 in PI 1.2 spec. this will force FVB...
qhuang8 [Mon, 9 Nov 2009 05:13:14 +0000 (05:13 +0000)]
Change the GUID value of FVB to be that of FVB2 in PI 1.2 spec. this will force FVB drivers built through the ECP to produce the PI 1.2 FVB2 Protocol GUID

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9396 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdd Framework version of EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL_GUID and its GUID C Name...
qhuang8 [Mon, 9 Nov 2009 05:12:25 +0000 (05:12 +0000)]
Add Framework version of EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL_GUID and its GUID C Name to IntelFrameworkPkg.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9395 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdd new protocol definition of FVB2 defined in PI1.2 and change GUID value of FVB...
qhuang8 [Mon, 9 Nov 2009 05:10:55 +0000 (05:10 +0000)]
Add new protocol definition of FVB2 defined in PI1.2 and change GUID value of FVB to be that of FVB2.

This is a source level compatible change, but not binary level. We might need to rebuild some old binary modules to work with newer version of MdePkg.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9394 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoChange the behavior of the HII Library function HiiGetHiiHandles() when the PackageLi...
rsun3 [Thu, 5 Nov 2009 08:53:47 +0000 (08:53 +0000)]
Change the behavior of the HII Library function HiiGetHiiHandles() when the PackageListGuid parameter is not NULL. The original behavior is that if this parameter is not NULL at most 1 HII Handle is returned. Behavior after change is if this parameter is not NULL zero or more HII Handles associated with PackageListGuid are returned, because it is possible that there are multiple package lists with same package list GUID in the HII Database.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9393 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agofixed typo
vanjeff [Wed, 4 Nov 2009 08:39:25 +0000 (08:39 +0000)]
fixed typo

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9392 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago[Change summary]:
tye [Wed, 4 Nov 2009 08:18:34 +0000 (08:18 +0000)]
[Change summary]:
1. Update NetLib to a combined NetLib support dual network stack:
1) Add Network Debug facility for IPv4 stack.
2) Extend the library APIs to support IPv6 stack:
   a. NetIp6IsUnspecifiedAddr
   b. NetIp6IsLinkLocalAddr
   c. NetIp6IsNetEqual
   d. NetLibCreateIPv6DPathNode.
   e. NetIp6PseudoHeadChecksum
   f. NetIp6IsValidUnicast
3) Update the structure definitions:
   a. Update NET_BUF to add EFI_IP6_HEADER and EFI_UDP_HEADER
   b. Add NET_IP6_PSEUDO_HDR
4) Update Ip4IsUnicast to NetIp4IsUnicast

2. Update the impacted modules to adopt the combined NetLib.

3. Clean up coding style errors in all network drivers and libraries.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9391 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoadded comments for CAPSULE_HOB_INFO in CapsuleVendor.h (MdeModuleModulePkg).
vanjeff [Wed, 4 Nov 2009 06:51:34 +0000 (06:51 +0000)]
added comments for CAPSULE_HOB_INFO in CapsuleVendor.h (MdeModuleModulePkg).

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9390 de2fecce-e211-0410-80a6-f3fac2684e05

12 years ago1. rolled back Hob library to remove new API - BuildCapsuleHob() and related implemen...
vanjeff [Wed, 4 Nov 2009 06:51:07 +0000 (06:51 +0000)]
1. rolled back Hob library to remove new API - BuildCapsuleHob() and related implementation in MdePkg.
2. implemented BuildCvHob() in PeiHobLib/HobLib.c.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9389 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoEnable Report Status Code Router introduced in PI 1.2 for PEI and DXE.
xli24 [Tue, 3 Nov 2009 02:39:10 +0000 (02:39 +0000)]
Enable Report Status Code Router introduced in PI 1.2 for PEI and DXE.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9388 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoDescribe update of default status code PCD values in change log.
xli24 [Mon, 2 Nov 2009 07:57:49 +0000 (07:57 +0000)]
Describe update of default status code PCD values in change log.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9387 de2fecce-e211-0410-80a6-f3fac2684e05

12 years agoAdd description comments for status code PCDs with macros defined in PI 1.2.
xli24 [Mon, 2 Nov 2009 04:22:44 +0000 (04:22 +0000)]
Add description comments for status code PCDs with macros defined in PI 1.2.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@9386 de2fecce-e211-0410-80a6-f3fac2684e05