VirtualBox

Ignore:
Timestamp:
Oct 28, 2010 9:27:05 AM (14 years ago)
Author:
vboxsync
Message:

*: spelling fixes, thanks Timeless!

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  
    2727
    2828//
    29 // Modifiers to absract standard types to aid in debug of problems
     29// Modifiers to abstract standard types to aid in debug of problems
    3030//
    3131#define CONST     const
     
    4040//
    4141// Some other envirnments use this construct, so #ifndef to prevent
    42 // mulitple definition.
     42// multiple definition.
    4343//
    4444#define IN
     
    5353//
    5454// BugBug: UEFI specification claims 1 and 0. We are concerned about the
    55 //  complier portability so we did it this way.
     55//  compiler portability so we did it this way.
    5656//
    5757#define TRUE  ((BOOLEAN)(1==1))
     
    7070// 
    7171//  Since we are using the ANSI standard we used the standard nameing and
    72 //  did not folow the coding convention
     72//  did not follow the coding convention
    7373//
    7474//  VA_LIST  - typedef for argument list.
    7575//  VA_START (VA_LIST Marker, argument before the ...) - Init Marker for use.
    7676//  VA_END (VA_LIST Marker) - Clear Marker
    77 //  VA_ARG (VA_LIST Marker, var arg size) - Use Marker to get an argumnet from
     77//  VA_ARG (VA_LIST Marker, var arg size) - Use Marker to get an argument from
    7878//    the ... list. You must know the size and pass it in this macro.
    7979//
     
    137137
    138138///
    139 ///  ALIGN_POINTER - aligns a pointer to the lowest boundry
     139///  ALIGN_POINTER - aligns a pointer to the lowest boundary
    140140///
    141141#define ALIGN_POINTER(p, s) ((VOID *) ((UINTN)(p) + (((s) - ((UINTN) (p))) & ((s) - 1))))
    142142
    143143///
    144 ///  ALIGN_VARIABLE - aligns a variable up to the next natural boundry for int size of a processor
     144///  ALIGN_VARIABLE - aligns a variable up to the next natural boundary for int size of a processor
    145145///
    146146#define ALIGN_VARIABLE(Value, Adjustment) \
  • trunk/src/VBox/Devices/EFI/tools/include/Common/PiFirmwareFile.h

    r23119 r33540  
    211211
    212212//
    213 // Leaf section which constains the position-independent-code image.
     213// Leaf section which contains the position-independent-code image.
    214214//
    215215typedef EFI_COMMON_SECTION_HEADER EFI_TE_SECTION;
  • trunk/src/VBox/Devices/EFI/tools/include/Common/UefiBaseTypes.h

    r23119 r33540  
    2222
    2323//
    24 // Basical data type definitions introduced in UEFI.
     24// Basic data type definitions introduced in UEFI.
    2525//
    2626typedef struct {
  • trunk/src/VBox/Devices/EFI/tools/include/Ia32/ProcessorBind.h

    r23119 r33540  
    5555
    5656//
    57 // ASSERT(FALSE) or while (TRUE) are legal constructes so supress this warning
     57// ASSERT(FALSE) or while (TRUE) are legal constructs so suppress this warning
    5858//
    5959#pragma warning ( disable : 4127 )
     
    7171   
    7272    //
    73     // use Microsoft* C complier dependent interger width types
     73    // use Microsoft* C compiler dependent integer width types
    7474    //
    7575    typedef unsigned __int64    UINT64;
     
    142142// Modifier to ensure that all protocol member functions and EFI intrinsics
    143143// use the correct C calling convention. All protocol member functions and
    144 // EFI intrinsics are required to modify thier member functions with EFIAPI.
     144// EFI intrinsics are required to modify their member functions with EFIAPI.
    145145//
    146146#if _MSC_EXTENSIONS
  • trunk/src/VBox/Devices/EFI/tools/include/IndustryStandard/PeImage.h

    r23119 r33540  
    105105#define EFI_IMAGE_FILE_RELOCS_STRIPPED      0x0001  // Relocation info stripped from file.
    106106#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 nunbers stripped from file.
     107#define EFI_IMAGE_FILE_LINE_NUMS_STRIPPED   0x0004  // Line numbers stripped from file.
    108108#define EFI_IMAGE_FILE_LOCAL_SYMS_STRIPPED  0x0008  // Local symbols stripped from file.
    109109#define EFI_IMAGE_FILE_BYTES_REVERSED_LO    0x0080  // Bytes of machine word are reversed.
     
    309309
    310310//
    311 // This is just to make sure you can cross compile with the EBC compiiler.
     311// This is just to make sure you can cross compile with the EBC compiler.
    312312// It does not make sense to have a PE loader coded in EBC. You need to
    313313// understand the basic
  • trunk/src/VBox/Devices/EFI/tools/include/X64/ProcessorBind.h

    r23119 r33540  
    5757
    5858//
    59 // ASSERT(FALSE) or while (TRUE) are legal constructes so supress this warning
     59// ASSERT(FALSE) or while (TRUE) are legal constructs so suppress this warning
    6060//
    6161#pragma warning ( disable : 4127 )
     
    7474
    7575    //
    76     // use Microsoft C complier dependent interger width types
     76    // use Microsoft C compiler dependent integer width types
    7777    //
    7878    typedef unsigned __int64    UINT64;
     
    161161// Modifier to ensure that all protocol member functions and EFI intrinsics
    162162// use the correct C calling convention. All protocol member functions and
    163 // EFI intrinsics are required to modify thier member functions with EFIAPI.
     163// EFI intrinsics are required to modify their member functions with EFIAPI.
    164164//
    165165#if _MSC_EXTENSIONS
    166166  ///
    167   /// Define the standard calling convention reguardless of optimization level.
     167  /// Define the standard calling convention regardless of optimization level.
    168168  /// __cdecl is Microsoft* specific C extension.
    169169  ///
     
    171171#elif __GNUC__
    172172  ///
    173   /// Define the standard calling convention reguardless of optimization level.
     173  /// Define the standard calling convention regardless of optimization level.
    174174  /// efidecl is an extension to GCC that supports the differnece between x64
    175175  /// GCC ABI and x64 Microsoft* ABI. EFI is closer to the Microsoft* ABI and
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