]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add compiler hint of "GLOBAL_REMOVE_IF_UNREFERENCED" to prevent component name struct...
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 9 Oct 2007 07:08:08 +0000 (07:08 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 9 Oct 2007 07:08:08 +0000 (07:08 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4057 6f19259b-4bc3-4df7-8a09-765794883524

43 files changed:
IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/ComponentName.c
IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/ComponentName.c
IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/ComponentName.c
IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/ComponentName.c
IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/ComponentName.c
IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/ComponentName.c
IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/ComponentName.c
IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/ComponentName.c
IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/ComponentName.c
MdeModulePkg/Bus/Pci/AtapiPassThruDxe/ComponentName.c
MdeModulePkg/Bus/Pci/EhciDxe/ComponentName.c
MdeModulePkg/Bus/Pci/UhciDxe/ComponentName.c
MdeModulePkg/Bus/Scsi/ScsiBusDxe/ComponentName.c
MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ComponentName.c
MdeModulePkg/Bus/Usb/UsbBusDxe/ComponentName.c
MdeModulePkg/Bus/Usb/UsbKbDxe/ComponentName.c
MdeModulePkg/Bus/Usb/UsbMassStorageDxe/ComponentName.c
MdeModulePkg/Bus/Usb/UsbMouseDxe/ComponentName.c
MdeModulePkg/Universal/Console/ConPlatformDxe/ComponentName.c
MdeModulePkg/Universal/Console/ConSplitterDxe/ComponentName.c
MdeModulePkg/Universal/Console/GraphicsConsoleDxe/ComponentName.c
MdeModulePkg/Universal/Console/TerminalDxe/ComponentName.c
MdeModulePkg/Universal/DebugPortDxe/ComponentName.c
MdeModulePkg/Universal/Disk/DiskIoDxe/ComponentName.c
MdeModulePkg/Universal/Disk/PartitionDxe/ComponentName.c
MdeModulePkg/Universal/Network/ArpDxe/ComponentName.c
MdeModulePkg/Universal/Network/Dhcp4Dxe/ComponentName.c
MdeModulePkg/Universal/Network/Ip4ConfigDxe/ComponentName.c
MdeModulePkg/Universal/Network/Ip4Dxe/ComponentName.c
MdeModulePkg/Universal/Network/MnpDxe/ComponentName.c
MdeModulePkg/Universal/Network/Mtftp4Dxe/ComponentName.c
MdeModulePkg/Universal/Network/PxeBcDxe/ComponentName.c
MdeModulePkg/Universal/Network/PxeDhcp4Dxe/ComponentName.c
MdeModulePkg/Universal/Network/SnpDxe/ComponentName.c
MdeModulePkg/Universal/Network/Tcp4Dxe/ComponentName.c
MdeModulePkg/Universal/Network/Udp4Dxe/ComponentName.c
Nt32Pkg/SnpNt32Dxe/ComponentName.c
Nt32Pkg/WinNtBlockIoDxe/ComponentName.c
Nt32Pkg/WinNtBusDriverDxe/ComponentName.c
Nt32Pkg/WinNtConsoleDxe/ComponentName.c
Nt32Pkg/WinNtGopDxe/ComponentName.c
Nt32Pkg/WinNtSerialIoDxe/ComponentName.c
Nt32Pkg/WinNtSimpleFileSystemDxe/ComponentName.c

index f4d5562a99c4da76aed6fb8156524d85bd40cbf8..f93a23a88e154ff9fd93e1f758ce98bcf2e4cac9 100644 (file)
@@ -16,20 +16,20 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gIsaBusComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gIsaBusComponentName = {\r
   IsaBusComponentNameGetDriverName,\r
   IsaBusComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gIsaBusComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gIsaBusComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) IsaBusComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) IsaBusComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 STATIC EFI_UNICODE_STRING_TABLE mIsaBusDriverNameTable[] = {\r
index 961c764d72d3922b067991a25c247a779aa18bc1..f0df4f049481cfb35afb6899b714ddc27c20011b 100644 (file)
@@ -17,20 +17,20 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gIsaFloppyComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gIsaFloppyComponentName = {\r
   IsaFloppyComponentNameGetDriverName,\r
   IsaFloppyComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gIsaFloppyComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gIsaFloppyComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) IsaFloppyComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) IsaFloppyComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 STATIC EFI_UNICODE_STRING_TABLE mIsaFloppyDriverNameTable[] = {\r
index 4534b537294c92d2fa49779f30e458afe7645884..b070d8c0863ac38d31ba41edbbcb88db5bcdcb17 100644 (file)
@@ -17,20 +17,20 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gIsaSerialComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gIsaSerialComponentName = {\r
   IsaSerialComponentNameGetDriverName,\r
   IsaSerialComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gIsaSerialComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gIsaSerialComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) IsaSerialComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) IsaSerialComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 STATIC EFI_UNICODE_STRING_TABLE mIsaSerialDriverNameTable[] = {\r
index 81686653215aa4fea2ee667a3c5bb006b5e87d8e..183d09ed551aa5eddbbe249f455db5889226be13 100644 (file)
@@ -146,20 +146,20 @@ Ps2KeyboardComponentNameGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gPs2KeyboardComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gPs2KeyboardComponentName = {\r
   Ps2KeyboardComponentNameGetDriverName,\r
   Ps2KeyboardComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gPs2KeyboardComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gPs2KeyboardComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) Ps2KeyboardComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) Ps2KeyboardComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mPs2KeyboardDriverNameTable[] = {\r
index 57d8fe23f854bf7b4f1d2bb38494fa339088f5dc..ea416dcbf18a723ac626d5526316c34dc55f7648 100644 (file)
@@ -16,20 +16,20 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gPs2MouseComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gPs2MouseComponentName = {\r
   Ps2MouseComponentNameGetDriverName,\r
   Ps2MouseComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gPs2MouseComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gPs2MouseComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) Ps2MouseComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) Ps2MouseComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mPs2MouseDriverNameTable[] = {\r
index 611eb3d6ee5b8a5a9477f13ee9f5b2b705afc2af..45622a4d46600d50ffc48033468739362d26d561 100644 (file)
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gIDEBusComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gIDEBusComponentName = {\r
   IDEBusComponentNameGetDriverName,\r
   IDEBusComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gIDEBusComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gIDEBusComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) IDEBusComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) IDEBusComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 STATIC EFI_UNICODE_STRING_TABLE mIDEBusDriverNameTable[] = {\r
index 9320909654d46e727a3e7994bccd3da30b6beb0e..00943d9f275e83b56c4745e0d7c07fd91212656c 100644 (file)
@@ -16,20 +16,20 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gPciBusComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gPciBusComponentName = {\r
   PciBusComponentNameGetDriverName,\r
   PciBusComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gPciBusComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gPciBusComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) PciBusComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) PciBusComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 STATIC EFI_UNICODE_STRING_TABLE mPciBusDriverNameTable[] = {\r
index 3fc158611a823d952087d6fc4514591c63392691..687882769166563b1b73fcc7d4ef2024caedb681 100644 (file)
@@ -146,20 +146,20 @@ PciVgaMiniPortComponentNameGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gPciVgaMiniPortComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gPciVgaMiniPortComponentName = {\r
   PciVgaMiniPortComponentNameGetDriverName,\r
   PciVgaMiniPortComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gPciVgaMiniPortComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gPciVgaMiniPortComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) PciVgaMiniPortComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) PciVgaMiniPortComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mPciVgaMiniPortDriverNameTable[] = {\r
index d8bde9132c021c38a1ed7f9d8390bd575427c8af..6b23763c2dae5ecce05e7b52ec4ca19d9b2f6d12 100644 (file)
@@ -16,20 +16,20 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gVgaClassComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gVgaClassComponentName = {\r
   VgaClassComponentNameGetDriverName,\r
   VgaClassComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gVgaClassComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gVgaClassComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) VgaClassComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) VgaClassComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 STATIC EFI_UNICODE_STRING_TABLE mVgaClassDriverNameTable[] = {\r
index 940b037bf2b7944981f7a52e54b6f8909d4be9cd..32daf0c4ac09412e65a01c75f6923a4147e853ff 100644 (file)
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gAtapiScsiPassThruComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gAtapiScsiPassThruComponentName = {\r
   AtapiScsiPassThruComponentNameGetDriverName,\r
   AtapiScsiPassThruComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gAtapiScsiPassThruComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gAtapiScsiPassThruComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) AtapiScsiPassThruComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) AtapiScsiPassThruComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mAtapiScsiPassThruDriverNameTable[] = {\r
index 8d533bbf91d8f88c3c32fb36af444640fa03a2be..d55606a716d5eb968cb42ad08a92fa968f7e99bf 100644 (file)
@@ -155,20 +155,20 @@ EhciComponentNameGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gEhciComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gEhciComponentName = {\r
   EhciComponentNameGetDriverName,\r
   EhciComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gEhciComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gEhciComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) EhciComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) EhciComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mEhciDriverNameTable[] = {\r
index bd2c3465f821ec0b9e1577e80f79f4a7069132a5..353b657ed44e9f1fcdb18a0fba92a8bc63806d9d 100644 (file)
@@ -153,20 +153,20 @@ UhciComponentNameGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gUhciComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gUhciComponentName = {\r
   UhciComponentNameGetDriverName,\r
   UhciComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gUhciComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gUhciComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) UhciComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) UhciComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mUhciDriverNameTable[] = {\r
index c66f9b6b7b87c9e9841588fe625ce57b63c5bb2d..8b318410fcc851610eb9277cdbed60346648e09d 100644 (file)
@@ -42,20 +42,20 @@ Abstract:
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gScsiBusComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gScsiBusComponentName = {\r
   ScsiBusComponentNameGetDriverName,\r
   ScsiBusComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gScsiBusComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gScsiBusComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) ScsiBusComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) ScsiBusComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mScsiBusDriverNameTable[] = {\r
index 48411e0914270cca111354bc98988769db8ce0ed..3816abfa2eebc991271c54842e4df0032f253ca1 100644 (file)
@@ -38,20 +38,20 @@ Abstract:
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gScsiDiskComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gScsiDiskComponentName = {\r
   ScsiDiskComponentNameGetDriverName,\r
   ScsiDiskComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gScsiDiskComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gScsiDiskComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) ScsiDiskComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) ScsiDiskComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mScsiDiskDriverNameTable[] = {\r
index ed9e40515757c2f192b592d7c2574a5840fcd6d6..cb200aa032a22a0cf751186b6351cd0031a0d0e6 100644 (file)
@@ -158,20 +158,20 @@ UsbBusComponentNameGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  mUsbBusComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  mUsbBusComponentName = {\r
   UsbBusComponentNameGetDriverName,\r
   UsbBusComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL mUsbBusComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL mUsbBusComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) UsbBusComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) UsbBusComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 STATIC EFI_UNICODE_STRING_TABLE mUsbBusDriverNameTable[] = {\r
index 2701194793179b8b402df49d5358eed21d73434a..0be3f729c4d6f83f3fbc870be0f9890a2b24188a 100644 (file)
@@ -154,20 +154,20 @@ UsbKeyboardComponentNameGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gUsbKeyboardComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gUsbKeyboardComponentName = {\r
   UsbKeyboardComponentNameGetDriverName,\r
   UsbKeyboardComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gUsbKeyboardComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gUsbKeyboardComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) UsbKeyboardComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) UsbKeyboardComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 STATIC EFI_UNICODE_STRING_TABLE mUsbKeyboardDriverNameTable[] = {\r
index be890c5b522135753d022d1e599a9fe3736229b1..66874e8dca9c861fb369ee8fb7f7dc21f6d9955d 100644 (file)
@@ -156,20 +156,20 @@ UsbMassStorageGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gUsbMassStorageComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gUsbMassStorageComponentName = {\r
   UsbMassStorageGetDriverName,\r
   UsbMassStorageGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gUsbMassStorageComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gUsbMassStorageComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) UsbMassStorageGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) UsbMassStorageGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 STATIC EFI_UNICODE_STRING_TABLE\r
index 892b0dab6f9588e72cb0b65bf87ad733a17c1ecb..ecfe64d5516c5ba3cd7df36df6f8a3f5c93ca33b 100644 (file)
@@ -154,20 +154,20 @@ UsbMouseComponentNameGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gUsbMouseComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gUsbMouseComponentName = {\r
   UsbMouseComponentNameGetDriverName,\r
   UsbMouseComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gUsbMouseComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gUsbMouseComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) UsbMouseComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) UsbMouseComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 \r
index 9a34e418e2f0caa7b7e193058dd550f1d4594974..6010f22bd56c1cc8e5a12a81a14b81a60af456c9 100644 (file)
@@ -27,20 +27,20 @@ Abstract:
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gConPlatformComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gConPlatformComponentName = {\r
   ConPlatformComponentNameGetDriverName,\r
   ConPlatformComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gConPlatformComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gConPlatformComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) ConPlatformComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) ConPlatformComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 STATIC EFI_UNICODE_STRING_TABLE mConPlatformDriverNameTable[] = {\r
index 20dba84ef2d767abd44efacfa5f74a46773e73ba..6a458436e4423d399514dfe14df64ffdca3a3c40 100644 (file)
@@ -22,77 +22,77 @@ Abstract:
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gConSplitterConInComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gConSplitterConInComponentName = {\r
   ConSplitterComponentNameGetDriverName,\r
   ConSplitterConInComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gConSplitterConInComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gConSplitterConInComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) ConSplitterComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) ConSplitterConInComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gConSplitterSimplePointerComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gConSplitterSimplePointerComponentName = {\r
   ConSplitterComponentNameGetDriverName,\r
   ConSplitterSimplePointerComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gConSplitterSimplePointerComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gConSplitterSimplePointerComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) ConSplitterComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) ConSplitterSimplePointerComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gConSplitterConOutComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gConSplitterConOutComponentName = {\r
   ConSplitterComponentNameGetDriverName,\r
   ConSplitterConOutComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gConSplitterConOutComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gConSplitterConOutComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) ConSplitterComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) ConSplitterConOutComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gConSplitterStdErrComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gConSplitterStdErrComponentName = {\r
   ConSplitterComponentNameGetDriverName,\r
   ConSplitterStdErrComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gConSplitterStdErrComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gConSplitterStdErrComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) ConSplitterComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) ConSplitterStdErrComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mConSplitterDriverNameTable[] = {\r
index 465acab05229105fcae320114caa108b10dc0092..7c458baa2c3346164565ff85e254436ecca68e91 100644 (file)
@@ -22,20 +22,20 @@ Abstract:
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gGraphicsConsoleComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gGraphicsConsoleComponentName = {\r
   GraphicsConsoleComponentNameGetDriverName,\r
   GraphicsConsoleComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gGraphicsConsoleComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gGraphicsConsoleComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) GraphicsConsoleComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) GraphicsConsoleComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 STATIC EFI_UNICODE_STRING_TABLE mGraphicsConsoleDriverNameTable[] = {\r
index 7e99b0188ae5bd98abf9583ce51ed3873ca4ec31..5bcc85b5b7984c2f3d50eaa0c9e3bc9400cdb4f1 100644 (file)
@@ -22,20 +22,20 @@ Abstract:
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gTerminalComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gTerminalComponentName = {\r
   TerminalComponentNameGetDriverName,\r
   TerminalComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gTerminalComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gTerminalComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) TerminalComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) TerminalComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mTerminalDriverNameTable[] = {\r
index 775961412cf20512aad0cc7794c058fef4cb7a85..e6a5248b18ca99546af678534f0eff65c6b65dd4 100644 (file)
@@ -22,7 +22,7 @@ Abstract:
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gDebugPortComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gDebugPortComponentName = {\r
   DebugPortComponentNameGetDriverName,\r
   DebugPortComponentNameGetControllerName,\r
   "eng"\r
@@ -31,7 +31,7 @@ EFI_COMPONENT_NAME_PROTOCOL  gDebugPortComponentName = {
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gDebugPortComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gDebugPortComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) DebugPortComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) DebugPortComponentNameGetControllerName,\r
   "en"\r
index 96fee5cb5ff0c1a7b6c6a6654dca0ba002928450..e957212f275b15540cd955d84705faad34698cdc 100644 (file)
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gDiskIoComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gDiskIoComponentName = {\r
   DiskIoComponentNameGetDriverName,\r
   DiskIoComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gDiskIoComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gDiskIoComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) DiskIoComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) DiskIoComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mDiskIoDriverNameTable[] = {\r
index 6daf8d8abb740d93764d299f27914af62157cd43..c339c9e2bf4cfba6ffeffc6602594a4997b3b5e1 100644 (file)
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gPartitionComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gPartitionComponentName = {\r
   PartitionComponentNameGetDriverName,\r
   PartitionComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gPartitionComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gPartitionComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) PartitionComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) PartitionComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mPartitionDriverNameTable[] = {\r
index 47d7bd70ae859f445139388cb35169e39319a741..a05a3a7a8b868afcfac977c858f28c3b46af70cf 100644 (file)
@@ -153,20 +153,20 @@ ArpComponentNameGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gArpComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gArpComponentName = {\r
   ArpComponentNameGetDriverName,\r
   ArpComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gArpComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gArpComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) ArpComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) ArpComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 STATIC EFI_UNICODE_STRING_TABLE mArpDriverNameTable[] = {\r
index 8402ae5cfa9359a5143b36a851836d07939f5201..5e3b0966d52356fdebcb05f5c7d405b1c32d284e 100644 (file)
@@ -154,20 +154,20 @@ DhcpComponentNameGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gDhcp4ComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gDhcp4ComponentName = {\r
   DhcpComponentNameGetDriverName,\r
   DhcpComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gDhcp4ComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gDhcp4ComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) DhcpComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) DhcpComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mDhcpDriverNameTable[] = {\r
index 1fbee2a097698c9d6565a277650ab6dc73a473c3..f3f8e5a7dd0b5bd6dea8ba18b54ad1fb37b8f6c4 100644 (file)
@@ -154,20 +154,20 @@ Ip4ConfigComponentNameGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gIp4ConfigComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gIp4ConfigComponentName = {\r
   Ip4ConfigComponentNameGetDriverName,\r
   Ip4ConfigComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gIp4ConfigComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gIp4ConfigComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) Ip4ConfigComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) Ip4ConfigComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 STATIC\r
index 01642c23839d426e5e589b5d09373d813c2f2562..6d5f7c126e163c7cc871c142fce15166f638a8f1 100644 (file)
@@ -154,20 +154,20 @@ Ip4ComponentNameGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gIp4ComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gIp4ComponentName = {\r
   Ip4ComponentNameGetDriverName,\r
   Ip4ComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gIp4ComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gIp4ComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) Ip4ComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) Ip4ComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mIp4DriverNameTable[] = {\r
index b2af53cea7a855d723e144683458172756c49af6..9589c1a14303d0aafaffc3e78921ecc95308fdd8 100644 (file)
@@ -154,20 +154,20 @@ MnpComponentNameGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gMnpComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gMnpComponentName = {\r
   MnpComponentNameGetDriverName,\r
   MnpComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gMnpComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gMnpComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) MnpComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) MnpComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 STATIC EFI_UNICODE_STRING_TABLE mMnpDriverNameTable[] = {\r
index 626995b687d1d6d8068e2dbd223970eab7c341b8..60cf82634e5dd0c814f2862803a96134a02b8510 100644 (file)
@@ -153,20 +153,20 @@ Mtftp4ComponentNameGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gMtftp4ComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gMtftp4ComponentName = {\r
   Mtftp4ComponentNameGetDriverName,\r
   Mtftp4ComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gMtftp4ComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gMtftp4ComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) Mtftp4ComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) Mtftp4ComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mMtftp4DriverNameTable[] = {\r
index 7aea928fed313588dcda99f0d9330a8ddb56f789..c6853c4503e58920cd78ef32c7772b9065485085 100644 (file)
@@ -152,20 +152,20 @@ PxeBcComponentNameGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gPxeBcComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gPxeBcComponentName = {\r
   PxeBcComponentNameGetDriverName,\r
   PxeBcComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gPxeBcComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gPxeBcComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) PxeBcComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) PxeBcComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mPxeBcDriverNameTable[] = {\r
index 6eae594c4ddc2cd3dca6b6b7ed287f75a9f55986..b174fe23157ba1da988795b7f6503be258bef11a 100644 (file)
@@ -157,20 +157,20 @@ PxeDhcp4ComponentNameGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gPxeDhcp4ComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gPxeDhcp4ComponentName = {\r
   PxeDhcp4ComponentNameGetDriverName,\r
   PxeDhcp4ComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gPxeDhcp4ComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gPxeDhcp4ComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) PxeDhcp4ComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) PxeDhcp4ComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mPxeDhcp4DriverNameTable[] = {\r
index a2dc8e75af4b78802194573bcaa0327a6523b3e1..6cd331b6139fe2a9eeaba46e388d836eb70c0187 100644 (file)
@@ -155,20 +155,20 @@ SimpleNetworkComponentNameGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gSimpleNetworkComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gSimpleNetworkComponentName = {\r
   SimpleNetworkComponentNameGetDriverName,\r
   SimpleNetworkComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gSimpleNetworkComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gSimpleNetworkComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) SimpleNetworkComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) SimpleNetworkComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mSimpleNetworkDriverNameTable[] = {\r
index fae269fa16b24fcc9b999b52bf9ebbf7fc0937c4..c5a4b99d7eed3e1afcc0c368ccbd291407d835ed 100644 (file)
@@ -153,20 +153,20 @@ TcpComponentNameGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gTcp4ComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gTcp4ComponentName = {\r
   TcpComponentNameGetDriverName,\r
   TcpComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gTcp4ComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gTcp4ComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) TcpComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) TcpComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mTcpDriverNameTable[] = {\r
index 7fb1ce9bd774b2aacc1c8c42ae5eeb1ed0249326..f7e2ac2ae9fb244c0bf7d3d46ae8543e9ec0c115 100644 (file)
@@ -154,20 +154,20 @@ UdpComponentNameGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gUdp4ComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gUdp4ComponentName = {\r
   UdpComponentNameGetDriverName,\r
   UdpComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gUdp4ComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gUdp4ComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) UdpComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) UdpComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mUdpDriverNameTable[] = {\r
index dcb3a5ac40b9b52c7ac669eaae86741319b06f3f..b9de2efc60e20d0a2ec3fd774c32b848346366ff 100644 (file)
@@ -153,20 +153,20 @@ SnpNt32DriverComponentNameGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gSnpNt32DriverComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gSnpNt32DriverComponentName = {\r
   SnpNt32DriverComponentNameGetDriverName,\r
   SnpNt32DriverComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gSnpNt32DriverComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gSnpNt32DriverComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) SnpNt32DriverComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) SnpNt32DriverComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mSnpNt32DriverNameTable[] = {\r
index cad3d47029a367e589759eb2300944d72805e22a..fd4caf3ba8238ffce9b837f54fbee9af5f085643 100644 (file)
@@ -156,20 +156,20 @@ WinNtBlockIoComponentNameGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gWinNtBlockIoComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gWinNtBlockIoComponentName = {\r
   WinNtBlockIoComponentNameGetDriverName,\r
   WinNtBlockIoComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gWinNtBlockIoComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gWinNtBlockIoComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) WinNtBlockIoComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) WinNtBlockIoComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mWinNtBlockIoDriverNameTable[] = {\r
index b9efc82584d36c679994c9c35720ba301d861f28..e7d2487bf1dec20df46a6b96827e0f8c78085573 100644 (file)
@@ -167,20 +167,20 @@ WinNtBusDriverComponentNameGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gWinNtBusDriverComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gWinNtBusDriverComponentName = {\r
   WinNtBusDriverComponentNameGetDriverName,\r
   WinNtBusDriverComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gWinNtBusDriverComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gWinNtBusDriverComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) WinNtBusDriverComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) WinNtBusDriverComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mWinNtBusDriverNameTable[] = {\r
index 4fa470ab139e6f133f695ca101d82fee032d83db..b9770887c88ac1bbd1fd737c2d4e6a17c2bdd95f 100644 (file)
@@ -175,20 +175,20 @@ WinNtConsoleComponentNameGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gWinNtConsoleComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gWinNtConsoleComponentName = {\r
   WinNtConsoleComponentNameGetDriverName,\r
   WinNtConsoleComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gWinNtConsoleComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gWinNtConsoleComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) WinNtConsoleComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) WinNtConsoleComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mWinNtConsoleDriverNameTable[] = {\r
index a8a1f95a89e19939bffa741494021c4372cf24be..a9b281816e93715e847b1af0eaa4a92058e7398c 100644 (file)
@@ -178,20 +178,20 @@ WinNtGopComponentNameGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gWinNtGopComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gWinNtGopComponentName = {\r
   WinNtGopComponentNameGetDriverName,\r
   WinNtGopComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gWinNtGopComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gWinNtGopComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) WinNtGopComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) WinNtGopComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mWinNtGopDriverNameTable[] = {\r
index 2b4b31a25a7810cb2b7f9555b8bdacc8978a6f0c..cab4dd8b0cddca1c07b374a7ebb856e0bc818e58 100644 (file)
@@ -152,20 +152,20 @@ WinNtSerialIoComponentNameGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gWinNtSerialIoComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gWinNtSerialIoComponentName = {\r
   WinNtSerialIoComponentNameGetDriverName,\r
   WinNtSerialIoComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gWinNtSerialIoComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gWinNtSerialIoComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) WinNtSerialIoComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) WinNtSerialIoComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mWinNtSerialIoDriverNameTable[] = {\r
index 2757535a3b1a42f1d8f4f463932a1b495fdfcaf0..2fc4be22f7ff40492c063cec6ee5563f67b0efe6 100644 (file)
@@ -177,20 +177,20 @@ WinNtSimpleFileSystemComponentNameGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gWinNtSimpleFileSystemComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gWinNtSimpleFileSystemComponentName = {\r
   WinNtSimpleFileSystemComponentNameGetDriverName,\r
   WinNtSimpleFileSystemComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gWinNtSimpleFileSystemComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gWinNtSimpleFileSystemComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) WinNtSimpleFileSystemComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) WinNtSimpleFileSystemComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mWinNtSimpleFileSystemDriverNameTable[] = {\r