repo.or.cz
/
linux-2.6
/
next.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
kvm tools: Add ivshmem device
[linux-2.6/next.git]
/
tools
/
kvm
/
bios
/
int15.c
blob
faf5343ea5098d71b4ac4bb7c5f04fb127a79e20
1
#include
"kvm/bios.h"
2
3
#include
"kvm/e820.h"
4
5
#include <asm/processor-flags.h>
6
7
bioscall
void
int15_handler
(
struct
biosregs
*
regs
)
8
{
9
switch
(
regs
->
eax
) {
10
case
0xe820
:
11
e820_query_map
(
regs
);
12
break
;
13
default
:
14
/* Set CF to indicate failure. */
15
regs
->
eflags
|=
X86_EFLAGS_CF
;
16
break
;
17
}
18
}