Changeset 58466 in vbox for trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Arm
- Timestamp:
- Oct 29, 2015 4:30:44 AM (9 years ago)
- Location:
- trunk/src/VBox/Devices/EFI/Firmware
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware
- Property svn:mergeinfo changed
/vendor/edk2/current merged: 103769-103776
- Property svn:mergeinfo changed
-
trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Arm/ProcessorBind.h
r58459 r58466 4 4 Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR> 5 5 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 10 10 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. 13 13 14 14 **/ … … 29 29 #endif 30 30 31 #if _MSC_EXTENSIONS 31 #if _MSC_EXTENSIONS 32 32 // 33 // use Microsoft* C complier dependent integer width types 33 // use Microsoft* C complier dependent integer width types 34 34 // 35 35 typedef unsigned __int64 UINT64; … … 46 46 #else 47 47 // 48 // Assume standard ARM alignment. 48 // Assume standard ARM alignment. 49 49 // Need to check portability of long long 50 50 // … … 109 109 // EFI intrinsics are required to modify their member functions with EFIAPI. 110 110 // 111 #define EFIAPI 111 #define EFIAPI 112 112 113 113 #if defined(__GNUC__) … … 128 128 #define GCC_ASM_EXPORT(func__) \ 129 129 .global _CONCATENATE (__USER_LABEL_PREFIX__, func__) ;\ 130 .type ASM_PFX(func__), %function 130 .type ASM_PFX(func__), %function 131 131 132 132 #define GCC_ASM_IMPORT(func__) \ 133 133 .extern _CONCATENATE (__USER_LABEL_PREFIX__, func__) 134 134 135 135 #else 136 136 // 137 // .type not supported by Apple Xcode tools 137 // .type not supported by Apple Xcode tools 138 138 // 139 #define INTERWORK_FUNC(func__) 139 #define INTERWORK_FUNC(func__) 140 140 141 141 #define GCC_ASM_EXPORT(func__) \ 142 142 .globl _CONCATENATE (__USER_LABEL_PREFIX__, func__) \ 143 144 #define GCC_ASM_IMPORT(name) 143 144 #define GCC_ASM_IMPORT(name) 145 145 146 146 #endif … … 149 149 /** 150 150 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, 152 152 so the implementation of this macro is very simple. 153 153 154 154 @param FunctionPointer A pointer to a function. 155 155 156 156 @return The pointer to the first instruction of a function given a function pointer. 157 157 158 158 **/ 159 159 #define FUNCTION_ENTRY_POINT(FunctionPointer) (VOID *)(UINTN)(FunctionPointer)
Note:
See TracChangeset
for help on using the changeset viewer.