]> git.proxmox.com Git - mirror_edk2.git/log
mirror_edk2.git
14 years agoupdates from code review, buffer length, and correct use of StdOut for printing
jcarsey [Tue, 1 Dec 2009 05:40:24 +0000 (05:40 +0000)]
updates from code review, buffer length, and correct use of StdOut for printing

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9499 6f19259b-4bc3-4df7-8a09-765794883524

14 years agotypo in comment
jcarsey [Tue, 1 Dec 2009 00:22:46 +0000 (00:22 +0000)]
typo in comment

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9498 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoUpdate header file to include common definition of FRAMEWORK_EFI_AP_PROCEDURE.
xli24 [Mon, 30 Nov 2009 07:59:07 +0000 (07:59 +0000)]
Update header file to include common definition of FRAMEWORK_EFI_AP_PROCEDURE.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9497 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoUpdate x64 version of InitializeFpu.asm to use raw op-codes instead of 'finit' so...
qhuang8 [Mon, 30 Nov 2009 06:28:42 +0000 (06:28 +0000)]
Update x64 version of InitializeFpu.asm to use raw op-codes instead of 'finit' so that some early version of MS assemblers can support.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9496 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoUse AllocateZeroPool instead of using AllocatePool + ZeroMem
klu2 [Fri, 27 Nov 2009 04:05:25 +0000 (04:05 +0000)]
Use AllocateZeroPool instead of using AllocatePool + ZeroMem

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9495 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoThe FV size in EFI_FV_INFO has been excluded the length of FV header, so no need...
klu2 [Fri, 27 Nov 2009 02:38:32 +0000 (02:38 +0000)]
The FV size in EFI_FV_INFO has been excluded the length of FV header, so no need subtract the length of FV header again when compute the length of Apriori file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9494 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoFix GCC build error!
lgao4 [Fri, 27 Nov 2009 01:21:23 +0000 (01:21 +0000)]
Fix GCC build error!

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9493 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoAdd IFR Security Op-code support in the Form Browser.
rsun3 [Thu, 26 Nov 2009 09:26:42 +0000 (09:26 +0000)]
Add IFR Security Op-code support in the Form Browser.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9492 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoAdd PI complied S3 implementation. Include the Opcode definition and EFI_BOOT_SCRIPT_...
jchen20 [Thu, 26 Nov 2009 05:31:49 +0000 (05:31 +0000)]
Add PI complied S3 implementation. Include the Opcode definition and EFI_BOOT_SCRIPT_WIDTH definition from MdePkg PI definition and rename the conflict opcode defintion with FRAMEWORK_ prifix.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9491 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoAdd PI complied S3 implementation. Move the Opcode definition and EFI_BOOT_SCRIPT_WID...
jchen20 [Thu, 26 Nov 2009 05:24:31 +0000 (05:24 +0000)]
Add PI complied S3 implementation. Move the Opcode definition and EFI_BOOT_SCRIPT_WIDTH definition from protocol directory to Pi directory since the S3 related Library need these definitions.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9490 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoAdd DxeSecurityManagementLib instance
lgao4 [Thu, 26 Nov 2009 01:33:07 +0000 (01:33 +0000)]
Add DxeSecurityManagementLib instance

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9489 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoAdd new SecurityManagementLib, and update SecurityStub driver to use this lib.
lgao4 [Thu, 26 Nov 2009 01:31:48 +0000 (01:31 +0000)]
Add new SecurityManagementLib, and update SecurityStub driver to use this lib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9488 6f19259b-4bc3-4df7-8a09-765794883524

14 years agoApply GetFileBufferByFilePath API of DxeServicesLib to replace local CoreOpenImageFil...
lgao4 [Thu, 26 Nov 2009 01:08:36 +0000 (01:08 +0000)]
Apply GetFileBufferByFilePath API of DxeServicesLib to replace local CoreOpenImageFile function.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9487 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9486 6f19259b-4bc3-4df7-8a09-765794883524

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

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9485 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9484 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9483 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9482 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9481 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9480 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9479 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9478 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9475 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9474 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9473 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9472 6f19259b-4bc3-4df7-8a09-765794883524

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

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9471 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9470 6f19259b-4bc3-4df7-8a09-765794883524

14 years agogit-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9469 6f19259b...
jcarsey [Mon, 23 Nov 2009 22:21:58 +0000 (22:21 +0000)]
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9469 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9468 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9467 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9466 6f19259b-4bc3-4df7-8a09-765794883524

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

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9465 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9464 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9463 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9462 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9461 6f19259b-4bc3-4df7-8a09-765794883524

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

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9460 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9459 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9458 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9457 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9456 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9455 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9454 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9453 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9452 6f19259b-4bc3-4df7-8a09-765794883524

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

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9451 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9450 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9449 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9448 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9447 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9446 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9445 6f19259b-4bc3-4df7-8a09-765794883524

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

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9444 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9443 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9442 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9441 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9440 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9439 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9438 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9437 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9436 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9435 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9434 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9433 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9432 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9431 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9430 6f19259b-4bc3-4df7-8a09-765794883524

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

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9429 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9428 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9427 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9426 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9425 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9424 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9423 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9422 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9421 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9420 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9419 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9418 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9417 6f19259b-4bc3-4df7-8a09-765794883524

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

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9416 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9415 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9414 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9413 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9412 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9411 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9410 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9409 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9408 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9407 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9406 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9405 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9404 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9403 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9402 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9401 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9400 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9399 6f19259b-4bc3-4df7-8a09-765794883524

14 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.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9398 6f19259b-4bc3-4df7-8a09-765794883524