@@ -344,9 +344,8 @@ impl BootServices {
344
344
/// This function returns errors directly from the UEFI function
345
345
/// `EFI_BOOT_SERVICES.AllocatePages()`.
346
346
///
347
- /// Some errors have multiple different causes. See the function definition
348
- /// in the UEFI Specification, Chapter 7.2 for more information on possible
349
- /// causes for each error type.
347
+ /// See the UEFI Specification, Chapter 7.2 for more information on each
348
+ /// error type.
350
349
///
351
350
/// * [`uefi::Status::OUT_OF_RESOURCES`]
352
351
/// * [`uefi::Status::INVALID_PARAMETER`]
@@ -372,8 +371,7 @@ impl BootServices {
372
371
/// This function returns errors directly from the UEFI function
373
372
/// `EFI_BOOT_SERVICES.FreePages()`.
374
373
///
375
- /// See the function definition in the UEFI Specification, Chapter 7.2 for
376
- /// more information on each error type.
374
+ /// See the UEFI Specification, Chapter 7.2 for more information on each error type.
377
375
///
378
376
/// * [`uefi::Status::NOT_FOUND`]
379
377
/// * [`uefi::Status::INVALID_PARAMETER`]
@@ -429,9 +427,8 @@ impl BootServices {
429
427
/// This function returns errors directly from the UEFI function
430
428
/// `EFI_BOOT_SERVICES.GetMemoryMap()`.
431
429
///
432
- /// Some errors have multiple different causes. See the function definition
433
- /// in the UEFI Specification, Chapter 7.2 for more information on possible
434
- /// causes for each error type.
430
+ /// See the UEFI Specification, Chapter 7.2 for more information on each error
431
+ /// type.
435
432
///
436
433
/// * [`uefi::Status::BUFFER_TOO_SMALL`]
437
434
/// * [`uefi::Status::INVALID_PARAMETER`]
@@ -483,9 +480,7 @@ impl BootServices {
483
480
/// This function returns errors directly from the UEFI function
484
481
/// `EFI_BOOT_SERVICES.AllocatePool()`.
485
482
///
486
- /// Some errors have multiple different causes. See the function definition
487
- /// in the UEFI Specification, Chapter 7.2 for more information on possible
488
- /// causes for each error type.
483
+ /// See the UEFI Specification, Chapter 7.2 for more information on each error type.
489
484
///
490
485
/// * [`uefi::Status::OUT_OF_RESOURCES`]
491
486
/// * [`uefi::Status::INVALID_PARAMETER`]
@@ -501,8 +496,7 @@ impl BootServices {
501
496
/// This function returns errors directly from the UEFI function
502
497
/// `EFI_BOOT_SERVICES.FreePool()`.
503
498
///
504
- /// See the function definition in the UEFI Specification, Chapter 7.2 for
505
- /// more information on this error type.
499
+ /// See the UEFI Specification, Chapter 7.2 for more details.
506
500
///
507
501
/// * [`uefi::Status::INVALID_PARAMETER`]
508
502
pub fn free_pool ( & self , addr : * mut u8 ) -> Result {
@@ -530,9 +524,8 @@ impl BootServices {
530
524
/// This function returns errors directly from the UEFI function
531
525
/// `EFI_BOOT_SERVICES.CreateEvent()`.
532
526
///
533
- /// Some errors have multiple different causes. See the function definition
534
- /// in the UEFI Specification, Chapter 7.1 for more information on possible
535
- /// causes for each error type.
527
+ /// See the UEFI Specification, Chapter 7.1 for more information on each
528
+ /// error type.
536
529
///
537
530
/// * [`uefi::Status::INVALID_PARAMETER`]
538
531
/// * [`uefi::Status::OUT_OF_RESOURCES`]
@@ -595,9 +588,7 @@ impl BootServices {
595
588
/// This function returns errors directly from the UEFI function
596
589
/// `EFI_BOOT_SERVICES.CreateEventEx()`.
597
590
///
598
- /// Some errors have multiple different causes. See the function definition
599
- /// in the UEFI Specification, Chapter 7.1 for more information on possible
600
- /// causes for each error type.
591
+ /// See the UEFI Specification, Chapter 7.1 for more information on each error type.
601
592
///
602
593
/// * [`uefi::Status::INVALID_PARAMETER`]
603
594
/// * [`uefi::Status::OUT_OF_RESOURCES`]
@@ -633,8 +624,7 @@ impl BootServices {
633
624
/// This function returns errors directly from the UEFI function
634
625
/// `EFI_BOOT_SERVICES.SetTimer()`.
635
626
///
636
- /// See the function definition in the UEFI Specification, Chapter 7.1 for more
637
- /// information on this error type.
627
+ /// See the UEFI Specification, Chapter 7.1 for more details.
638
628
///
639
629
/// * [`uefi::Status::INVALID_PARAMETER`]
640
630
pub fn set_timer ( & self , event : & Event , trigger_time : TimerTrigger ) -> Result {
@@ -679,9 +669,8 @@ impl BootServices {
679
669
/// This function returns errors directly from the UEFI function
680
670
/// `EFI_BOOT_SERVICES.WaitForEvent()`.
681
671
///
682
- /// Some errors have multiple different causes. See the function definition
683
- /// in the UEFI Specification, Chapter 7.1 for more information on possible
684
- /// causes for each error type.
672
+ /// See the UEFI Specification, Chapter 7.1 for more information on each
673
+ /// error type.
685
674
///
686
675
/// * [`uefi::Status::INVALID_PARAMETER`]
687
676
/// * [`uefi::Status::UNSUPPORTED`]
@@ -718,7 +707,7 @@ impl BootServices {
718
707
/// This function directly calls the UEFI function `EFI_BOOT_SERVICES.SignalEvent()`.
719
708
///
720
709
/// Currently, (as of UEFI Spec v2.9) this only returns `EFI_SUCCESS`.
721
- /// See the function definition in the UEFI Specification, Chapter 7.1 for more details.
710
+ /// See the UEFI Specification, Chapter 7.1 for more details.
722
711
pub fn signal_event ( & self , event : & Event ) -> Result {
723
712
// Safety: cloning this event should be safe, as we're directly passing it to firmware
724
713
// and not keeping the clone around.
@@ -737,7 +726,7 @@ impl BootServices {
737
726
/// at least for application based on EDK2 (such as OVMF), it may also return `EFI_INVALID_PARAMETER`.
738
727
/// To be safe, ensure that error codes are handled properly.
739
728
///
740
- /// See the function definition in the UEFI Specification, Chapter 7.1 for more details.
729
+ /// See the UEFI Specification, Chapter 7.1 for more details.
741
730
///
742
731
/// * [`uefi::Status::INVALID_PARAMETER`]
743
732
pub fn close_event ( & self , event : Event ) -> Result {
@@ -756,7 +745,7 @@ impl BootServices {
756
745
/// Note: Instead of returning the `EFI_NOT_READY` error from `EFI_BOOT_SERVICES.CheckEvent()`,
757
746
/// as listed in the UEFI Specification, this function will return `false`.
758
747
///
759
- /// See the function definition in the UEFI Specification, Chapter 7.1 for more details.
748
+ /// See the UEFI Specification, Chapter 7.1 for more details.
760
749
///
761
750
/// * [`uefi::Status::INVALID_PARAMETER`]
762
751
pub fn check_event ( & self , event : Event ) -> Result < bool > {
@@ -950,8 +939,7 @@ impl BootServices {
950
939
/// This function returns errors directly from the UEFI function
951
940
/// `EFI_BOOT_SERVICES.LocateDevicePath()`.
952
941
///
953
- /// Some errors have multiple different causes. See the function definition in the UEFI
954
- /// Specification, Chapter 7.3 for more information on possible causes for each error type.
942
+ /// See the UEFI Specification, Chapter 7.3 for more information on each error type.
955
943
///
956
944
/// * [`uefi::Status::NOT_FOUND`]
957
945
/// * [`uefi::Status::INVALID_PARAMETER`]
@@ -1252,9 +1240,8 @@ impl BootServices {
1252
1240
/// This function returns errors directly from the UEFI function
1253
1241
/// `EFI_BOOT_SERVICES.OpenProtocol()`.
1254
1242
///
1255
- /// Some errors have multiple different causes. See the function definition
1256
- /// in the UEFI Specification, Chapter 7.3 for more information on possible
1257
- /// causes for each error type.
1243
+ /// See the UEFI Specification, Chapter 7.3 for more information on
1244
+ /// each error type.
1258
1245
///
1259
1246
/// * [`uefi::Status::INVALID_PARAMETER`]
1260
1247
/// * [`uefi::Status::UNSUPPORTED`]
@@ -1298,9 +1285,8 @@ impl BootServices {
1298
1285
/// This function returns errors from the UEFI function
1299
1286
/// `EFI_BOOT_SERVICES.OpenProtocol()`.
1300
1287
///
1301
- /// Some errors have multiple different causes. See the function definition
1302
- /// in the UEFI Specification, Chapter 7.3 for more information on possible
1303
- /// causes for each error type.
1288
+ /// See the UEFI Specification, Chapter 7.3 for more
1289
+ /// information on each error type.
1304
1290
///
1305
1291
/// * [`uefi::Status::INVALID_PARAMETER`]
1306
1292
/// * [`uefi::Status::UNSUPPORTED`]
@@ -1332,9 +1318,8 @@ impl BootServices {
1332
1318
/// This function returns errors directly from the UEFI function
1333
1319
/// `EFI_BOOT_SERVICES.OpenProtocol()`.
1334
1320
///
1335
- /// Some errors have multiple different causes. See the function definition
1336
- /// in the UEFI Specification, Chapter 7.3 for more information on possible
1337
- /// causes for each error type.
1321
+ /// See the UEFI Specification, Chapter 7.3 for more information
1322
+ /// on each error type.
1338
1323
///
1339
1324
/// * [`uefi::Status::INVALID_PARAMETER`]
1340
1325
/// * [`uefi::Status::UNSUPPORTED`]
@@ -1362,9 +1347,8 @@ impl BootServices {
1362
1347
/// This function returns errors directly from the UEFI function
1363
1348
/// `EFI_BOOT_SERVICES.ProtocolsPerHandle()`.
1364
1349
///
1365
- /// Some errors have multiple different causes. See the function definition
1366
- /// in the UEFI Specification, Chapter 7.3 for more information on possible
1367
- /// causes for each error type.
1350
+ /// See the UEFI Specification, Chapter 7.3 for more information on each
1351
+ /// error type.
1368
1352
///
1369
1353
/// * [`uefi::Status::INVALID_PARAMETER`]
1370
1354
/// * [`uefi::Status::OUT_OF_RESOURCES`]
@@ -1402,9 +1386,7 @@ impl BootServices {
1402
1386
/// This function returns errors directly from the UEFI function
1403
1387
/// `EFI_BOOT_SERVICES.LocateHandleBuffer()`.
1404
1388
///
1405
- /// Some errors have multiple different causes. See the function definition
1406
- /// in the UEFI Specification, Chapter 7.3 for more information on possible
1407
- /// causes for each error type.
1389
+ /// See the UEFI Specification, Chapter 7.3 for more information on each error type.
1408
1390
///
1409
1391
/// * [`uefi::Status::INVALID_PARAMETER`]
1410
1392
/// * [`uefi::Status::NOT_FOUND`]
@@ -1512,8 +1494,7 @@ impl BootServices {
1512
1494
/// This function returns errors from the UEFI functions `EFI_BOOT_SERVICES.OpenProtocol()`
1513
1495
/// and `EFI_BOOT_SERVICES.LocateDevicePath()`.
1514
1496
///
1515
- /// Some errors have multiple different causes. See the function definitions in the UEFI
1516
- /// Specification, Chapter 7.3 for more information on possible causes for each error type.
1497
+ /// See the UEFI Specification, Chapter 7.3 for more information on each error type.
1517
1498
///
1518
1499
/// * [`uefi::Status::INVALID_PARAMETER`]
1519
1500
/// * [`uefi::Status::UNSUPPORTED`]
0 commit comments