VirtualBox

Changeset 33540 in vbox for trunk/src/VBox/Devices/EFI


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
Files:
48 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/DevEFI.cpp

    r32720 r33540  
    581581{
    582582    /*
    583      * Sections headers are lays at the begining of block it describes,
    584      * the first section header is located immidiately after FFS header.
     583     * Sections headers are lays at the beginning of block it describes,
     584     * the first section header is located immediately after FFS header.
    585585     */
    586586    EFI_FILE_SECTION_POINTER uSecHdrPtr;
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/Include/DevEFI.h

    r28800 r33540  
    2929 */
    3030
    31 /** The base of the I/O ports used for interfaction between the EFI firmware and DevEFI. */
     31/** The base of the I/O ports used for interaction between the EFI firmware and DevEFI. */
    3232#define EFI_PORT_BASE           0xEF10
    3333/** The number of ports. */
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/Include/IndustryStandard/PeImage.h

    r26446 r33540  
    9898#define EFI_IMAGE_FILE_RELOCS_STRIPPED      BIT0     ///< 0x0001  Relocation info stripped from file.
    9999#define EFI_IMAGE_FILE_EXECUTABLE_IMAGE     BIT1     ///< 0x0002  File is executable  (i.e. no unresolved externel references).
    100 #define EFI_IMAGE_FILE_LINE_NUMS_STRIPPED   BIT2     ///< 0x0004  Line nunbers stripped from file.
     100#define EFI_IMAGE_FILE_LINE_NUMS_STRIPPED   BIT2     ///< 0x0004  Line numbers stripped from file.
    101101#define EFI_IMAGE_FILE_LOCAL_SYMS_STRIPPED  BIT3     ///< 0x0008  Local symbols stripped from file.
    102102#define EFI_IMAGE_FILE_BYTES_REVERSED_LO    BIT7     ///< 0x0080  Bytes of machine word are reversed.
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/Include/Library/GenericBdsLib.h

    r26446 r33540  
    33    1) BDS boot policy interface
    44    2) BDS boot device connect interface
    5     3) BDS Misc interfaces for mainting boot variable, ouput string.
     5    3) BDS Misc interfaces for maintaining boot variable, output string.
    66
    77Copyright (c) 2004 - 2009, Intel Corporation. <BR>
     
    114114  @param  Option                 The boot option to be processed
    115115  @param  DevicePath             The device path describing where to load the
    116                                  boot image or the legcy BBS device path to boot
     116                                 boot image or the legacy BBS device path to boot
    117117                                 the legacy OS
    118118  @param  ExitDataSize           The size of exit data.
     
    362362
    363363//
    364 // Bds connect and disconnect driver lib funcions
     364// Bds connect and disconnect driver lib functions
    365365//
    366366/**
     
    629629  Delete all the invalid legacy boot options.
    630630
    631   @retval EFI_SUCCESS             All invalide legacy boot options are deleted.
     631  @retval EFI_SUCCESS             All invalid legacy boot options are deleted.
    632632  @retval EFI_OUT_OF_RESOURCES    Fail to allocate necessary memory.
    633633  @retval EFI_NOT_FOUND           Fail to retrieve variable of boot order.
     
    661661  @retval EFI_SUCCESS           The boot devices are added successfully.
    662662  @retval EFI_NOT_FOUND         The legacy boot devices are not found.
    663   @retval EFI_OUT_OF_RESOURCES  Memmory or storage is not enough.
     663  @retval EFI_OUT_OF_RESOURCES  Memory or storage is not enough.
    664664  @retval EFI_DEVICE_ERROR      Fail to add the legacy device boot order into EFI variable
    665665                                because of hardware error.
     
    687687
    688688/**
    689   Delete the Boot Option from EFI Variable. The Boot Order Arrray
     689  Delete the Boot Option from EFI Variable. The Boot Order Array
    690690  is also updated.
    691691
     
    852852  @param  HardDriveDevicePath    EFI Device Path to boot, if it starts with a hard
    853853                                 drive media device path.
    854   @return A Pointer to the full device path or NULL if a valid Hard Drive devic path
     854  @return A Pointer to the full device path or NULL if a valid Hard Drive device path
    855855          cannot be found.
    856856
     
    951951  This function checks if a Fv file device path is valid, according to a file GUID. If it is invalid,
    952952  it tries to return the valid device path.
    953   FV address maybe changes for memory layout adjust from time to time, use this funciton
     953  FV address maybe changes for memory layout adjust from time to time, use this function
    954954  could promise the Fv file device path is right.
    955955
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/Include/Library/PeCoffLib.h

    r26446 r33540  
    338338
    339339/**
    340   Reapply fixups on a fixed up PE32/PE32+ image to allow virutal calling at EFI
     340  Reapply fixups on a fixed up PE32/PE32+ image to allow virtual calling at EFI
    341341  runtime.
    342342 
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/Include/VBoxMemLayout.h

    r28800 r33540  
    11/* $Id$ */
    22/** @file
    3  * VBoxMemLayou.h - Constants defining the memory layout. (Merge with DevEFI?)
     3 * VBoxMemLayout.h - Constants defining the memory layout. (Merge with DevEFI?)
    44 */
    55
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/Library/VBoxGenericBdsLib/BdsBoot.c

    r29125 r33540  
    3838
    3939///
    40 /// This GUID is used for an EFI Variable that stores the front device pathes
     40/// This GUID is used for an EFI Variable that stores the front device paths
    4141/// for a partial device path that starts with the HD node.
    4242///
     
    242242
    243243  //
    244   // If the boot option point to Internal FV shell, make sure it is valid
     244  // If the boot option points to Internal FV shell, make sure it is valid
    245245  //
    246246  Status = BdsLibUpdateFvFileDevicePath (&DevicePath, PcdGetPtr(PcdShellFile));
     
    356356  DEBUG((DEBUG_INFO, "%a:%d LoadingImage '%s' - %r\n", __FILE__, __LINE__, DevPathToTxt->ConvertDevicePathToText(DevicePath, TRUE, FALSE), Status));
    357357  //
    358   // If we didn't find an image directly, we need to try as if it is a removable device boot opotion
     358  // If we didn't find an image directly, we need to try as if it is a removable device boot option
    359359  // and load the image according to the default boot behavior for removable device.
    360360  //
     
    461461  @param  HardDriveDevicePath    EFI Device Path to boot, if it starts with a hard
    462462                                 drive media device path.
    463   @return A Pointer to the full device path or NULL if a valid Hard Drive devic path
     463  @return A Pointer to the full device path or NULL if a valid Hard Drive device path
    464464          cannot be found.
    465465
     
    14671467  if (EFI_ERROR (Status)) {
    14681468    //
    1469     // Skip the case that the boot option point to a simple file protocol which does not consume block Io protocol,
     1469    // Skip the case that the boot option points to a simple file protocol which does not consume block Io protocol,
    14701470    //
    14711471    Status = gBS->LocateDevicePath (&gEfiSimpleFileSystemProtocolGuid, &UpdatedDevicePath, &Handle);
     
    17731773
    17741774/**
    1775   Check whether the Device path in a boot option point to a valid bootable device,
     1775  Check whether the Device path in a boot option points to a valid bootable device,
    17761776  And if CheckMedia is true, check the device is ready to boot now.
    17771777
     
    17941794
    17951795/**
    1796   Check whether the Device path in a boot option point to a valid bootable device,
     1796  Check whether the Device path in a boot option points to a valid bootable device,
    17971797  And if CheckMedia is true, check the device is ready to boot now.
    17981798  If Description is not NULL and the device path point to a fixed BlockIo
     
    18631863
    18641864  //
    1865   // If the boot option point to a file, it is a valid EFI boot option,
     1865  // If the boot option points to a file, it is a valid EFI boot option,
    18661866  // and assume it is ready to boot now
    18671867  //
     
    18801880  if (EfiGetNameGuidFromFwVolDevicePathNode ((MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *) LastDeviceNode) != NULL) {
    18811881    //
    1882     // If the boot option point to Internal FV shell, make sure it is valid
     1882    // If the boot option points to Internal FV shell, make sure it is valid
    18831883    //
    18841884    TempDevicePath = DevPath;
     
    18951895
    18961896  //
    1897   // If the boot option point to a blockIO device:
     1897  // If the boot option points to a blockIO device:
    18981898  //    if it is a removable blockIo device, it is valid.
    18991899  //    if it is a fixed blockIo device, check its description confliction.
     
    19311931  } else {
    19321932    //
    1933     // if the boot option point to a simple file protocol which does not consume block Io protocol, it is also a valid EFI boot option,
     1933    // if the boot option points to a simple file protocol which does not consume block Io protocol, it is also a valid EFI boot option,
    19341934    //
    19351935    Status = gBS->LocateDevicePath (&gEfiSimpleFileSystemProtocolGuid, &TempDevicePath, &Handle);
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/Library/VBoxGenericBdsLib/BdsConnect.c

    r29125 r33540  
    312312  Connects all drivers to all controllers.
    313313  This function make sure all the current system driver will manage
    314   the correspoinding controllers if have. And at the same time, make
     314  the corresponding controllers if have. And at the same time, make
    315315  sure all the system controllers have driver to manage it if have.
    316316
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/Library/VBoxGenericBdsLib/BdsConsole.c

    r29125 r33540  
    8383  @param  ConsoleGuid        Specified Console protocol GUID.
    8484  @param  ConsoleHandle      On IN,  console handle in System Table to be checked.
    85                              On OUT, new console hanlde in system table.
     85                             On OUT, new console handle in system table.
    8686  @param  ProtocolInterface  On IN,  console protocol on console handle in System Table to be checked.
    87                              On OUT, new console protocol on new console hanlde in system table.
     87                             On OUT, new console protocol on new console handle in system table.
    8888
    8989  @retval TRUE               System Table has been updated.
     
    184184
    185185  //
    186   // No any available console devcie found.
     186  // No any available console device found.
    187187  //
    188188  return FALSE;
     
    405405      if (EFI_ERROR (Status)) {
    406406        //
    407         // Delete the instance from the console varialbe
     407        // Delete the instance from the console variable
    408408        //
    409409        BdsLibUpdateConsoleVariable (ConVarName, NULL, Instance);
     
    427427/**
    428428  This function will search every simpletext device in current system,
    429   and make every simpletext device as pertantial console device.
     429  and make every simpletext device as a potential console device.
    430430
    431431**/
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/Library/VBoxGenericBdsLib/BdsMisc.c

    r33110 r33540  
    153153/**
    154154  Get the Option Number that does not used.
    155   Try to locate the specific option variable one by one utile find a free number.
     155  Try to locate the specific option variable one by one until find a free number.
    156156
    157157  @param  VariableName          Indicate if the boot#### or driver#### option
     
    12021202/**
    12031203
    1204   This routine is a notification function for legayc boot or exit boot
     1204  This routine is a notification function for legacy boot or exit boot
    12051205  service event. It will adjust the memory information for different
    12061206  memory type and save them into the variables for next boot.
     
    12791279
    12801280    //
    1281     // Write next varible to 125% * current and Inconsistent Memory Reserved across bootings may lead to S4 fail
     1281    // Write next variable to 125% * current and Inconsistent Memory Reserved across bootings may lead to S4 fail
    12821282    //
    12831283    if (Current > Previous) {
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/Library/VBoxGenericBdsLib/DevicePath.c

    r29125 r33540  
    9898  @param Str             The buffer holding the output string.
    9999                         This buffer contains the length of the
    100                          string and the maixmum length reserved
     100                         string and the maximum length reserved
    101101                         for the string buffer.
    102102  @param DevPath         The device path.
     
    120120  @param Str             The buffer holding the output string.
    121121                         This buffer contains the length of the
    122                          string and the maixmum length reserved
     122                         string and the maximum length reserved
    123123                         for the string buffer.
    124124  @param DevPath         The device path.
     
    142142  @param Str             The buffer holding the output string.
    143143                         This buffer contains the length of the
    144                          string and the maixmum length reserved
     144                         string and the maximum length reserved
    145145                         for the string buffer.
    146146  @param DevPath         The device path.
     
    170170  @param Str             The buffer holding the output string.
    171171                         This buffer contains the length of the
    172                          string and the maixmum length reserved
     172                         string and the maximum length reserved
    173173                         for the string buffer.
    174174  @param DevPath         The device path.
     
    313313  @param Str             The buffer holding the output string.
    314314                         This buffer contains the length of the
    315                          string and the maixmum length reserved
     315                         string and the maximum length reserved
    316316                         for the string buffer.
    317317  @param DevPath         The device path.
     
    339339  @param Str             The buffer holding the output string.
    340340                         This buffer contains the length of the
    341                          string and the maixmum length reserved
     341                         string and the maximum length reserved
    342342                         for the string buffer.
    343343  @param DevPath         The device path.
     
    457457  @param Str             The buffer holding the output string.
    458458                         This buffer contains the length of the
    459                          string and the maixmum length reserved
     459                         string and the maximum length reserved
    460460                         for the string buffer.
    461461  @param DevPath         The device path.
     
    489489  @param Str             The buffer holding the output string.
    490490                         This buffer contains the length of the
    491                          string and the maixmum length reserved
     491                         string and the maximum length reserved
    492492                         for the string buffer.
    493493  @param DevPath         The device path.
     
    516516  @param Str             The buffer holding the output string.
    517517                         This buffer contains the length of the
    518                          string and the maixmum length reserved
     518                         string and the maximum length reserved
    519519                         for the string buffer.
    520520  @param DevPath         The device path.
     
    538538  @param Str             The buffer holding the output string.
    539539                         This buffer contains the length of the
    540                          string and the maixmum length reserved
     540                         string and the maximum length reserved
    541541                         for the string buffer.
    542542  @param DevPath         The device path.
     
    560560  @param Str             The buffer holding the output string.
    561561                         This buffer contains the length of the
    562                          string and the maixmum length reserved
     562                         string and the maximum length reserved
    563563                         for the string buffer.
    564564  @param DevPath         The device path.
     
    582582  @param Str             The buffer holding the output string.
    583583                         This buffer contains the length of the
    584                          string and the maixmum length reserved
     584                         string and the maximum length reserved
    585585                         for the string buffer.
    586586  @param DevPath         The device path.
     
    604604  @param Str             The buffer holding the output string.
    605605                         This buffer contains the length of the
    606                          string and the maixmum length reserved
     606                         string and the maximum length reserved
    607607                         for the string buffer.
    608608  @param DevPath         The device path.
     
    632632  @param Str             The buffer holding the output string.
    633633                         This buffer contains the length of the
    634                          string and the maixmum length reserved
     634                         string and the maximum length reserved
    635635                         for the string buffer.
    636636  @param DevPath         The device path.
     
    654654  @param Str             The buffer holding the output string.
    655655                         This buffer contains the length of the
    656                          string and the maixmum length reserved
     656                         string and the maximum length reserved
    657657                         for the string buffer.
    658658  @param DevPath         The device path.
     
    684684  @param Str             The buffer holding the output string.
    685685                         This buffer contains the length of the
    686                          string and the maixmum length reserved
     686                         string and the maximum length reserved
    687687                         for the string buffer.
    688688  @param DevPath         The device path.
     
    721721  @param Str             The buffer holding the output string.
    722722                         This buffer contains the length of the
    723                          string and the maixmum length reserved
     723                         string and the maximum length reserved
    724724                         for the string buffer.
    725725  @param DevPath         The device path.
     
    743743  @param Str             The buffer holding the output string.
    744744                         This buffer contains the length of the
    745                          string and the maixmum length reserved
     745                         string and the maximum length reserved
    746746                         for the string buffer.
    747747  @param DevPath         The device path.
     
    779779  @param Str             The buffer holding the output string.
    780780                         This buffer contains the length of the
    781                          string and the maixmum length reserved
     781                         string and the maximum length reserved
    782782                         for the string buffer.
    783783  @param DevPath         The device path.
     
    809809  @param Str             The buffer holding the output string.
    810810                         This buffer contains the length of the
    811                          string and the maixmum length reserved
     811                         string and the maximum length reserved
    812812                         for the string buffer.
    813813  @param DevPath         The device path.
     
    850850  @param Str             The buffer holding the output string.
    851851                         This buffer contains the length of the
    852                          string and the maixmum length reserved
     852                         string and the maximum length reserved
    853853                         for the string buffer.
    854854  @param DevPath         The device path.
     
    880880  @param Str             The buffer holding the output string.
    881881                         This buffer contains the length of the
    882                          string and the maixmum length reserved
     882                         string and the maximum length reserved
    883883                         for the string buffer.
    884884  @param DevPath         The device path.
     
    965965  @param Str             The buffer holding the output string.
    966966                         This buffer contains the length of the
    967                          string and the maixmum length reserved
     967                         string and the maximum length reserved
    968968                         for the string buffer.
    969969  @param DevPath         The device path.
     
    10081008  @param Str             The buffer holding the output string.
    10091009                         This buffer contains the length of the
    1010                          string and the maixmum length reserved
     1010                         string and the maximum length reserved
    10111011                         for the string buffer.
    10121012  @param DevPath         The device path.
     
    10581058  @param Str             The buffer holding the output string.
    10591059                         This buffer contains the length of the
    1060                          string and the maixmum length reserved
     1060                         string and the maximum length reserved
    10611061                         for the string buffer.
    10621062  @param DevPath         The device path.
     
    10801080  @param Str             The buffer holding the output string.
    10811081                         This buffer contains the length of the
    1082                          string and the maixmum length reserved
     1082                         string and the maximum length reserved
    10831083                         for the string buffer.
    10841084  @param DevPath         The device path.
     
    11021102  @param Str             The buffer holding the output string.
    11031103                         This buffer contains the length of the
    1104                          string and the maixmum length reserved
     1104                         string and the maximum length reserved
    11051105                         for the string buffer.
    11061106  @param DevPath         The device path.
     
    11241124  @param Str             The buffer holding the output string.
    11251125                         This buffer contains the length of the
    1126                          string and the maixmum length reserved
     1126                         string and the maximum length reserved
    11271127                         for the string buffer.
    11281128  @param DevPath         The device path.
     
    11461146  @param Str             The buffer holding the output string.
    11471147                         This buffer contains the length of the
    1148                          string and the maixmum length reserved
     1148                         string and the maximum length reserved
    11491149                         for the string buffer.
    11501150  @param DevPath         The device path.
     
    11731173  @param Str             The buffer holding the output string.
    11741174                         This buffer contains the length of the
    1175                          string and the maixmum length reserved
     1175                         string and the maximum length reserved
    11761176                         for the string buffer.
    11771177  @param DevPath         The device path.
     
    12291229  @param Str             The buffer holding the output string.
    12301230                         This buffer contains the length of the
    1231                          string and the maixmum length reserved
     1231                         string and the maximum length reserved
    12321232                         for the string buffer.
    12331233  @param DevPath         The device path.
     
    12481248  @param Str             The buffer holding the output string.
    12491249                         This buffer contains the length of the
    1250                          string and the maixmum length reserved
     1250                         string and the maximum length reserved
    12511251                         for the string buffer.
    12521252  @param DevPath         The device path.
     
    15381538    }
    15391539    //
    1540     //  Put a path seperator in if needed
     1540    //  Put a path separator in if needed
    15411541    //
    15421542    if ((Str.Len != 0) && (DumpNode != DevPathEndInstance)) {
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/Library/VBoxGenericBdsLib/Performance.c

    r29125 r33540  
    4040
    4141/**
    42   Get the short verion of PDB file name to be
     42  Get the short version of PDB file name to be
    4343  used in performance data logging.
    4444
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/Library/VBoxGenericBdsLib/VBoxGenericBdsLib.inf

    r29125 r33540  
    2020#  1) BDS boot policy interface;
    2121#  2) BDS boot device connect interface;
    22 #  3) BDS Misc interfaces for mainting boot variable, ouput string, etc.
     22#  3) BDS Misc interfaces for maintaining boot variable, output string, etc.
    2323
    2424#  Copyright (c) 2007 - 2009, Intel Corporation. <BR>
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/Library/VBoxPeCoffLib/BasePeCoff.c

    r29081 r33540  
    13251325
    13261326/**
    1327   Reapply fixups on a fixed up PE32/PE32+ image to allow virutal calling at EFI
     1327  Reapply fixups on a fixed up PE32/PE32+ image to allow virtual calling at EFI
    13281328  runtime.
    13291329
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxAppleSim/ConsoleControl.h

    r30013 r33540  
    11/* $Id$ */
    22/** @file
    3  * ConsonleControl.h
     3 * ConsoleControl.h
    44 */
    55
     
    7171  Arguments:
    7272    This         - Protocol instance pointer.
    73     Mode         - Are we in text of grahics mode.
    74     GopUgaExists - TRUE if Console Spliter has found a GOP or UGA device
     73    Mode         - Are we in text of graphics mode.
     74    GopUgaExists - TRUE if Console Splitter has found a GOP or UGA device
    7575    StdInLocked  - TRUE if StdIn device is keyboard locked
    7676
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxAppleSim/VBoxAppleSim.inf

    r29070 r33540  
    11# $Id$
    22## @file
    3 # VBoxAppleSim - VBox Apple intrefaces simulation support.
     3# VBoxAppleSim - VBox Apple interfaces simulation support.
    44#
    55
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxFsDxe/fsw_core.h

    r29125 r33540  
    337337    fsw_u64     used_bytes;         //!< Bytes actually used by the file on disk
    338338    void        (*store_time_posix)(struct fsw_dnode_stat *sb, int which, fsw_u32 posix_time);   //!< Callback for storing a Posix-style timestamp
    339     void        (*store_attr_posix)(struct fsw_dnode_stat *sb, fsw_u16 posix_mode);   //!< Callbock for storing a Posix-style file mode
     339    void        (*store_attr_posix)(struct fsw_dnode_stat *sb, fsw_u16 posix_mode);   //!< Callback for storing a Posix-style file mode
    340340    void        *host_data;         //!< Hook for a host-specific data structure
    341341};
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxFsDxe/fsw_efi.h

    r29125 r33540  
    8888    EFI_FILE                    FileHandle;     //!< Published EFI protocol interface structure
    8989
    90     UINTN                       Type;           //!< File type used for dispatchinng
     90    UINTN                       Type;           //!< File type used for dispatching
    9191    struct fsw_shandle          shand;          //!< FSW handle for this file
    9292
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxFsDxe/fsw_hfs.c

    r29125 r33540  
    77 * Current limitations:
    88 *  - Doesn't support permissions
    9  *  - Complete Unicode case-insenstivness disabled (large tables)
     9 *  - Complete Unicode case-insensitiveness disabled (large tables)
    1010 *  - No links
    1111 *  - Only supports pure HFS+ (i.e. no HFS, or HFS+ embedded to HFS)
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxFsDxe/fsw_iso9660.c

    r29125 r33540  
    537537    //  has opened a storage handle to the directory's storage and keeps it around between
    538538    //  calls.
    539     /* (vasily) direcory nodes are 4096 bytes that is two logical blocks so read dir operation
     539    /* (vasily) directory nodes are 4096 bytes that is two logical blocks so read dir operation
    540540     * should read both blocks.
    541541     */
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxFsDxe/fsw_lib.c

    r29125 r33540  
    325325#if 0
    326326    /*
    327      * Uncomment this along with above huuuge table (fsw_lower_case_table)
     327     * Uncomment this along with above huge table (fsw_lower_case_table)
    328328     * for full UTF-16 case insensitivity
    329329     */
     
    459459
    460460/**
    461  * Splits a string at the first occurence of the separator character.
     461 * Splits a string at the first occurrence of the separator character.
    462462 * The buffer string is searched for the separator character. If it is found, the
    463463 * element string descriptor is filled to point at the part of the buffer string
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxFsDxe/hfs_format.h

    r29125 r33540  
    6464 *
    6565 * This file describes the on-disk format for HFS and HFS Plus volumes.
    66  * The HFS Plus volume format is desciibed in detail in Apple Technote 1150.
     66 * The HFS Plus volume format is described in detail in Apple Technote 1150.
    6767 *
    6868 * http://developer.apple.com/technotes/tn/tn1150.html
     
    517517
    518518/*
    519  * Atrributes B-tree Data Record
     519 * Attributes B-tree Data Record
    520520 *
    521521 * For small attributes, whose entire value is stored
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxIdeBusDxe/Ata.c

    r33027 r33540  
    3030  @par Revision Reference:
    3131  2002-6: Add Atapi6 enhancement, support >120GB hard disk, including
    32   update - ATAIdentity() func
     32  update - ATAIdentify() func
    3333  update - AtaBlockIoReadBlocks() func
    3434  update - AtaBlockIoWriteBlocks() func
     
    5151  @retval EFI_SUCCESS       The disk specified by IdeDev is a Atapi6 supported one and
    5252                            48-bit addressing must be used
    53   @retval EFI_UNSUPPORTED   The disk dosn't not support Atapi6 or it supports but the
     53  @retval EFI_UNSUPPORTED   The disk doesn't not support Atapi6 or it supports but the
    5454                            capacity is below 120G, 48bit addressing is not needed
    5555  @retval  EFI_DEVICE_ERROR      The identify data in IdeDev is incorrect
     
    8585  if ((Atapi6IdentifyStruct->AtapiData.cmd_set_support_83 & BIT10) == 0) {
    8686    //
    87     // The device dosn't support 48 bit addressing
     87    // The device doesn't support 48 bit addressing
    8888    //
    8989    return EFI_UNSUPPORTED;
     
    575575
    576576  //
    577   // used to record bytes of currently transfered data
     577  // used to record bytes of currently transferred data
    578578  //
    579579  WordCount = 0;
     
    11411141  Protocol, supporting ATA/ATAPI-6 standard
    11421142
    1143   Comparing with ATA-3 data in protocol, we have two differents here:
     1143  Comparing with ATA-3 data in protocol, we have two differences here:
    11441144  1. Do NOT wait for DRQ clear before sending command into IDE device.(the
    11451145  wait will frequently fail... cause writing function return error)
    11461146
    1147   2. Do NOT wait for DRQ clear after all data readed.(the wait greatly
     1147  2. Do NOT wait for DRQ clear after all data read.(the wait greatly
    11481148  slow down writing performance by 100 times!)
    11491149
     
    11541154  @param AtaCommand   value of the Command Register
    11551155  @param StartLba     the start LBA of this transaction
    1156   @param SectorCount  the count of sectors to be transfered
     1156  @param SectorCount  the count of sectors to be transferred
    11571157
    11581158  @retval EFI_SUCCESS      send out the ATA command and device send required data successfully.
     
    11971197
    11981198  //
    1199   // Wait for DRDY singnal asserting. ATAPI device needn't wait
     1199  // Wait for DRDY signal asserting. ATAPI device needn't wait
    12001200  //
    12011201  if ( (IdeDev->Type == IdeHardDisk)  ||
     
    12591259
    12601260  //
    1261   // used to record bytes of currently transfered data
     1261  // used to record bytes of currently transferred data
    12621262  //
    12631263  WordCount = 0;
     
    16401640      //
    16411641      //  SectorCount is used to record the number of sectors to be read
    1642       //  Max 65536 sectors can be transfered at a time.
     1642      //  Max 65536 sectors can be transferred at a time.
    16431643      //
    16441644      NumberOfBlocks = MaxDmaCommandSectors;
     
    20052005      //
    20062006      //  SectorCount is used to record the number of sectors to be read
    2007       //  Max 65536 sectors can be transfered at a time.
     2007      //  Max 65536 sectors can be transferred at a time.
    20082008      //
    20092009      SectorCount = 0xffff;
     
    21252125  if (IdeBlkIoDevice->Type == Ide48bitAddressingHardDisk) {
    21262126    //
    2127     // For ATA/ATAPI-6 device(capcity > 120GB), use ATA-6 read block mechanism
     2127    // For ATA/ATAPI-6 device(capacity > 120GB), use ATA-6 read block mechanism
    21282128    //
    21292129    if (IdeBlkIoDevice->UdmaMode.Valid) {
     
    21552155  PIO Data Out Protocol, supporting ATA/ATAPI-6 standard
    21562156
    2157   Comparing with ATA-3 data out protocol, we have two differents here:<BR>
     2157  Comparing with ATA-3 data out protocol, we have two differences here:<BR>
    21582158  1. Do NOT wait for DRQ clear before sending command into IDE device.(the
    21592159  wait will frequently fail... cause writing function return error)
    21602160
    2161   2. Do NOT wait for DRQ clear after all data readed.(the wait greatly
     2161  2. Do NOT wait for DRQ clear after all data read.(the wait greatly
    21622162  slow down writing performance by 100 times!)
    21632163
     
    21682168  @param AtaCommand   value of the Command Register
    21692169  @param StartLba     the start LBA of this transaction
    2170   @param SectorCount  the count of sectors to be transfered
     2170  @param SectorCount  the count of sectors to be transferred
    21712171
    21722172  @retval EFI_SUCCESS      send out the ATA command and device receive required
     
    22122212
    22132213  //
    2214   // Wait for DRDY singnal asserting.
     2214  // Wait for DRDY signal asserting.
    22152215  //
    22162216  Status = DRDYReady (IdeDev, ATATIMEOUT);
     
    22662266
    22672267  //
    2268   // used to record bytes of currently transfered data
     2268  // used to record bytes of currently transferred data
    22692269  //
    22702270  WordCount = 0;
     
    23972397      //
    23982398      //  SectorCount is used to record the number of sectors to be written.
    2399       //  Max 65536 sectors can be transfered at a time.
     2399      //  Max 65536 sectors can be transferred at a time.
    24002400      //
    24012401      SectorCount = 0xffff;
     
    25122512  if (IdeBlkIoDevice->Type == Ide48bitAddressingHardDisk) {
    25132513    //
    2514     // For ATA/ATAPI-6 device(capcity > 120GB), use ATA-6 write block mechanism
     2514    // For ATA/ATAPI-6 device(capacity > 120GB), use ATA-6 write block mechanism
    25152515    //
    25162516    if (IdeBlkIoDevice->UdmaMode.Valid) {
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxIdeBusDxe/Atapi.c

    r33027 r33540  
    257257
    258258  //
    259   // No data transfer is premitted.
     259  // No data transfer is permitted.
    260260  //
    261261  if (ByteCount == 0) {
     
    264264  //
    265265  // for performance, we assert the ByteCount is an even number
    266   // which is actually a resonable assumption 
     266  // which is actually a reasonable assumption 
    267267  ASSERT((ByteCount%2) == 0);
    268268 
     
    846846    //
    847847    // We limit MAX sense data count to 20 in order to avoid dead loop. Some
    848     // incompatible ATAPI devices don't retrive NO_SENSE when there is no media.
     848    // incompatible ATAPI devices don't retrieve NO_SENSE when there is no media.
    849849    // In this case, dead loop occurs if we don't have a gatekeeper. 20 is
    850850    // supposed to be large enough for any ATAPI device.
     
    11541154  //
    11551155  // the Get Media Status Command is only valid
    1156   // if a Set Features/Enable Media Status Command has been priviously issued.
     1156  // if a Set Features/Enable Media Status Command has been previously issued.
    11571157  //
    11581158  if (LS120GetMediaStatus (IdeDev) == EFI_WRITE_PROTECTED) {
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxIdeBusDxe/DriverConfiguration.c

    r33027 r33540  
    5252
    5353/**
    54   Interprete keyboard input.
    55 
    56   @retval  EFI_ABORTED  Get an 'ESC' key inputed.
    57   @retval  EFI_SUCCESS  Get an 'Y' or 'y' inputed.
    58   @retval  EFI_NOT_FOUND Get an 'N' or 'n' inputed..
     54  Interpret keyboard input.
     55
     56  @retval  EFI_ABORTED  Get an 'ESC' key inputted.
     57  @retval  EFI_SUCCESS  Get an 'Y' or 'y' inputted.
     58  @retval  EFI_NOT_FOUND Get an 'N' or 'n' inputted..
    5959
    6060**/
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxIdeBusDxe/DriverDiagnostics.c

    r33027 r33540  
    1717
    1818/** @file
    19   Implementation of UEFI driver Dialnostics protocol which to perform diagnostic on the IDE
     19  Implementation of UEFI driver Diagnostics protocol which to perform diagnostic on the IDE
    2020  Bus controller.
    2121 
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxIdeBusDxe/Ide.c

    r33114 r33540  
    1717
    1818/** @file
    19   The file ontaining the helper functions implement of the Ide Bus driver
     19  The file containing the helper functions implement of the Ide Bus driver
    2020 
    2121  Copyright (c) 2006 - 2008, Intel Corporation
     
    9292
    9393  //
    94   // Prepare an 16-bit alligned working buffer. CpuIo will return failure and
     94  // Prepare an 16-bit aligned working buffer. CpuIo will return failure and
    9595  // not perform actual I/O operations if buffer pointer passed in is not at
    9696  // natural boundary. The "Buffer" argument is passed in by user and may not
     
    205205
    206206  //
    207   // Prepare an 16-bit alligned working buffer. CpuIo will return failure and
     207  // Prepare an 16-bit aligned working buffer. CpuIo will return failure and
    208208  // not perform actual I/O operations if buffer pointer passed in is not at
    209209  // natural boundary. The "Buffer" argument is passed in by user and may not
     
    291291  @retval EFI_UNSUPPORTED return this value when the BARs is not IO type
    292292  @retval EFI_SUCCESS     Get the Base address successfully
    293   @retval other           read the pci configureation data error
     293  @retval other           read the pci configuration data error
    294294
    295295**/
     
    410410  probably switch between native and legacy modes during the EFI->CSM->OS
    411411  transfer. We do this everytime before an BlkIo operation to ensure its
    412   succeess.
     412  success.
    413413
    414414  @param  IdeDev The BLK_IO private data which specifies the IDE device
     
    12341234
    12351235  //
    1236   // Release all the resourses occupied by the IDE_BLK_IO_DEV
     1236  // Release all the resources occupied by the IDE_BLK_IO_DEV
    12371237  //
    12381238
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxIdeBusDxe/Ide.h

    r33027 r33540  
    174174  @retval EFI_UNSUPPORTED return this value when the BARs is not IO type
    175175  @retval EFI_SUCCESS     Get the Base address successfully
    176   @retval other           read the pci configureation data error
     176  @retval other           read the pci configuration data error
    177177
    178178**/
     
    187187  probably switch between native and legacy modes during the EFI->CSM->OS
    188188  transfer. We do this everytime before an BlkIo operation to ensure its
    189   succeess.
     189  success.
    190190
    191191  @param  IdeDev The BLK_IO private data which specifies the IDE device
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxIdeBusDxe/IdeBus.c

    r33027 r33540  
    3131
    3232  @par Revision Reference:
    33   This module is modified from DXE\IDE module for Ide Contriller Init support
     33  This module is modified from DXE\IDE module for Ide Controller Init support
    3434
    3535**/
     
    5959  @param  Handle Handle of device to deregister driver on
    6060
    61   @retval EFI_SUCCESS  Deregiter a specific IDE device successfully
     61  @retval EFI_SUCCESS  Deregister a specific IDE device successfully
    6262
    6363
     
    475475    //
    476476    // If RemainingDevicePath is the End of Device Path Node,
    477     // skip enumerate any device and return EFI_SUCESSS
     477    // skip enumerate any device and return EFI_SUCCESS
    478478    //
    479479    BeginningIdeChannel = IdeMaxChannel;
     
    744744
    745745      //
    746       // Set supported DMA mode on this IDE device. Note that UDMA & MDMA cann't
     746      // Set supported DMA mode on this IDE device. Note that UDMA & MDMA cannot
    747747      // be set together. Only one DMA mode can be set to a device. If setting
    748748      // DMA mode operation fails, we can continue moving on because we only use
     
    840840
    841841      //
    842       // Report status code: device eanbled!
     842      // Report status code: device enabled!
    843843      //
    844844      REPORT_STATUS_CODE_WITH_DEVICE_PATH (
     
    12591259  Flushes all modified data to a physical block devices
    12601260
    1261   @param  This  Indicates a pointer to the calling context which to sepcify a
    1262                 sepcific block device
     1261  @param  This  Indicates a pointer to the calling context which to specify a
     1262                specific block device
    12631263
    12641264  @retval EFI_SUCCESS   Always return success.
     
    12871287  @retval EFI_NOT_FOUND         Device does not support this data class
    12881288  @retval EFI_DEVICE_ERROR      Error reading InquiryData from device
    1289   @retval EFI_BUFFER_TOO_SMALL  IntquiryDataSize not big enough
     1289  @retval EFI_BUFFER_TOO_SMALL  InquiryDataSize not big enough
    12901290
    12911291**/
     
    14181418
    14191419  @param  Event   Pointer to this event
    1420   @param  Context Event hanlder private data
     1420  @param  Context Event handler private data
    14211421
    14221422**/
     
    14601460
    14611461  //
    1462   // Get base address of IDE Bus Master Status Regsiter
     1462  // Get base address of IDE Bus Master Status Register
    14631463  //
    14641464  if (IdePrimary == IdeDev->Channel) {
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxIdeBusDxe/IdeBus.h

    r33027 r33540  
    445445  Flushes all modified data to a physical block devices
    446446
    447   @param  This  Indicates a pointer to the calling context which to sepcify a
    448                 sepcific block device
     447  @param  This  Indicates a pointer to the calling context which to specify a
     448                specific block device
    449449
    450450  @retval EFI_SUCCESS   Always return success.
     
    466466  @retval EFI_NOT_FOUND         Device does not support this data class
    467467  @retval EFI_DEVICE_ERROR      Error reading InquiryData from device
    468   @retval EFI_BUFFER_TOO_SMALL  IntquiryDataSize not big enough
     468  @retval EFI_BUFFER_TOO_SMALL  InquiryDataSize not big enough
    469469
    470470**/
     
    546546
    547547  @param  Event   Pointer to this event
    548   @param  Context Event hanlder private data
     548  @param  Context Event handler private data
    549549
    550550**/
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxIdeControllerDxe/IdeController.c

    r33212 r33540  
    9696    model. It's called by StartImage() of DXE Core
    9797   
    98   Argments:
    99  
    100     ImageHnadle  -- While the driver image loaded be the ImageLoader(),
     98  Arguments:
     99 
     100    ImageHandle  -- While the driver image loaded be the ImageLoader(),
    101101                    an image handle is assigned to this driver binary,
    102102                    all activities of the driver is tied to this ImageHandle
     
    104104                    RT(Runtime Services)
    105105
    106   Retruns:
    107  
    108     Always call EfiLibInstallDriverBindingProtocol( ) and retrun the result
     106  Returns:
     107 
     108    Always call EfiLibInstallDriverBindingProtocol( ) and return the result
    109109
    110110--*/
     
    467467
    468468  This function is called by IdeBus driver to disqualify unsupported operation
    469   mode on specfic IDE device
     469  mode on specific IDE device
    470470
    471471Arguments:
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxMisc/efi-app/Readme.txt

    r32404 r33540  
    1717Here could be some help how to manage files on efi-app ISO
    1818
    19 VBoxInterceptor - intercepts calls to gBS and gRT, outputs a lot of traffics to dev_efi.e.l2, (please be pacient ;))
     19VBoxInterceptor - intercepts calls to gBS and gRT, outputs a lot of traffics to dev_efi.e.l2, (please be patient ;))
    2020    Shell> load VBoxInterceptor.efi
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxPkg.dsc

    r33028 r33540  
    407407  # PCD module loaded in the middle of space grub supposed to load
    408408  # boot images.
    409   # this base address choosen looking at
     409  # this base address chosen looking at
    410410  # Shell> memmap
    411411  # in the place where Image.c locates the rest of the modules.
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxPkgOSE.dsc

    r32394 r33540  
    404404  # PCD module loaded in the middle of space grub supposed to load
    405405  # boot images.
    406   # this base address choosen looking at
     406  # this base address chosen looking at
    407407  # Shell> memmap
    408408  # in the place where Image.c locates the rest of the modules.
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxSysTables/LegacyBiosMpTable.h

    r29081 r33540  
    3434
    3535Abstract:
    36   Defives data structures per Multi Processor Specification Ver 1.4.
     36  Defines data structures per Multi Processor Specification Ver 1.4.
    3737
    3838--*/
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxSysTables/TableConversion.c

    r29081 r33540  
    6969
    7070  Returns:
    71   EFI_SUCEESS - Convert Table successfully
     71  EFI_SUCCESS - Convert Table successfully
    7272  Other       - Failed
    7373
     
    109109  Routine Description:
    110110
    111   Convert Smbios Table if the Location of the SMBios Table is lower than Addres 0x100000
     111  Convert Smbios Table if the Location of the SMBios Table is lower than Address 0x100000
    112112  Assumption here:
    113113  As in legacy Bios, Smbios table is required to place in E/F Seg,
     
    118118
    119119  Returns:
    120   EFI_SUCEESS - Convert Table successfully
     120  EFI_SUCCESS - Convert Table successfully
    121121  Other       - Failed
    122122
     
    195195  Routine Description:
    196196
    197   Convert MP Table if the Location of the SMBios Table is lower than Addres 0x100000
     197  Convert MP Table if the Location of the SMBios Table is lower than Address 0x100000
    198198  Assumption here:
    199199  As in legacy Bios, MP table is required to place in E/F Seg,
     
    204204
    205205  Returns:
    206   EFI_SUCEESS - Convert Table successfully
     206  EFI_SUCCESS - Convert Table successfully
    207207  Other       - Failed
    208208
     
    306306
    307307  Returns:
    308   EFI_SUCEESS - Convert Table successfully
     308  EFI_SUCCESS - Convert Table successfully
    309309  Other       - Failed
    310310
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxVgaDxe/VBoxVga.c

    r33086 r33540  
    346346  PciAttributesSaved = FALSE;
    347347  //
    348   // Allocate Private context data for UGA Draw inteface.
     348  // Allocate Private context data for UGA Draw interface.
    349349  //
    350350  Private = AllocateZeroPool (sizeof (VBOX_VGA_PRIVATE_DATA));
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxVgaDxe/VBoxVgaGraphicsOutput.c

    r29081 r33540  
    3434Abstract:
    3535
    36   This file produces the graphics abstration of Graphics Output Protocol. It is called by
     36  This file produces the graphics abstraction of Graphics Output Protocol. It is called by
    3737  VBoxVga.c file which deals with the EFI 1.1 driver model.
    3838  This file just does graphics.
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxVgaDxe/VBoxVgaI2c.c

    r29081 r33540  
    143143
    144144/**
    145   Read/write delay acoording to I2C Bus Speed.
     145  Read/write delay according to I2C Bus Speed.
    146146
    147147**/
     
    296296  Read one byte data on I2C Bus.
    297297
    298   Read one byte data from the slave device connectet to I2C Bus.
     298  Read one byte data from the slave device connected to I2C Bus.
    299299  If Data is NULL, then ASSERT().
    300300
     
    381381  Write one byte data onto I2C Bus.
    382382
    383   Write one byte data to the slave device connectet to I2C Bus.
     383  Write one byte data to the slave device connected to I2C Bus.
    384384  If Data is NULL, then ASSERT().
    385385
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxVgaDxe/VBoxVgaI2c.h

    r29081 r33540  
    4040  Read one byte data on I2C Bus.
    4141
    42   Read one byte data from the slave device connectet to I2C Bus.
     42  Read one byte data from the slave device connected to I2C Bus.
    4343  If Data is NULL, then ASSERT().
    4444
     
    6464  Write one byte data onto I2C Bus.
    6565
    66   Write one byte data to the slave device connectet to I2C Bus.
     66  Write one byte data to the slave device connected to I2C Bus.
    6767  If Data is NULL, then ASSERT().
    6868
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxVgaDxe/VBoxVgaUgaDraw.c

    r29081 r33540  
    1919  This code is based on:
    2020
    21   This file produces the graphics abstration of UGA Draw. It is called by
     21  This file produces the graphics abstraction of UGA Draw. It is called by
    2222  VBoxVga.c file which deals with the EFI 1.1 driver model.
    2323  This file just does graphics.
  • trunk/src/VBox/Devices/EFI/Firmware2/VBoxPkg/edk2.patch-idtgdt

    r29229 r33540  
    122122 
    123123@@ -1015,27 +1016,33 @@
    124    // Intialize IDT
     124   // Initialize IDT
    125125   //
    126126   CurrentHandler = (UINTN)AsmIdtVector00;
  • 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