blob: faf5343ea5098d71b4ac4bb7c5f04fb127a79e20 [file] [log] [blame]
#include "kvm/bios.h"
#include "kvm/e820.h"
#include <asm/processor-flags.h>
bioscall void int15_handler(struct biosregs *regs)
{
switch (regs->eax) {
case 0xe820:
e820_query_map(regs);
break;
default:
/* Set CF to indicate failure. */
regs->eflags |= X86_EFLAGS_CF;
break;
}
}