Fix boot when there's no TPM

If the firmware has TPM support but has no TPM, we're jumping to core.img
without popping the registers back onto the stack. Fix that.
This commit is contained in:
Matthew Garrett 2016-03-23 16:49:42 -07:00
parent 4ccc609994
commit c2eee36ec0

View file

@ -476,9 +476,9 @@ LOCAL(copy_buffer):
movl $0x8, %edx /* PCR 8 */ movl $0x8, %edx /* PCR 8 */
int $0x1A int $0x1A
boot:
popa popa
#endif #endif
boot:
/* boot kernel */ /* boot kernel */
jmp *(LOCAL(kernel_address)) jmp *(LOCAL(kernel_address))