diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-07-24 10:05:06 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-07-24 10:21:46 +0200 |
commit | c476b5c67199b44523084b7639a4ff52f437156b (patch) | |
tree | d7dcf0422e39bd4f0d15b2c11d4155f677e2ce9a /code16.c | |
parent | 35e3627d3a252b3b5ff57439f27f3d86a3741c67 (diff) | |
download | qboot-c476b5c67199b44523084b7639a4ff52f437156b.zip qboot-c476b5c67199b44523084b7639a4ff52f437156b.tar.gz qboot-c476b5c67199b44523084b7639a4ff52f437156b.tar.bz2 |
clear CF on entry to BIOS handlers
This simplifies the success case, which never has to manipulate
the carry flag.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'code16.c')
-rw-r--r-- | code16.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -69,9 +69,6 @@ bioscall void e820_query_map(struct biosregs *regs) regs->ecx = sizeof(struct e820entry); regs->ebx = ++ndx; - /* Clear CF to indicate success. */ - regs->eflags &= ~X86_EFLAGS_CF; - if (ndx >= map_size) regs->ebx = 0; /* end of map */ } |