Changeset 33540 in vbox for trunk/src/VBox/Devices/EFI/tools/include
- Timestamp:
- Oct 28, 2010 9:27:05 AM (14 years ago)
- Location:
- trunk/src/VBox/Devices/EFI/tools/include
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/tools/include/Common/BaseTypes.h
r23119 r33540 27 27 28 28 // 29 // Modifiers to abs ract standard types to aid in debug of problems29 // Modifiers to abstract standard types to aid in debug of problems 30 30 // 31 31 #define CONST const … … 40 40 // 41 41 // Some other envirnments use this construct, so #ifndef to prevent 42 // mul itple definition.42 // multiple definition. 43 43 // 44 44 #define IN … … 53 53 // 54 54 // BugBug: UEFI specification claims 1 and 0. We are concerned about the 55 // comp lier portability so we did it this way.55 // compiler portability so we did it this way. 56 56 // 57 57 #define TRUE ((BOOLEAN)(1==1)) … … 70 70 // 71 71 // Since we are using the ANSI standard we used the standard nameing and 72 // did not fol ow the coding convention72 // did not follow the coding convention 73 73 // 74 74 // VA_LIST - typedef for argument list. 75 75 // VA_START (VA_LIST Marker, argument before the ...) - Init Marker for use. 76 76 // VA_END (VA_LIST Marker) - Clear Marker 77 // VA_ARG (VA_LIST Marker, var arg size) - Use Marker to get an argum net from77 // VA_ARG (VA_LIST Marker, var arg size) - Use Marker to get an argument from 78 78 // the ... list. You must know the size and pass it in this macro. 79 79 // … … 137 137 138 138 /// 139 /// ALIGN_POINTER - aligns a pointer to the lowest bound ry139 /// ALIGN_POINTER - aligns a pointer to the lowest boundary 140 140 /// 141 141 #define ALIGN_POINTER(p, s) ((VOID *) ((UINTN)(p) + (((s) - ((UINTN) (p))) & ((s) - 1)))) 142 142 143 143 /// 144 /// ALIGN_VARIABLE - aligns a variable up to the next natural bound ry for int size of a processor144 /// ALIGN_VARIABLE - aligns a variable up to the next natural boundary for int size of a processor 145 145 /// 146 146 #define ALIGN_VARIABLE(Value, Adjustment) \ -
trunk/src/VBox/Devices/EFI/tools/include/Common/PiFirmwareFile.h
r23119 r33540 211 211 212 212 // 213 // Leaf section which con stains the position-independent-code image.213 // Leaf section which contains the position-independent-code image. 214 214 // 215 215 typedef EFI_COMMON_SECTION_HEADER EFI_TE_SECTION; -
trunk/src/VBox/Devices/EFI/tools/include/Common/UefiBaseTypes.h
r23119 r33540 22 22 23 23 // 24 // Basic aldata type definitions introduced in UEFI.24 // Basic data type definitions introduced in UEFI. 25 25 // 26 26 typedef struct { -
trunk/src/VBox/Devices/EFI/tools/include/Ia32/ProcessorBind.h
r23119 r33540 55 55 56 56 // 57 // ASSERT(FALSE) or while (TRUE) are legal construct es so supress this warning57 // ASSERT(FALSE) or while (TRUE) are legal constructs so suppress this warning 58 58 // 59 59 #pragma warning ( disable : 4127 ) … … 71 71 72 72 // 73 // use Microsoft* C comp lier dependent interger width types73 // use Microsoft* C compiler dependent integer width types 74 74 // 75 75 typedef unsigned __int64 UINT64; … … 142 142 // Modifier to ensure that all protocol member functions and EFI intrinsics 143 143 // use the correct C calling convention. All protocol member functions and 144 // EFI intrinsics are required to modify th ier member functions with EFIAPI.144 // EFI intrinsics are required to modify their member functions with EFIAPI. 145 145 // 146 146 #if _MSC_EXTENSIONS -
trunk/src/VBox/Devices/EFI/tools/include/IndustryStandard/PeImage.h
r23119 r33540 105 105 #define EFI_IMAGE_FILE_RELOCS_STRIPPED 0x0001 // Relocation info stripped from file. 106 106 #define EFI_IMAGE_FILE_EXECUTABLE_IMAGE 0x0002 // File is executable (i.e. no unresolved externel references). 107 #define EFI_IMAGE_FILE_LINE_NUMS_STRIPPED 0x0004 // Line nu nbers stripped from file.107 #define EFI_IMAGE_FILE_LINE_NUMS_STRIPPED 0x0004 // Line numbers stripped from file. 108 108 #define EFI_IMAGE_FILE_LOCAL_SYMS_STRIPPED 0x0008 // Local symbols stripped from file. 109 109 #define EFI_IMAGE_FILE_BYTES_REVERSED_LO 0x0080 // Bytes of machine word are reversed. … … 309 309 310 310 // 311 // This is just to make sure you can cross compile with the EBC compi iler.311 // This is just to make sure you can cross compile with the EBC compiler. 312 312 // It does not make sense to have a PE loader coded in EBC. You need to 313 313 // understand the basic -
trunk/src/VBox/Devices/EFI/tools/include/X64/ProcessorBind.h
r23119 r33540 57 57 58 58 // 59 // ASSERT(FALSE) or while (TRUE) are legal construct es so supress this warning59 // ASSERT(FALSE) or while (TRUE) are legal constructs so suppress this warning 60 60 // 61 61 #pragma warning ( disable : 4127 ) … … 74 74 75 75 // 76 // use Microsoft C comp lier dependent interger width types76 // use Microsoft C compiler dependent integer width types 77 77 // 78 78 typedef unsigned __int64 UINT64; … … 161 161 // Modifier to ensure that all protocol member functions and EFI intrinsics 162 162 // use the correct C calling convention. All protocol member functions and 163 // EFI intrinsics are required to modify th ier member functions with EFIAPI.163 // EFI intrinsics are required to modify their member functions with EFIAPI. 164 164 // 165 165 #if _MSC_EXTENSIONS 166 166 /// 167 /// Define the standard calling convention reg uardless of optimization level.167 /// Define the standard calling convention regardless of optimization level. 168 168 /// __cdecl is Microsoft* specific C extension. 169 169 /// … … 171 171 #elif __GNUC__ 172 172 /// 173 /// Define the standard calling convention reg uardless of optimization level.173 /// Define the standard calling convention regardless of optimization level. 174 174 /// efidecl is an extension to GCC that supports the differnece between x64 175 175 /// GCC ABI and x64 Microsoft* ABI. EFI is closer to the Microsoft* ABI and
Note:
See TracChangeset
for help on using the changeset viewer.