@@ -287,15 +287,13 @@ impl InformationBuilder {
287
287
Self :: build_add_bytes ( bytes, & EndTag :: default ( ) . struct_as_bytes ( ) , true ) ;
288
288
}
289
289
290
- /// Adds a 'basic memory information' tag (represented by [`BasicMemoryInfoTag`]) to the builder to later build the
291
- /// boot information from.
290
+ /// Adds a 'basic memory information' tag (represented by [`BasicMemoryInfoTag`]) to the builder.
292
291
pub fn basic_memory_info_tag ( mut self , basic_memory_info_tag : BasicMemoryInfoTag ) -> Self {
293
292
self . basic_memory_info_tag = Some ( basic_memory_info_tag) ;
294
293
self
295
294
}
296
295
297
- /// Adds a 'bootloader name' tag (represented by [`BootLoaderNameTag`]) to the builder to later build the
298
- /// boot information from.
296
+ /// Adds a 'bootloader name' tag (represented by [`BootLoaderNameTag`]) to the builder.
299
297
pub fn bootloader_name_tag (
300
298
mut self ,
301
299
boot_loader_name_tag : BoxedDst < BootLoaderNameTag > ,
@@ -304,106 +302,92 @@ impl InformationBuilder {
304
302
self
305
303
}
306
304
307
- /// Adds a 'command line' tag (represented by [`CommandLineTag`]) to the builder to later build the
308
- /// boot information from.
305
+ /// Adds a 'command line' tag (represented by [`CommandLineTag`]) to the builder.
309
306
pub fn command_line_tag ( mut self , command_line_tag : BoxedDst < CommandLineTag > ) -> Self {
310
307
self . command_line_tag = Some ( command_line_tag) ;
311
308
self
312
309
}
313
310
314
- /// Adds a 'EFI 32-bit system table pointer' tag (represented by [`EFISdt32Tag`]) to the builder to later build the
315
- /// boot information from.
311
+ /// Adds a 'EFI 32-bit system table pointer' tag (represented by [`EFISdt32Tag`]) to the builder.
316
312
pub fn efisdt32_tag ( mut self , efisdt32 : EFISdt32Tag ) -> Self {
317
313
self . efisdt32_tag = Some ( efisdt32) ;
318
314
self
319
315
}
320
316
321
- /// Adds a 'EFI 64-bit system table pointer' tag (represented by [`EFISdt64Tag`]) to the builder to later build the
322
- /// boot information from.
317
+ /// Adds a 'EFI 64-bit system table pointer' tag (represented by [`EFISdt64Tag`]) to the builder.
323
318
pub fn efisdt64_tag ( mut self , efisdt64 : EFISdt64Tag ) -> Self {
324
319
self . efisdt64_tag = Some ( efisdt64) ;
325
320
self
326
321
}
327
322
328
- /// Adds a 'EFI boot services not terminated' tag (represented by [`EFIBootServicesNotExitedTag`]) to the builder
329
- /// to later build the boot information from.
323
+ /// Adds a 'EFI boot services not terminated' tag (represented by [`EFIBootServicesNotExitedTag`]) to the builder.
330
324
pub fn efi_boot_services_not_exited_tag ( mut self ) -> Self {
331
325
self . efi_boot_services_not_exited_tag = Some ( EFIBootServicesNotExitedTag :: new ( ) ) ;
332
326
self
333
327
}
334
328
335
- /// Adds a 'EFI 32-bit image handle pointer' tag (represented by [`EFIImageHandle32Tag`]) to the builder
336
- /// to later build the boot information from.
329
+ /// Adds a 'EFI 32-bit image handle pointer' tag (represented by [`EFIImageHandle32Tag`]) to the builder.
337
330
pub fn efi_image_handle32 ( mut self , efi_image_handle32 : EFIImageHandle32Tag ) -> Self {
338
331
self . efi_image_handle32 = Some ( efi_image_handle32) ;
339
332
self
340
333
}
341
334
342
- /// Adds a 'EFI 64-bit image handle pointer' tag (represented by [`EFIImageHandle64Tag`]) to the builder
343
- /// to later build the boot information from.
335
+ /// Adds a 'EFI 64-bit image handle pointer' tag (represented by [`EFIImageHandle64Tag`]) to the builder.
344
336
pub fn efi_image_handle64 ( mut self , efi_image_handle64 : EFIImageHandle64Tag ) -> Self {
345
337
self . efi_image_handle64 = Some ( efi_image_handle64) ;
346
338
self
347
339
}
348
340
349
- /// Adds a 'EFI Memory map' tag (represented by [`EFIMemoryMapTag`]) to the builder
350
- /// to later build the boot information from.
341
+ /// Adds a 'EFI Memory map' tag (represented by [`EFIMemoryMapTag`]) to the builder.
351
342
pub fn efi_memory_map_tag ( mut self , efi_memory_map_tag : BoxedDst < EFIMemoryMapTag > ) -> Self {
352
343
self . efi_memory_map_tag = Some ( efi_memory_map_tag) ;
353
344
self
354
345
}
355
346
356
- /// Adds a 'ELF-Symbols' tag (represented by [`ElfSectionsTag`]) to the builder
357
- /// to later build the boot information from.
347
+ /// Adds a 'ELF-Symbols' tag (represented by [`ElfSectionsTag`]) to the builder.
358
348
pub fn elf_sections_tag ( mut self , elf_sections_tag : BoxedDst < ElfSectionsTag > ) -> Self {
359
349
self . elf_sections_tag = Some ( elf_sections_tag) ;
360
350
self
361
351
}
362
352
363
- /// Adds a 'Framebuffer info' tag (represented by [`FramebufferTag`]) to the builder
364
- /// to later build the boot information from.
353
+ /// Adds a 'Framebuffer info' tag (represented by [`FramebufferTag`]) to the builder.
365
354
pub fn framebuffer_tag ( mut self , framebuffer_tag : BoxedDst < FramebufferTag > ) -> Self {
366
355
self . framebuffer_tag = Some ( framebuffer_tag) ;
367
356
self
368
357
}
369
358
370
- /// Adds a 'Image load base physical address' tag (represented by [`ImageLoadPhysAddrTag`]) to the builder
371
- /// to later build the boot information from.
359
+ /// Adds a 'Image load base physical address' tag (represented by [`ImageLoadPhysAddrTag`]) to the builder.
372
360
pub fn image_load_addr ( mut self , image_load_addr : ImageLoadPhysAddrTag ) -> Self {
373
361
self . image_load_addr = Some ( image_load_addr) ;
374
362
self
375
363
}
376
364
377
- /// Adds a (*none EFI*) 'memory map' tag (represented by [`MemoryMapTag`]) to the builder
378
- /// to later build the boot information from.
365
+ /// Adds a (*none EFI*) 'memory map' tag (represented by [`MemoryMapTag`]) to the builder.
379
366
pub fn memory_map_tag ( mut self , memory_map_tag : BoxedDst < MemoryMapTag > ) -> Self {
380
367
self . memory_map_tag = Some ( memory_map_tag) ;
381
368
self
382
369
}
383
370
384
- /// Adds a 'Modules' tag (represented by [`ModuleTag`]) to the builder
385
- /// to later build the boot information from. This tag can occur multiple times in boot information.
371
+ /// Adds a 'Modules' tag (represented by [`ModuleTag`]) to the builder.
372
+ /// This tag can occur multiple times in boot information.
386
373
pub fn add_module_tag ( mut self , module_tag : BoxedDst < ModuleTag > ) -> Self {
387
374
self . module_tags . push ( module_tag) ;
388
375
self
389
376
}
390
377
391
- /// Adds a 'ACPI old RSDP' tag (represented by [`RsdpV1Tag`]) to the builder
392
- /// to later build the boot information from.
378
+ /// Adds a 'ACPI old RSDP' tag (represented by [`RsdpV1Tag`]) to the builder.
393
379
pub fn rsdp_v1_tag ( mut self , rsdp_v1_tag : RsdpV1Tag ) -> Self {
394
380
self . rsdp_v1_tag = Some ( rsdp_v1_tag) ;
395
381
self
396
382
}
397
383
398
- /// Adds a 'ACPI new RSDP' tag (represented by [`RsdpV2Tag`]) to the builder
399
- /// to later build the boot information from.
384
+ /// Adds a 'ACPI new RSDP' tag (represented by [`RsdpV2Tag`]) to the builder.
400
385
pub fn rsdp_v2_tag ( mut self , rsdp_v2_tag : RsdpV2Tag ) -> Self {
401
386
self . rsdp_v2_tag = Some ( rsdp_v2_tag) ;
402
387
self
403
388
}
404
389
405
- /// Adds a 'SMBIOS tables' tag (represented by [`SmbiosTag`]) to the builder
406
- /// to later build the boot information from.
390
+ /// Adds a 'SMBIOS tables' tag (represented by [`SmbiosTag`]) to the builder.
407
391
pub fn add_smbios_tag ( mut self , smbios_tag : BoxedDst < SmbiosTag > ) -> Self {
408
392
self . smbios_tags . push ( smbios_tag) ;
409
393
self
0 commit comments