13 years agoChange UI for dir of FV to make it less confusing.
andrewfish [Fri, 12 Feb 2010 00:12:14 +0000 (00:12 +0000)]
Change UI for dir of FV to make it less confusing.

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

13 years agoAdd support for Seeking on FV, and update the device syntax to support specifying...
andrewfish [Thu, 11 Feb 2010 19:57:56 +0000 (19:57 +0000)]
Add support for Seeking on FV, and update the device syntax to support specifying which section of the FV file you want to operate on, previously the only option was to operate on the Raw file.

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

13 years agoSupport HII VOID* dynamic/dynamicEx type PCD.
klu2 [Thu, 11 Feb 2010 08:19:29 +0000 (08:19 +0000)]
Support HII VOID* dynamic/dynamicEx type PCD.

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

13 years agoUpdate HiiDataBase to make sure that the installed StringPackages contains the same...
lgao4 [Thu, 11 Feb 2010 07:16:06 +0000 (07:16 +0000)]
Update HiiDataBase to make sure that the installed StringPackages contains the same number string ID.

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

13 years agoDUET BDS clean up.
niruiyu [Thu, 11 Feb 2010 06:34:15 +0000 (06:34 +0000)]
DUET BDS clean up.

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

13 years agoTo follow UEFI spec 2.3 chapter, add the ConnectSingleController for removabl...
niruiyu [Thu, 11 Feb 2010 06:29:16 +0000 (06:29 +0000)]
To follow UEFI spec 2.3 chapter, add the ConnectSingleController for removable media boot.

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

13 years agoThe fix is for EFI Linux capsule test case can not run.
li-elvin [Thu, 11 Feb 2010 06:27:18 +0000 (06:27 +0000)]
The fix is for EFI Linux capsule test case can not run.
It should use runtime library EfiSetVariable, gRT is not converted to virtual address which cause SetVariable failure in EFI Linux.

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

13 years agoGraphicsOutputBlt() need judge parameter
klu2 [Thu, 11 Feb 2010 05:53:06 +0000 (05:53 +0000)]
GraphicsOutputBlt() need judge parameter

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

13 years agoFix the issue that unknown format FV in Fvhob is installed for FvInfoPpi more than...
klu2 [Thu, 11 Feb 2010 05:49:48 +0000 (05:49 +0000)]
Fix the issue that unknown format FV in Fvhob is installed for FvInfoPpi more than one time. The fixing is search dispatched Fv database and cached unknown Fv information for all Fv in FvHob, if Fv has been identified by PeiCore, then no need install FvInfoPpi for it again.

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

13 years agoUpdate PeCoffExtraActionLib for NT32 to allow an app or driver to be loaded more...
mdkinney [Thu, 11 Feb 2010 04:32:34 +0000 (04:32 +0000)]
Update PeCoffExtraActionLib for NT32 to allow an app or driver to be loaded more than once.  Only the first instance will support source level debug.

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

13 years agoDo not set gBS to NULL when the ExitBootServices event notification for the UEFI...
mdkinney [Thu, 11 Feb 2010 03:55:26 +0000 (03:55 +0000)]
Do not set gBS to NULL when the ExitBootServices event notification for the UEFI Runtime Lib is executed.

There is no guarantee that the ExitBootServices notification function from this lib will be the last ExitBootServices notification function registered by a module that uses the UEFI Runtime lib.  If additional ExitBootServices notification functions require the use of gBS, then setting to NULL will break those additional ExitBootServices notification functions.

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

13 years agoPass the correct TokenNumber into a CallbackOnSet notification function. The value...
mdkinney [Thu, 11 Feb 2010 03:51:17 +0000 (03:51 +0000)]
Pass the correct TokenNumber into a CallbackOnSet notification function.  The value being passed in was off by 1.

This would not normally cause an issue because the correct notification function was being called.  There is only an issue if the same notification function is being used for multiple tokens, and the notification function needs to use the TokenNumber parameter to determine which token setting caused the callback function to be called.

Update the logic so the CallbackOnSet notification functions are not called with the internal PCD database lock in the acquired state.  This allows other PCD Get/Set operations to be performed from within a CallbackOnSet notification.

Update logic so the PCD database lock is not left in the acquired state when SetWorker() returns EFI_INVALID_PARAMETER.

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

13 years agoPass the correct TokenNumber into a CallbackOnSet notification function. The value...
mdkinney [Thu, 11 Feb 2010 03:47:40 +0000 (03:47 +0000)]
Pass the correct TokenNumber into a CallbackOnSet notification function.  The value being passed in was off by 1.

This would not normally cause an issue because the correct notification function was being called.  There is only an issue if the same notification function is being used for multiple tokens, and the notification function needs to use the TokenNumber parameter to determine which token setting caused the callback function to be called.

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

13 years agoFix issue with making a seek to zero on an FV file legal.
andrewfish [Thu, 11 Feb 2010 03:21:18 +0000 (03:21 +0000)]
Fix issue with making a seek to zero on an FV file legal.

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

13 years ago1. free those inserted NsKeyNode resource when releasing SetKeyBoardLayout event.
erictian [Thu, 11 Feb 2010 02:47:10 +0000 (02:47 +0000)]
1. free those inserted NsKeyNode resource when releasing SetKeyBoardLayout event.
2. cleanup HiiDataBaseDxe to directly use gEfiHiiKeyBoardLayoutGuid which is used as the guid of event group.

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

13 years agoCoding style fix and minor improvements.
rsun3 [Thu, 11 Feb 2010 02:33:16 +0000 (02:33 +0000)]
Coding style fix and minor improvements.

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

13 years agoSupport Name/Value Storage in UEFI2.1 HII driver.
lgao4 [Thu, 11 Feb 2010 02:31:18 +0000 (02:31 +0000)]
Support Name/Value Storage in UEFI2.1 HII driver.

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

13 years agoAdd example of Name/Value pair var store to DriverSample
lgao4 [Thu, 11 Feb 2010 01:59:35 +0000 (01:59 +0000)]
Add example of Name/Value pair var store to DriverSample

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

13 years agoUpdate EBL to have an optional width specifier on commands. So hexdump.4 means use...
andrewfish [Wed, 10 Feb 2010 23:48:46 +0000 (23:48 +0000)]
Update EBL to have an optional width specifier on commands. So hexdump.4 means use a width of 4 bytes.

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

13 years agoOnly ment to add support to build and launch Ebl shell, not switch over to it. Undo...
andrewfish [Wed, 10 Feb 2010 21:16:02 +0000 (21:16 +0000)]
Only ment to add support to build and launch Ebl shell, not switch over to it. Undo the switch.

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

13 years agoRemove dead command and clean up some coding style stuff.
andrewfish [Wed, 10 Feb 2010 20:04:08 +0000 (20:04 +0000)]
Remove dead command and clean up some coding style stuff.

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

13 years agoThe VOLUME name case did not reserve enough storage in the CWD function.
andrewfish [Wed, 10 Feb 2010 19:27:14 +0000 (19:27 +0000)]
The VOLUME name case did not reserve enough storage in the CWD function.

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

13 years agoFix issue with VOLUMN Name as an alias for device name.
andrewfish [Wed, 10 Feb 2010 19:14:55 +0000 (19:14 +0000)]
Fix issue with VOLUMN Name as an alias for device name.

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

13 years agoUefiCpuPkg/CpuDxe: Fix build error
jljusten [Wed, 10 Feb 2010 17:37:37 +0000 (17:37 +0000)]
UefiCpuPkg/CpuDxe: Fix build error

This driver was not building following the r9935 & r9941 changes.

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

13 years agoUefiCpuPkg: Add CpuDxe driver to UefiCpuPkg.dsc for build test coverage
jljusten [Wed, 10 Feb 2010 17:37:10 +0000 (17:37 +0000)]
UefiCpuPkg: Add CpuDxe driver to UefiCpuPkg.dsc for build test coverage

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

13 years agoUefiCpuPkg/CpuDxe: Remove unnecessary OvmfPkg dependency
jljusten [Wed, 10 Feb 2010 17:36:50 +0000 (17:36 +0000)]
UefiCpuPkg/CpuDxe: Remove unnecessary OvmfPkg dependency

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

13 years agoPer Framework SMM CIS spec, SMM Base Protocol.Communicate() is availabe in runtime...
rsun3 [Wed, 10 Feb 2010 08:30:51 +0000 (08:30 +0000)]
Per Framework SMM CIS spec, SMM Base Protocol.Communicate() is availabe in runtime. In SmmBaseOnSmmBase2Thunk driver, implementation of Communicate() uses SMM Communication Protocol. The thunk driver caches a pointer to SMM Communication Protocol. This pointer needs to be converted on Virtual Address Change Event.

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

13 years agoa)Save and disable CPU interrupt before calling AsmWriteIdtr().
vanjeff [Wed, 10 Feb 2010 06:48:34 +0000 (06:48 +0000)]
a)Save and disable CPU interrupt before calling AsmWriteIdtr().
b)Restore CPU interrupt status after callng AsmWriteIdtr().

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

13 years agorevise the debug message to add 0x in front of the HEX number for consistency
jchen20 [Wed, 10 Feb 2010 06:10:53 +0000 (06:10 +0000)]
revise the debug message to add 0x in front of the HEX number for consistency
replace FixedPcdGetXX with PcdGetXX to access PcdLoadModuleAtFixAddressEnable

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

13 years agoFix ICC build break by do data conversion.
lgao4 [Wed, 10 Feb 2010 06:01:18 +0000 (06:01 +0000)]
Fix ICC build break by do data conversion.

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

13 years agoLeverages SMM Status Code Protocol, instead of OemHookStatusCodeLib.
xli24 [Wed, 10 Feb 2010 03:41:24 +0000 (03:41 +0000)]
Leverages SMM Status Code Protocol, instead of OemHookStatusCodeLib.

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

13 years agoAdd device path DXE driver in Duet FDF file to compliant with UEFI.
klu2 [Wed, 10 Feb 2010 02:33:40 +0000 (02:33 +0000)]
Add device path DXE driver in Duet FDF file to compliant with UEFI.

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

13 years agoClean up UncachedMemoryAllocationLib to use CPU AP.
andrewfish [Wed, 10 Feb 2010 01:49:46 +0000 (01:49 +0000)]
Clean up UncachedMemoryAllocationLib to use CPU AP.

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

13 years agoNeeded to fix defaulting / to be \ as it is required by EFI Simple File System.
andrewfish [Wed, 10 Feb 2010 01:09:59 +0000 (01:09 +0000)]
Needed to fix defaulting / to be \ as it is required by EFI Simple File System.

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

13 years agoAdd CWD and thus a cd command to EBL shell. Fix WatchdogTimout code in EBL, it was...
andrewfish [Wed, 10 Feb 2010 00:46:41 +0000 (00:46 +0000)]
Add CWD and thus a cd command to EBL shell. Fix WatchdogTimout code in EBL, it was inside a PCD feature flag and should have been outside of the PCD so it is in all paths.

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

13 years agochange the GetPcd64 to FixedGetPcd64 to pass ECC
jchen20 [Tue, 9 Feb 2010 09:52:46 +0000 (09:52 +0000)]
change the GetPcd64 to FixedGetPcd64 to pass ECC

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

13 years agoa)Save and disable CPU interrupt before calling AsmWriteIdtr().
vanjeff [Tue, 9 Feb 2010 09:23:17 +0000 (09:23 +0000)]
a)Save and disable CPU interrupt before calling AsmWriteIdtr().
b)Restore CPU interrupt status after callng AsmWriteIdtr().

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

13 years agoAdd license header
klu2 [Tue, 9 Feb 2010 07:57:20 +0000 (07:57 +0000)]
Add license header

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

13 years agoUpdate HiiString Protocol and HiiSetString Api in HiiLib
lgao4 [Tue, 9 Feb 2010 07:12:35 +0000 (07:12 +0000)]
Update HiiString Protocol and HiiSetString Api in HiiLib
1. Reserve the unique string identifier for all languages in the package list.
2. Track MaxStringId to do the simple check for the requested StringId > MaxStringId, which can improve performance.

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

13 years agoCorrect BlockSize when call ConfigToBlock API.
lgao4 [Tue, 9 Feb 2010 06:29:37 +0000 (06:29 +0000)]
Correct BlockSize when call ConfigToBlock API.

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

13 years agoMake the Volume Name display the same name that the use needs to type. ie. replace...
andrewfish [Tue, 9 Feb 2010 00:22:30 +0000 (00:22 +0000)]
Make the Volume Name display the same name that the use needs to type. ie. replace space with _.

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

13 years agoUpdate MdeModulePkg to not use EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION...
qhuang8 [Mon, 8 Feb 2010 11:43:19 +0000 (11:43 +0000)]
Update MdeModulePkg to not use EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION in source code.

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

13 years agoAdd the missing BDS license header.
lgao4 [Mon, 8 Feb 2010 09:48:29 +0000 (09:48 +0000)]
Add the missing BDS license header.

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

13 years agoformat uniform: move tab to blank.
erictian [Mon, 8 Feb 2010 05:54:54 +0000 (05:54 +0000)]
format uniform: move tab to blank.

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

13 years agoAdd EBC driver to Duet platform so that EBC option ROM can get dispatched.
niruiyu [Mon, 8 Feb 2010 05:43:12 +0000 (05:43 +0000)]
Add EBC driver to Duet platform so that EBC option ROM can get dispatched.

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

13 years agoRoll back to ECC previous stable version.
jlin16 [Mon, 8 Feb 2010 05:37:56 +0000 (05:37 +0000)]
Roll back to ECC previous stable version.

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

13 years agoUpdate ECC predicate expression checks for brace-quoted and boolean pointer variables.
jlin16 [Mon, 8 Feb 2010 05:22:26 +0000 (05:22 +0000)]
Update ECC predicate expression checks for brace-quoted and boolean pointer variables.

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

13 years agoRemove DEBUG_LOAD for InstallProtocolInterface() to align with PPI installation debug...
qhuang8 [Mon, 8 Feb 2010 03:14:15 +0000 (03:14 +0000)]
Remove DEBUG_LOAD for InstallProtocolInterface() to align with PPI installation debug message in PeiCore.

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

13 years agomodified to pass the VS2003 build
jchen20 [Mon, 8 Feb 2010 03:13:09 +0000 (03:13 +0000)]
modified to pass the VS2003 build

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

13 years agoAssume Tick value 1 as the beginning time of boot.
jgong5 [Mon, 8 Feb 2010 02:12:47 +0000 (02:12 +0000)]
Assume Tick value 1 as the beginning time of boot.
This is part of the fix of #202075 to make sure the usage model below doesn’t break:
PERF_START (0, “Token1”, “Module1”, 1);
PERF_END (0, “Token1”, Module1”, 0);

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

13 years agoAdded CWD to EfiFileLib. Fix some X64 warnings.
andrewfish [Sun, 7 Feb 2010 22:04:03 +0000 (22:04 +0000)]
Added CWD to EfiFileLib. Fix some X64 warnings.

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

13 years agoRevert incompatible change:
jyao1 [Fri, 5 Feb 2010 22:27:07 +0000 (22:27 +0000)]
Revert incompatible change:
1) No API change from old version.
2) Change MACRO:
#define  MTRR_NUMBER_OF_VARIABLE_MTRR  32 // the semantics are changed from NUMBER to MAX_NUMBER.
#define  FIRMWARE_VARIABLE_MTRR_NUMBER  6 // wrong and deprecated
#define  MTRR_LIB_IA32_VARIABLE_MTRR_END 0x20F // wrong and deprecated

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

13 years agoUpdate so Windows build works like Cygwin buid
andrewfish [Fri, 5 Feb 2010 18:43:49 +0000 (18:43 +0000)]
Update so Windows build works like Cygwin buid

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

13 years agomodified to pass the ICC build
jchen20 [Fri, 5 Feb 2010 08:34:15 +0000 (08:34 +0000)]
modified to pass the ICC build

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

13 years agorevise the comments style
jchen20 [Fri, 5 Feb 2010 08:08:49 +0000 (08:08 +0000)]
revise the comments style

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

13 years agoEnable the Load Module At fixed Address feature
jchen20 [Fri, 5 Feb 2010 07:54:16 +0000 (07:54 +0000)]
Enable the Load Module At fixed Address feature

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

13 years agoUpdate input of disasmembler to support IfThen construct. Add prototype dos script...
andrewfish [Fri, 5 Feb 2010 06:50:09 +0000 (06:50 +0000)]
Update input of disasmembler to support IfThen construct. Add prototype dos script to build BeagleBoard.

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

13 years agoOriginal MTRR lib hardcode VARIABLE_MTRR as 8. But it is 7 in Core2 if SMRR enabled...
jyao1 [Fri, 5 Feb 2010 06:33:42 +0000 (06:33 +0000)]
Original MTRR lib hardcode VARIABLE_MTRR as 8. But it is 7 in Core2 if SMRR enabled, and 10 in latest Corei7.

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

13 years agoAdd some security check.
xdu2 [Fri, 5 Feb 2010 06:13:18 +0000 (06:13 +0000)]
Add some security check.

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

13 years agoFix two incorrect PCD token number in IntelFrameworkModulePkg
qhuang8 [Fri, 5 Feb 2010 05:58:47 +0000 (05:58 +0000)]
Fix two incorrect PCD token number in IntelFrameworkModulePkg

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

13 years agoMore disasm work.
andrewfish [Thu, 4 Feb 2010 18:16:22 +0000 (18:16 +0000)]
More disasm work.

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

13 years agoFix ICC build break
qhuang8 [Thu, 4 Feb 2010 13:47:21 +0000 (13:47 +0000)]
Fix ICC build break

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

13 years agoFix the bug that the wrong classguid is compared.
lgao4 [Thu, 4 Feb 2010 09:35:42 +0000 (09:35 +0000)]
Fix the bug that the wrong classguid is compared.

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

13 years agoremove unreasonable package dependency relationship.
erictian [Thu, 4 Feb 2010 09:17:15 +0000 (09:17 +0000)]
remove unreasonable package dependency relationship.

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

13 years agoPerformance.c in GenericBdsLib is updated not to filter log entries that don’t contai...
jgong5 [Thu, 4 Feb 2010 04:32:09 +0000 (04:32 +0000)]
Performance.c in GenericBdsLib is updated not to filter log entries that don’t contain DXE handles.

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

13 years agoEnable PEI core to differentiate PEIMs in performance log by passing PEIM file handles
jgong5 [Thu, 4 Feb 2010 04:31:12 +0000 (04:31 +0000)]
Enable PEI core to differentiate PEIMs in performance log by passing PEIM file handles

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

13 years agoMore updated
andrewfish [Thu, 4 Feb 2010 04:14:39 +0000 (04:14 +0000)]
More updated

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

13 years agoFix GCC warnings
andrewfish [Wed, 3 Feb 2010 23:07:29 +0000 (23:07 +0000)]
Fix GCC warnings

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

13 years agoCleanup to match MdePkg cleanups. More progress on ARM disassembler.
andrewfish [Wed, 3 Feb 2010 22:34:43 +0000 (22:34 +0000)]
Cleanup to match MdePkg cleanups. More progress on ARM disassembler.

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

13 years agoadding prompting to library header
jcarsey [Wed, 3 Feb 2010 15:38:40 +0000 (15:38 +0000)]
adding prompting to library header

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

13 years agok8 fixes and moving prompting for responses into this file.
jcarsey [Wed, 3 Feb 2010 15:37:54 +0000 (15:37 +0000)]
k8 fixes and moving prompting for responses into this file.

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

13 years agoremove unnecessary PCD usage
jcarsey [Wed, 3 Feb 2010 14:59:00 +0000 (14:59 +0000)]
remove unnecessary PCD usage

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

13 years agoMinor code refinement.
xli24 [Wed, 3 Feb 2010 08:21:51 +0000 (08:21 +0000)]
Minor code refinement.

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

13 years agoFor network dynamic media support:
xdu2 [Wed, 3 Feb 2010 04:37:53 +0000 (04:37 +0000)]
For network dynamic media support:
1. add library function NetLibDetectMedia to NetLib for media detection
2. update MnpDxe to periodically poll for media status update and check for media status before packet transmit
3. update Ip4Dxe to return ModeData using Mnp->GetModeData()
4. update IScsiDxe to check for media status before try to do DHCP and session login
5. update UefiPxeBcDxe to check for media status before PXE start

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

13 years agoFor network dynamic media detect support: invoke Snp->GetStatus() before use Snp...
xdu2 [Wed, 3 Feb 2010 04:37:29 +0000 (04:37 +0000)]
For network dynamic media detect support: invoke Snp->GetStatus() before use Snp->Mode->MediaPresent. Upon successful return of Snp->GetStatus(), the Snp->Mode->MediaPresent will be updated to indicate the latest media status.

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

13 years agoAdd EFI_NO_MEDIA status code to network APIs.
xdu2 [Wed, 3 Feb 2010 04:37:11 +0000 (04:37 +0000)]
Add EFI_NO_MEDIA status code to network APIs.

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

13 years agoAdded Thumb2 loads and stores to Disassmebler
andrewfish [Wed, 3 Feb 2010 03:13:21 +0000 (03:13 +0000)]
Added Thumb2 loads and stores to Disassmebler

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

13 years agoRemove the duplicate protocol header files in IntelFrameworkPkg. Modules that using...
qhuang8 [Wed, 3 Feb 2010 03:01:49 +0000 (03:01 +0000)]
Remove the duplicate protocol header files in IntelFrameworkPkg. Modules that using SMM status code protocol should use MdePkg/Include/SmmStatusCode.h instead.

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

13 years agoRemove the unnecessary header files inclusion.
qhuang8 [Wed, 3 Feb 2010 02:59:58 +0000 (02:59 +0000)]
Remove the unnecessary header files inclusion.

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

13 years agoFix thumb2 Branch instruction in disassembler
andrewfish [Tue, 2 Feb 2010 18:59:41 +0000 (18:59 +0000)]
Fix thumb2 Branch instruction in disassembler

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

13 years agoUpdated OvmfPkg to use the reset vector binary from the UefiCpuPkg. Removing local...
geekboy15a [Tue, 2 Feb 2010 18:05:03 +0000 (18:05 +0000)]
Updated OvmfPkg to use the reset vector binary from the UefiCpuPkg.  Removing local reset vector files.

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

13 years agoAdding files from OvmfPkg to common location. This is so multiple packages can use...
geekboy15a [Tue, 2 Feb 2010 17:56:00 +0000 (17:56 +0000)]
Adding files from OvmfPkg to common location.  This is so multiple packages can use pre-built reset vector code.

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

13 years ago1. add error handling in case DHCP success but boot request fail
xdu2 [Tue, 2 Feb 2010 11:18:33 +0000 (11:18 +0000)]
1. add error handling in case DHCP success but boot request fail
2. add UnloadImage to ease debug

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

13 years agoMore progress on the disassebler lib
andrewfish [Tue, 2 Feb 2010 04:37:34 +0000 (04:37 +0000)]
More progress on the disassebler lib

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

13 years agoFix some disasm issues
andrewfish [Tue, 2 Feb 2010 04:34:19 +0000 (04:34 +0000)]
Fix some disasm issues

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

13 years agowrap ASSERT_LOCKED macro with MDEPKG_NDEBUG.
erictian [Tue, 2 Feb 2010 03:21:46 +0000 (03:21 +0000)]

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

13 years agoAdd support to original EFI_IFR_FORM_SET in initial UEFI2.1 spec. Now, it has been...
lgao4 [Tue, 2 Feb 2010 01:38:00 +0000 (01:38 +0000)]
Add support to original EFI_IFR_FORM_SET in initial UEFI2.1 spec. Now, it has been updated to new one in UEFI2.1D.

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

13 years agoAdd support to original EFI_IFR_FORM_SET in initial UEFI2.1 spec. Now, it has been...
lgao4 [Tue, 2 Feb 2010 01:37:48 +0000 (01:37 +0000)]
Add support to original EFI_IFR_FORM_SET in initial UEFI2.1 spec. Now, it has been updated to new one in UEFI2.1D.

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

13 years agowhen remaining device path is not NULL, check if it's the device managed by bus driver.
erictian [Tue, 2 Feb 2010 00:48:19 +0000 (00:48 +0000)]
when remaining device path is not NULL, check if it's the device managed by bus driver.

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

13 years agoMove ARM disassembler into a library and out of the exception handler. Add a hook...
andrewfish [Mon, 1 Feb 2010 18:59:27 +0000 (18:59 +0000)]
Move ARM disassembler into a library and out of the exception handler. Add a hook to call the lib from a platform specific EBL command on BeagleBoard.

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

13 years agoMove ARM disassembler into a library.
andrewfish [Mon, 1 Feb 2010 18:25:18 +0000 (18:25 +0000)]
Move ARM disassembler into a library.

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

13 years agoMinor update to fix typos and update the file to use \r\n as end of line
qhuang8 [Mon, 1 Feb 2010 13:03:17 +0000 (13:03 +0000)]
Minor update to fix typos and update the file to use \r\n as end of line

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

13 years agoFix the build warning of potential uninitialized variable of "SizeOfHeaders".
qhuang8 [Mon, 1 Feb 2010 13:00:03 +0000 (13:00 +0000)]
Fix the build warning of potential uninitialized variable of "SizeOfHeaders".
Update the file to use \r\n as end of line

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

13 years agoFix the build warning of potential uninitialized variable of "SizeOfHeaders".
qhuang8 [Mon, 1 Feb 2010 12:58:52 +0000 (12:58 +0000)]
Fix the build warning of potential uninitialized variable of "SizeOfHeaders".
Update the file to use \r\n as end of line

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

13 years agoMdeModulePkg\Library\DxeNetLib: Update the NetLibStrToIp6andPrefix() to return differ...
qianouyang [Mon, 1 Feb 2010 09:53:52 +0000 (09:53 +0000)]
MdeModulePkg\Library\DxeNetLib: Update the NetLibStrToIp6andPrefix() to return different values for two situations -  a.  The Input string doesn’t contain the prefix length; b. The prefix length contains prefix length and the prefix length is zero.

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

13 years agoAdd BdsLibUserIdentify API in GenericBdsLib
gdong1 [Mon, 1 Feb 2010 06:13:04 +0000 (06:13 +0000)]
Add BdsLibUserIdentify API in GenericBdsLib

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

13 years ago1. Update the maximum length to 224 in ISCSI_CONFIG_IFR_NVDATA() to store 223 byte...
tye1 [Mon, 1 Feb 2010 05:01:07 +0000 (05:01 +0000)]
1. Update the maximum length to 224 in ISCSI_CONFIG_IFR_NVDATA() to store 223 byte name plus one NULL-terminator.
2. Update the minimum length to 4 in VFR file for target/initiator name for requiring prefix “iqn.”
3. Fix the 64bit unalignment exception at IPF due to Rsdt is 32 bit alignment but OemTableId field of Rsdt is UINT64 type.

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

13 years agoFix a bug in HII thunk that ThunkCallback does not support callback for a text tag...
rsun3 [Mon, 1 Feb 2010 04:06:24 +0000 (04:06 +0000)]
Fix a bug in HII thunk that ThunkCallback does not support callback for a text tag with interactive flag in a Framework form.

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

13 years agoGet MaxPacketSize from IP4 mode data and reduce the head size of UDP and MTFTP, and...
ljin6 [Mon, 1 Feb 2010 03:32:28 +0000 (03:32 +0000)]
Get MaxPacketSize from IP4 mode data and reduce the head size of UDP and MTFTP, and take it as BlockSize to download.

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

13 years agoRemove micro definition for smbios version, instead we use a PCD value to let user...
li-elvin [Mon, 1 Feb 2010 02:54:22 +0000 (02:54 +0000)]
Remove micro definition for smbios version, instead we use a PCD value to let user customize smbios version better.

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