diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-05-21 16:45:21 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-05-21 16:45:21 +0200 |
commit | 4d8ac521eb8ec4a99e597659b553133010c44963 (patch) | |
tree | d319acfc38bb5722cd1c940612261610c2a04a56 /linuxboot.c | |
parent | 20b9dd75c8525003bd53243f52766dde9daace46 (diff) | |
download | qboot-4d8ac521eb8ec4a99e597659b553133010c44963.zip qboot-4d8ac521eb8ec4a99e597659b553133010c44963.tar.gz qboot-4d8ac521eb8ec4a99e597659b553133010c44963.tar.bz2 |
save one instruction :)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'linuxboot.c')
-rw-r--r-- | linuxboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxboot.c b/linuxboot.c index 9671fd7..0e7fe37 100644 --- a/linuxboot.c +++ b/linuxboot.c @@ -138,7 +138,7 @@ asm("pm16_boot_linux:" "mov %bx, %fs; mov %bx, %gs; mov %bx, %ss;" "mov %dx, %sp;" "add $0x20, %bx; pushw %bx;" // push CS - "xor %eax, %eax; pushw %ax;" // push IP + "pushw %ax;" // push IP "xor %ebx, %ebx;" "xor %ecx, %ecx;" "xor %edx, %edx;" |