VirtualBox

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

*: spelling fixes, thanks Timeless!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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);
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