Apple fixes.
* grub-core/lib/i386/relocator16.S: Use correct __APPLE__ and not __APPLE_ * grub-core/lib/i386/relocator_common.S [__APPLE__]: Fix gdtdesc definition. * grub-core/lib/i386/relocator64.S [__APPLE__]: Assemble jmp manually.
This commit is contained in:
parent
9f3fc8835f
commit
489509f40e
4 changed files with 17 additions and 2 deletions
|
@ -58,7 +58,7 @@ LOCAL(cont0):
|
|||
LOCAL(jump_vector_offset) = LOCAL(jump_vector) - LOCAL(base)
|
||||
LOCAL(gdt_offset) = LOCAL(gdt) - LOCAL(base)
|
||||
LOCAL(gdt_addr_offset) = LOCAL(gdt_addr) - LOCAL(base)
|
||||
LOCAL(gdtdesc_offset) = LOCAL(gdt_addr) - LOCAL(base)
|
||||
LOCAL(gdtdesc_offset) = LOCAL(gdtdesc) - LOCAL(base)
|
||||
|
||||
lea LOCAL(cont1_offset) (RSI, 1), RAX
|
||||
movl %eax, LOCAL(jump_vector_offset) (RSI, 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue