diff options
Diffstat (limited to 'DuetPkg/BootSector/efi32.S')
-rw-r--r-- | DuetPkg/BootSector/efi32.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/DuetPkg/BootSector/efi32.S b/DuetPkg/BootSector/efi32.S index 11e53b2488..a9f100d47b 100644 --- a/DuetPkg/BootSector/efi32.S +++ b/DuetPkg/BootSector/efi32.S @@ -138,7 +138,7 @@ SectionLoop: movzwl (Idtr), %eax # get size of IDT
incl %eax
- addl 2(Idtr), %eax # add to base of IDT to get location of memory map...
+ addl (Idtr + 2), %eax # add to base of IDT to get location of memory map...
pushl %eax # push memory map location on stack for call to EFILDR...
pushl %eax # push return address (useless, just for stack balance)
|