VirtualBox

Ignore:
Timestamp:
Oct 29, 2015 4:30:44 AM (9 years ago)
Author:
vboxsync
Message:

EFI/Firmware: Merged in the svn:eol-style, svn:mime-type and trailing whitespace cleanup that was done after the initial UDK2014.SP1 import: svn merge /vendor/edk2/UDK2014.SP1 /vendor/edk2/current .

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

Legend:

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

  • trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Arm/ProcessorBind.h

    r58459 r58466  
    44  Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
    55  Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
    6   This program and the accompanying materials                         
    7   are licensed and made available under the terms and conditions of the BSD License         
    8   which accompanies this distribution.  The full text of the license may be found at       
    9   http://opensource.org/licenses/bsd-license.php                                           
     6  This program and the accompanying materials
     7  are licensed and made available under the terms and conditions of the BSD License
     8  which accompanies this distribution.  The full text of the license may be found at
     9  http://opensource.org/licenses/bsd-license.php
    1010
    11   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     
    12   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             
     11  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
     12  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
    1313
    1414**/
     
    2929#endif
    3030
    31 #if _MSC_EXTENSIONS 
     31#if _MSC_EXTENSIONS
    3232  //
    33   // use Microsoft* C complier dependent integer width types 
     33  // use Microsoft* C complier dependent integer width types
    3434  //
    3535  typedef unsigned __int64    UINT64;
     
    4646#else
    4747  //
    48   // Assume standard ARM alignment. 
     48  // Assume standard ARM alignment.
    4949  // Need to check portability of long long
    5050  //
     
    109109// EFI intrinsics are required to modify their member functions with EFIAPI.
    110110//
    111 #define EFIAPI   
     111#define EFIAPI
    112112
    113113#if defined(__GNUC__)
     
    128128    #define GCC_ASM_EXPORT(func__)  \
    129129             .global  _CONCATENATE (__USER_LABEL_PREFIX__, func__)    ;\
    130              .type ASM_PFX(func__), %function 
     130             .type ASM_PFX(func__), %function
    131131
    132132    #define GCC_ASM_IMPORT(func__)  \
    133133             .extern  _CONCATENATE (__USER_LABEL_PREFIX__, func__)
    134              
     134
    135135  #else
    136136    //
    137     // .type not supported by Apple Xcode tools 
     137    // .type not supported by Apple Xcode tools
    138138    //
    139     #define INTERWORK_FUNC(func__) 
     139    #define INTERWORK_FUNC(func__)
    140140
    141141    #define GCC_ASM_EXPORT(func__)  \
    142142             .globl  _CONCATENATE (__USER_LABEL_PREFIX__, func__)    \
    143  
    144     #define GCC_ASM_IMPORT(name) 
     143
     144    #define GCC_ASM_IMPORT(name)
    145145
    146146  #endif
     
    149149/**
    150150  Return the pointer to the first instruction of a function given a function pointer.
    151   On ARM CPU architectures, these two pointer values are the same, 
     151  On ARM CPU architectures, these two pointer values are the same,
    152152  so the implementation of this macro is very simple.
    153  
     153
    154154  @param  FunctionPointer   A pointer to a function.
    155155
    156156  @return The pointer to the first instruction of a function given a function pointer.
    157  
     157
    158158**/
    159159#define FUNCTION_ENTRY_POINT(FunctionPointer) (VOID *)(UINTN)(FunctionPointer)
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