Sync the migration tool setting files with the definitions in latest UEFI 2.1 specifi...
authorqwang12 <qwang12@de2fecce-e211-0410-80a6-f3fac2684e05>
Fri, 28 Dec 2007 08:01:58 +0000 (08:01 +0000)
committerqwang12 <qwang12@de2fecce-e211-0410-80a6-f3fac2684e05>
Fri, 28 Dec 2007 08:01:58 +0000 (08:01 +0000)
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@4446 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/Tools/Conf/Migration/Guid.csv
edk2/Tools/Conf/Migration/Library.csv
edk2/Tools/Conf/Migration/Macro.csv
edk2/Tools/Conf/Migration/Protocol.csv
edk2/Tools/Conf/Migration/R8Lib.c

index ba62f68..5816a8e 100644 (file)
@@ -1,4 +1,5 @@
 Name,R8.5 Cname,R9 Cname,Guid Value,Package\r
+GenericPlatformVariable,gEfiGenericVariableGuid,gEfiGenericPlatformVariableGuid,59d1c24f-50f1-401a-b101-f33e0daed443,MdeModulePkg\r
 Apriori,gAprioriGuid,gAprioriGuid,FC510EE7-FFDC-11D4-BD41-0080C73C8881,MdePkg\r
 BootObjectAuthorizationParmset,gBootObjectAuthorizationParmsetGuid,gBootObjectAuthorizationParmsetGuid,EDD35E31-07B9-11D2-83A3-00A0C91FADCF,MdePkg\r
 Acpi10Table,gEfiAcpi10TableGuid,gEfiAcpi10TableGuid,EB9D2D30-2D88-11D3-9A16-0090273FC14D,MdePkg\r
index 005da75..958419c 100644 (file)
@@ -33,6 +33,7 @@ EfiDriverLib,EfiLibAllocateRuntimeCopyPool,AllocateRuntimeCopyPool,MemoryAllocat
 EfiDriverLib,EfiLibAllocateRuntimePool,AllocateRuntimePool,MemoryAllocationLib,MdePkg\r
 EfiDriverLib,EfiLibAllocateRuntimeZeroPool,AllocateRuntimeZeroPool,MemoryAllocationLib,MdePkg\r
 EfiDriverLib,EfiLibAllocateZeroPool,AllocateZeroPool,MemoryAllocationLib,MdePkg\r
+EfiDriverLib,EfiLibSafeFreePool,SafeFreePool,MemoryAllocationLib,MdePkg\r
 EfiDriverLib,EfiCreateEventReadyToBoot,EfiCreateEventReadyToBootEx,UefiLib,MdePkg\r
 EfiDriverLib,EfiCreateEventLegacyBoot,EfiCreateEventLegacyBootEx,UefiLib,MdePkg\r
 EfiDriverLib,EfiInitializeFwVolDevicepathNode,EfiInitializeFwVolDevicepathNode,UefiLib,MdePkg\r
@@ -74,6 +75,7 @@ EfiCommonLib,COMMA_TYPE,COMMA_TYPE,PrintLib,MdePkg
 EfiCommonLib,DivU64x32,DivU64x64Remainder,BaseLib,MdePkg\r
 EfiCommonLib,EfiAsciiStrCpy,AsciiStrCpy,BaseLib,MdePkg\r
 EfiCommonLib,EfiAsciiStrLen,AsciiStrLen,BaseLib,MdePkg\r
+EfiCommonLib,EfiAsciiStrCmp,AsciiStrCmp,BaseLib,MdePkg\r
 EfiCommonLib,EfiCommonIoRead,n/a,n/a,MdePkg\r
 EfiCommonLib,EfiCommonIoWrite,n/a,n/a,MdePkg\r
 EfiCommonLib,EfiCommonLibCopyMem,CopyMem,BaseMemoryLib,MdePkg\r
@@ -88,14 +90,16 @@ EfiCommonLib,EfiDebugAssertWorker,n/a,n/a,MdePkg
 EfiCommonLib,EfiDebugVPrintWorker,n/a,n/a,MdePkg\r
 EfiCommonLib,EfiInitializeCommonDriverLib,n/a,n/a,MdePkg\r
 EfiCommonLib,EfiLibGetSystemConfigurationTable,EfiGetSystemConfigurationTable,UefiLib,MdePkg\r
+EfiCommonLib,EfiAsciiStrSize,AsciiStrSize,BaseLib,MdePkg\r
 EfiCommonLib,EfiStrCat,StrCat,BaseLib,MdePkg\r
 EfiCommonLib,EfiStrCmp,StrCmp,BaseLib,MdePkg\r
 EfiCommonLib,EfiStrCpy,StrCpy,BaseLib,MdePkg\r
 EfiCommonLib,EfiStrLen,StrLen,BaseLib,MdePkg\r
+EfiCommonLib,EfiStrnCmp,StrnCmp,BaseLib,MdePkg\r
 EfiCommonLib,EfiStrSize,StrSize,BaseLib,MdePkg\r
+EfiCommonLib,EfiStrStr,StrStr,BaseLib,MdePkg\r
 EfiCommonLib,EfiStrTrim,R8_EfiStrTrim,%,MdePkg\r
 EfiCommonLib,EfiValueToHexStr,R8_EfiValueToHexStr,%,MdePkg\r
-EfiCommonLib,EfiValueToString,AsciiValueToString,PrintLib,MdePkg\r
 EfiCommonLib,EFI_ALIGN,ALIGN_POINTER,BaseLib,MdePkg\r
 EfiCommonLib,GetPowerOfTwo,GetPowerOfTwo64,BaseLib,MdePkg\r
 EfiCommonLib,HexStringToBuf,R8_HexStringToBuf,%,MdePkg\r
@@ -143,6 +147,8 @@ EfiCommonLib,EFI_D_GENERIC,(DEBUG_ERROR | DEBUG_INIT | DEBUG_WARN | DEBUG_INFO |
 EfiCommonLib,EFI_D_INTRINSIC,(DEBUG_EVENT | DEBUG_POOL | DEBUG_PAGE | DEBUG_LOAD | DEBUG_BM | DEBUG_VARIABLE),DebugLib,MdePkg\r
 EfiCommonLib,EFI_D_RESERVED,((DEBUG_ERROR | DEBUG_INIT | DEBUG_WARN | DEBUG_INFO | DEBUG_BLKIO | DEBUG_NET | DEBUG_UNDI) | (DEBUG_EVENT | DEBUG_POOL | DEBUG_PAGE | DEBUG_LOAD | DEBUG_BM | DEBUG_VARIABLE)),DebugLib,MdePkg\r
 EfiCommonLib,EFI_DBUG_MASK,DEBUG_ERROR,DebugLib,MdePkg\r
+EfiPrintLib,VSPrint,UnicodeVSPrint,PrintLib,MdePkg\r
+EfiPrintLib,SPrint,UnicodeSPrint,PrintLib,MdePkg\r
 PeiLib,ASPrint,AsciiSPrint,PrintLib,MdePkg\r
 PeiLib,AvSPrint,AsciiVSPrint,PrintLib,MdePkg\r
 PeiLib,CompareGuid,CompareGuid,BaseMemoryLib,MdePkg\r
index b9ff903..71c70b5 100644 (file)
@@ -1,4 +1,6 @@
 R8.5 Name,R9 Name,Package\r
+MEDIA_FV_DP,MEDIA_PIWG_FW_VOL_DP,MdePkg\r
+MEDIA_FV_FILEPATH_DP,MEDIA_PIWG_FW_FILE_DP,MdePkg\r
 BBS_TYPE_DEV,BBS_TYPE_BEV,MdePkg\r
 BOOT_OBJECT_AUTHORIZATION_PARMSET_GUIDVALUE,BOOT_OBJECT_AUTHORIZATION_PARMSET_GUID,MdePkg\r
 CONTROLLER_DEVICE_PATH.Controller,CONTROLLER_DEVICE_PATH.ControllerNumber,MdePkg\r
@@ -35,13 +37,12 @@ EFI_IMAGE_MACHINE_IA64,IMAGE_FILE_MACHINE_IA64,MdePkg
 EFI_IMAGE_MACHINE_EBC,IMAGE_FILE_MACHINE_EBC,MdePkg\r
 EFI_IMAGE_MACHINE_X64,IMAGE_FILE_MACHINE_X64,MdePkg\r
 EFI_TEXT_OUTPUT_STRING,EFI_TEXT_STRING,MdePkg\r
-EFI_EVENT_TIMER,EVENT_TIMER,MdePkg\r
-EFI_EVENT_RUNTIME,EVENT_RUNTIME,MdePkg\r
-EFI_EVENT_RUNTIME_CONTEXT,EVENT_RUNTIME_CONTEXT  ,MdePkg\r
-EFI_EVENT_NOTIFY_WAIT,EVENT_NOTIFY_WAIT,MdePkg\r
-EFI_EVENT_NOTIFY_SIGNAL,EVENT_NOTIFY_SIGNAL,MdePkg\r
-EFI_EVENT_SIGNAL_EXIT_BOOT_SERVICES,EVENT_SIGNAL_EXIT_BOOT_SERVICES,MdePkg\r
-EFI_EVENT_SIGNAL_VIRTUAL_ADDRESS_CHANGE,EVENT_SIGNAL_VIRTUAL_ADDRESS_CHANGE,MdePkg\r
+EFI_EVENT_TIMER,EVT_TIMER,MdePkg\r
+EFI_EVENT_RUNTIME,EVT_RUNTIME,MdePkg\r
+EFI_EVENT_NOTIFY_WAIT,EVT_NOTIFY_WAIT,MdePkg\r
+EFI_EVENT_NOTIFY_SIGNAL,EVT_NOTIFY_SIGNAL,MdePkg\r
+EFI_EVENT_SIGNAL_EXIT_BOOT_SERVICES,EVT_SIGNAL_EXIT_BOOT_SERVICES,MdePkg\r
+EFI_EVENT_SIGNAL_VIRTUAL_ADDRESS_CHANGE,EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE,MdePkg\r
 EFI_TPL_APPLICATION,TPL_APPLICATION,MdePkg\r
 EFI_TPL_CALLBACK,TPL_CALLBACK,MdePkg\r
 EFI_TPL_NOTIFY,TPL_NOTIFY,MdePkg\r
index 6ca3c33..b9b73c6 100644 (file)
@@ -1,4 +1,12 @@
 Name,R8.5 Cname,R9 Cname,Guid Value,Package\r
+FirmwareVolume2,gEfiFirmwareVolume2ProtocolGuid,gEfiFirmwareVolume2ProtocolGuid,220e73b6-6bdb-4413-8405-b974b108619a,MdePkg\r
+HiiConfigAccess,gEfiHiiConfigAccessProtocolGuid,gEfiHiiConfigAccessProtocolGuid,330d4706-f2a0-4e4f-a369-b66fa8d54385,MdePkg\r
+HiiConfigRouting,gEfiHiiConfigRoutingProtocolGuid,gEfiHiiConfigRoutingProtocolGuid,587e72d7-cc50-4f79-8209-ca291fc1a10f,MdePkg\r
+HiiDatabase,gEfiHiiDatabaseProtocolGuid,gEfiHiiDatabaseProtocolGuid,ef9fc172-a1b2-4693-b327-6d32fc416042,MdePkg\r
+HiiFont,gEfiHiiFontProtocolGuid,gEfiHiiFontProtocolGuid,e9ca4775-8657-47fc-97e7-7ed65a084324,MdePkg\r
+HiiImage,gEfiHiiImageProtocolGuid,gEfiHiiImageProtocolGuid,31a6406a-6bdf-4e46-b2a2-ebaa89c40920,MdePkg\r
+HiiString,gEfiHiiStringProtocolGuid,gEfiHiiStringProtocolGuid,0fd96974-23aa-4cdc-b9cb-98d17750322a,MdePkg\r
+FormBrowser2,gEfiFormBrowser2ProtocolGuid,gEfiFormBrowser2ProtocolGuid,b9d4c360-bcfb-4f9b-9298-53c136982258,MdePkg\r
 Bds,gEfiBdsArchProtocolGuid,gEfiBdsArchProtocolGuid,665E3FF6-46CC-11D4-9A38-0090273FC14D,MdePkg\r
 Cpu,gEfiCpuArchProtocolGuid,gEfiCpuArchProtocolGuid,26BACCB1-6F42-11D4-BCE7-0080C73C8881,MdePkg\r
 Metronome,gEfiMetronomeArchProtocolGuid,gEfiMetronomeArchProtocolGuid,26BACCB2-6F42-11D4-BCE7-0080C73C8881,MdePkg\r
@@ -129,7 +137,7 @@ FaultTolerantWriteLite,gEfiFaultTolerantWriteLiteProtocolGuid,gEfiFaultTolerantW
 ConsoleControl,gEfiConsoleControlProtocolGuid,gEfiConsoleControlProtocolGuid,F42F7782-012E-4C12-9956-49F94304F721,EdkModulePkg\r
 OEMBadging,gEfiOEMBadgingProtocolGuid,gEfiOEMBadgingProtocolGuid,170E13C0-BF1B-4218-871D-2ABDC6F887BC,EdkModulePkg\r
 UgaSplash,gEfiUgaSplashProtocolGuid,gEfiUgaSplashProtocolGuid,A45B3A0D-2E55-4C03-AD9C-27D4820B507E,EdkModulePkg\r
-AcpiS3Save,gEfiAcpiS3SaveProtocolGuid,gEfiAcpiS3SaveProtocolGuid,125F2DE1-FB85-440C-A54C-4D99358A8D38,EdkModulePkg\r
+AcpiS3Save,gEfiAcpiS3SaveGuid,gEfiAcpiS3SaveProtocolGuid,125F2DE1-FB85-440C-A54C-4D99358A8D38,EdkModulePkg\r
 PxeDhcp4,gEfiPxeDhcp4ProtocolGuid,gEfiPxeDhcp4ProtocolGuid,03C4E624-AC28-11D3-9A2D-0090293FC14D,EdkModulePkg\r
 PxeDhcp4Callback,gEfiPxeDhcp4CallbackProtocolGuid,gEfiPxeDhcp4CallbackProtocolGuid,C1544C01-92A4-4198-8A84-778583C23621,EdkModulePkg\r
 UgaIo,gEfiUgaIoProtocolGuid,gEfiUgaIoProtocolGuid,61A4D49E-6F68-4F1B-B922-A86EED0B07A2,EdkModulePkg\r
index d0ffd26..9ee9d72 100644 (file)
@@ -326,7 +326,7 @@ R8_HexStringToBuf (
   //\r
   // Find out how many hex characters the string has.\r
   //\r
-  for (Idx = 0, HexCnt = 0; IsHexDigit (&Digit, Str[Idx]); Idx++, HexCnt++);\r
+  for (Idx = 0, HexCnt = 0; R8_IsHexDigit (&Digit, Str[Idx]); Idx++, HexCnt++);\r
 \r
   if (HexCnt == 0) {\r
     *Len = 0;\r
@@ -349,7 +349,7 @@ R8_HexStringToBuf (
 \r
   for (Idx = 0; Idx < HexCnt; Idx++) {\r
 \r
-    IsHexDigit (&Digit, Str[HexCnt - 1 - Idx]);\r
+    R8_IsHexDigit (&Digit, Str[HexCnt - 1 - Idx]);\r
 \r
     //\r
     // For odd charaters, write the lower nibble for each buffer byte,\r