1. 07 May, 2019 2 commits
  2. 02 May, 2019 2 commits
    • Heinrich Schuchardt's avatar
      efi_loader: implement support of exit data · 556d8dc9
      Heinrich Schuchardt authored
      
      
      In case of a failure exit data may be passed to Exit() which in turn is
      returned by StartImage().
      
      Let the `bootefi` command print the exit data string in case of an error.
      Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
      556d8dc9
    • Heinrich Schuchardt's avatar
      efi_loader: optional data in load options are binary · 39a1ff8c
      Heinrich Schuchardt authored
      
      
      The field boot OptionalData in structure _EFI_LOAD_OPTIONS is for binary
      data.
      
      When we use `efidebug boot add` we should convert the 5th argument from
      UTF-8 to UTF-16 before putting it into the BootXXXX variable.
      
      When printing boot variables with `efidebug boot dump` we should support
      the OptionalData being arbitrary binary data. So let's dump the data as
      hexadecimal values.
      
      Here is an example session protocol:
      
      => efidebug boot add 00a1 label1 scsi 0:1 doit1 'my option'
      => efidebug boot add 00a2 label2 scsi 0:1 doit2
      => efidebug boot dump
      Boot00A0:
        attributes: A-- (0x00000001)
        label: label1
        file_path: .../HD(1,MBR,0xeac4e18b,0x800,0x3fffe)/doit1
        data:
          00000000: 6d 00 79 00 20 00 6f 00 70 00 74 00 69 00 6f 00  m.y. .o.p.t.i.o.
          00000010: 6e 00 00 00                                      n...
      Boot00A1:
        attributes: A-- (0x00000001)
        label: label2
        file_path: .../HD(1,MBR,0xeac4e18b,0x800,0x3fffe)/doit2
        data:
      Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
      39a1ff8c
  3. 22 Apr, 2019 2 commits
  4. 12 Apr, 2019 1 commit
  5. 07 Apr, 2019 3 commits
  6. 16 Feb, 2019 3 commits
  7. 13 Feb, 2019 5 commits
  8. 02 Dec, 2018 5 commits
  9. 16 Oct, 2018 1 commit
  10. 23 Sep, 2018 6 commits
  11. 20 Aug, 2018 1 commit
  12. 25 Jul, 2018 5 commits
  13. 02 Jul, 2018 1 commit
  14. 03 Jun, 2018 2 commits
  15. 29 May, 2018 1 commit