Skip to content
Permalink
Browse files

add PE EFI subsystem support

  • Loading branch information...
pbatard committed Aug 18, 2016
1 parent 9976280 commit 81bb4f1ab18cc5e1358d1ee53707575f6b912604
Showing with 6 additions and 0 deletions.
  1. +6 −0 include/format/format.inc
@@ -62,6 +62,9 @@ macro format? clause
else match =on? stub :, seq
PE.Settings.Stub = stub
break
else match =EFI? more, seq
PE.Settings.Subsystem = IMAGE_SUBSYSTEM_EFI_APPLICATION
redefine seq more
else
err 'invalid argument'
break
@@ -132,6 +135,9 @@ macro format? clause
else match =on? stub :, seq
PE.Settings.Stub = stub
break
else match =EFI? more, seq
PE.Settings.Subsystem = IMAGE_SUBSYSTEM_EFI_APPLICATION
redefine seq more
else
err 'invalid argument'
break

0 comments on commit 81bb4f1

Please sign in to comment.
You can’t perform that action at this time.