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

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

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

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

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

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

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

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

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

12 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

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

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

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

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

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

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

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

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

12 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

12 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

12 years agoThe value of PcdStatusCodeValueSetVirtualAddressMap is changed from 0x03101004 to...
xli24 [Mon, 2 Nov 2009 04:13:25 +0000 (04:13 +0000)]
The value of PcdStatusCodeValueSetVirtualAddressMap is changed from 0x03101004 to 0x03111004, which equals EFI_SOFTWARE_EFI_RUNTIME_SERVICE | EFI_SW_RS_PC_SET_VIRTUAL_ADDRESS_MAP.

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

12 years ago2 PCD values of status code are updated:
xli24 [Mon, 2 Nov 2009 03:22:51 +0000 (03:22 +0000)]
2 PCD values of status code are updated:

1. PcdStatusCodeValueBootServiceExit. Its value is changed from 0x3100019 to 0x3101019, which equals EFI_SOFTWARE_EFI_BOOT_SERVICE | EFI_SW_BS_PC_EXIT_BOOT_SERVICES.
2. PcdStatusCodeValuePeiHandoffToDxe. Its value is changed from 0x3031001 to 0x3021001, which equals EFI_SOFTWARE_PEI_CORE | EFI_SW_PEI_CORE_PC_HANDOFF_TO_NEXT.

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

12 years agoCorrect the typo in comments.
lgao4 [Fri, 30 Oct 2009 07:08:22 +0000 (07:08 +0000)]
Correct the typo in comments.

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

12 years ago1. Update the UdpIo to a combined UdpIo to support both v4 and v6 stack.
tye [Fri, 30 Oct 2009 05:11:38 +0000 (05:11 +0000)]
1. Update the UdpIo to a combined UdpIo to support both v4 and v6 stack.
2. Update Dhcp4 and Mtftp4 driver to adopt the combined UdpIo.
3. Clean up coding style problems in combined IpIoLib/NetLib. Update Tcp4 and Udp4 to adopt the changes.

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

12 years agoadd back CAPSULE_HOB_INFO definition for back-compatible.
vanjeff [Thu, 29 Oct 2009 01:49:20 +0000 (01:49 +0000)]
add back CAPSULE_HOB_INFO definition for back-compatible.

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

12 years agoremove CAPSULE_HOB_INFO definition from MdeModulePkg.
vanjeff [Wed, 28 Oct 2009 07:54:40 +0000 (07:54 +0000)]
remove CAPSULE_HOB_INFO definition from MdeModulePkg.

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

12 years agoupdated BDS to get capsule information from UEFI capsule HOB instead of CAPSULE_HOB_I...
vanjeff [Wed, 28 Oct 2009 07:54:17 +0000 (07:54 +0000)]
updated BDS to get capsule information from UEFI capsule HOB instead of CAPSULE_HOB_INFO(one GUIDed HOB).

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