]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/EfiRom/EfiRom.h
BaseTools: Fix compile error on VS2010
[mirror_edk2.git] / BaseTools / Source / C / EfiRom / EfiRom.h
index 2689c2293c629ec53cc39415ae385d004e5c409d..f90c63fbf4ddf6904fa697a70bc0c4a4e8413b82 100644 (file)
@@ -1,23 +1,14 @@
 /** @file\r
+This file contains the relevant declarations required to generate Option Rom File\r
 \r
-Copyright (c) 1999 - 2008 Intel Corporation. All rights reserved\r
-This software and associated documentation (if any) is furnished\r
-under a license and may only be used or copied in accordance\r
-with the terms of the license. Except as permitted by such\r
-license, no part of this software or documentation may be\r
-reproduced, stored in a retrieval system, or transmitted in any\r
-form or by any means without the express written consent of\r
-Intel Corporation.\r
+Copyright (c) 1999 - 2017, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials are licensed and made available \r
+under the terms and conditions of the BSD License which accompanies this \r
+distribution.  The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
 \r
-\r
-Module Name:  \r
-\r
-  EfiRom.h\r
-\r
-Abstract:\r
-\r
-  This file contains the relevant declarations required\r
-  to generate Option Rom File\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 **/\r
 \r
@@ -92,9 +83,9 @@ typedef struct {
   UINT16    ClassCode;\r
   UINT16    PciRevision;\r
   UINT16    VendId;\r
-  UINT16    DevId;\r
+  UINT16    *DevIdList;\r
+  UINT32    DevIdCount;\r
   UINT8     VendIdValid;\r
-  UINT8     DevIdValid;\r
   INT8      Verbose;\r
   INT8      Quiet;\r
   INT8      Debug;\r
@@ -126,6 +117,9 @@ static STRING_LOOKUP  mMachineTypes[] = {
   { EFI_IMAGE_MACHINE_IA32, "IA32" },\r
   { EFI_IMAGE_MACHINE_IA64, "IA64" },\r
   { EFI_IMAGE_MACHINE_EBC, "EBC" },\r
+  { EFI_IMAGE_MACHINE_X64, "X64" },\r
+  { EFI_IMAGE_MACHINE_ARMT, "ARM" },\r
+  { EFI_IMAGE_MACHINE_AARCH64, "AA64" },\r
   { 0, NULL }\r
 };\r
 \r