mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-19 09:45:43 -04:00
Support applying patches from terminal, closes #186
This commit is contained in:
parent
4bee991c94
commit
31ccb2a054
4 changed files with 98 additions and 3 deletions
|
@ -127,6 +127,10 @@ typedef size_t UINTN;
|
|||
#define PATCH_MODE_HEADER 0
|
||||
#define PATCH_MODE_BODY 1
|
||||
|
||||
// Patch from
|
||||
#define PATCH_FROM_FILE 0
|
||||
#define PATCH_FROM_ARG 1
|
||||
|
||||
// Patch types
|
||||
#define PATCH_TYPE_OFFSET 'O'
|
||||
#define PATCH_TYPE_PATTERN 'P'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue