VirtualBox

Ignore:
Timestamp:
Oct 28, 2015 8:17:18 PM (9 years ago)
Author:
vboxsync
Message:

EFI/Firmware: 'svn merge /vendor/edk2/UDK2010.SR1 /vendor/edk2/current .', reverting and removing files+dirs listed in ReadMe.vbox, resolving conflicts with help from ../UDK2014.SP1/. This is a raw untested merge.

Location:
trunk/src/VBox/Devices/EFI/Firmware
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/Firmware

  • trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.c

    r48674 r58459  
    33  SMBIOS table into system table.
    44 
    5 Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
     5Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
    66This program and the accompanying materials                         
    77are licensed and made available under the terms and conditions of the BSD License         
     
    5050  // MajorVersion
    5151  //
    52   (UINT8) (FixedPcdGet16 (PcdSmbiosVersion) >> 8),
     52  0,
    5353  //
    5454  // MinorVersion
    5555  //
    56   (UINT8) (FixedPcdGet16 (PcdSmbiosVersion) & 0x00ff),
     56  0,
    5757  //
    5858  // MaxStructureSize, TO BE FILLED
     
    8888  0,
    8989  //
    90   // StructureTableLength, TO BE FILLED
     90  // TableLength, TO BE FILLED
    9191  //
    9292  0,
    9393  //
    94   // StructureTableAddress, TO BE FILLED
     94  // TableAddress, TO BE FILLED
    9595  //
    9696  0,
     
    102102  // SmbiosBcdRevision
    103103  //
    104   0 
     104  0
    105105};
    106106
     
    981981    Status = gBS->AllocatePages (
    982982                    AllocateMaxAddress,
    983                     EfiReservedMemoryType,
     983                    EfiRuntimeServicesData,
    984984                    EFI_SIZE_TO_PAGES (EntryPointStructure->TableLength),
    985985                    &PhysicalAddress
     
    10791079  mPrivateData.Smbios.Remove            = SmbiosRemove;
    10801080  mPrivateData.Smbios.GetNext           = SmbiosGetNext;
    1081   mPrivateData.Smbios.MajorVersion      = (UINT8) (FixedPcdGet16 (PcdSmbiosVersion) >> 8);
    1082   mPrivateData.Smbios.MinorVersion      = (UINT8) (FixedPcdGet16 (PcdSmbiosVersion) & 0x00ff);
     1081  mPrivateData.Smbios.MajorVersion      = (UINT8) (PcdGet16 (PcdSmbiosVersion) >> 8);
     1082  mPrivateData.Smbios.MinorVersion      = (UINT8) (PcdGet16 (PcdSmbiosVersion) & 0x00ff);
     1083  EntryPointStructureData.MajorVersion  = mPrivateData.Smbios.MajorVersion;
     1084  EntryPointStructureData.MinorVersion  = mPrivateData.Smbios.MinorVersion;
     1085  EntryPointStructureData.SmbiosBcdRevision = (UINT8) ((PcdGet16 (PcdSmbiosVersion) >> 4) & 0xf0) | (UINT8) (PcdGet16 (PcdSmbiosVersion) & 0x0f);
    10831086
    10841087  InitializeListHead (&mPrivateData.DataListHead);
     
    10931096  Status = gBS->AllocatePages (
    10941097                  AllocateMaxAddress,
    1095                   EfiReservedMemoryType,
     1098                  EfiRuntimeServicesData,
    10961099                  EFI_SIZE_TO_PAGES (sizeof (SMBIOS_TABLE_ENTRY_POINT)),
    10971100                  &PhysicalAddress
     
    11011104    Status = gBS->AllocatePages (
    11021105                    AllocateAnyPages,
    1103                     EfiReservedMemoryType,
     1106                    EfiRuntimeServicesData,
    11041107                    EFI_SIZE_TO_PAGES (sizeof (SMBIOS_TABLE_ENTRY_POINT)),
    11051108                    &PhysicalAddress
     
    11271130  Status = gBS->AllocatePages (
    11281131                  AllocateMaxAddress,
    1129                   EfiReservedMemoryType,
     1132                  EfiRuntimeServicesData,
    11301133                  1,
    11311134                  &PhysicalAddress
  • trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf

    r48674 r58459  
    11## @file
    2 # Component description file for Smbios module.
     2# This driver initializes and installs the SMBIOS protocol, constructs SMBIOS table into system configuration table.
    33#
    4 # This driver initializes and installs the SMBIOS protocol.
    5 # Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
     4# Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
    65#
    76#  This program and the accompanying materials
     
    1817  INF_VERSION                    = 0x00010005
    1918  BASE_NAME                      = SmbiosDxe
     19  MODULE_UNI_FILE                = SmbiosDxe.uni
    2020  FILE_GUID                      = F9D88642-0737-49bc-81B5-6889CD57D9EA
    2121  MODULE_TYPE                    = DXE_DRIVER
     
    4949
    5050[Protocols]
    51   gEfiSmbiosProtocolGuid                       # PROTOCOL ALWAYS_PRODUCED
     51  gEfiSmbiosProtocolGuid                            ## PRODUCES
    5252 
    5353[Guids]
    54   gEfiEventReadyToBootGuid                    # PROTOCOL ALWAYS_CONSUMED
    55   gEfiSmbiosTableGuid                         # PROTOCOL ALWAYS_CONSUMED
     54  gEfiSmbiosTableGuid                               ## PRODUCES ## SystemTable
    5655
    57 [FixedPcd]
    58   gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion
     56[Pcd]
     57  gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion   ## CONSUMES
    5958
    6059[Depex]
    6160  TRUE
     61
     62[UserExtensions.TianoCore."ExtraFiles"]
     63  SmbiosDxeExtra.uni
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette