bios: Add bios stubs generated from assembly files
commit03876141da071a4cff9288c5ceacd82a91815e60
authorCyrill Gorcunov <gorcunov@gmail.com>
Thu, 1 Apr 2010 17:23:18 +0000 (1 21:23 +0400)
committerCyrill Gorcunov <gorcunov@gmail.com>
Thu, 1 Apr 2010 18:34:46 +0000 (1 22:34 +0400)
tree094c327d812d1f104bbe2b30bcbb1b80685f6e73
parent441e5cb49d11935f92ab0c99f9cbea2fcb2d24d1
bios: Add bios stubs generated from assembly files

We substitute hardcoded fake bios handlers with ones generated
from assembly sources. This way we may extend them if needed.

In particular new int0x10 handler just write output into video
guest memory so the node machine may read the output anytime
it needs (though, to be fair, the kernel uses int0x10 only once
at bootup procedure if there was an attempt to boot directly
from disk/floppy, any other output is done via video port I/O
which is not implemented yet).

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
tools/kvm/Makefile
tools/kvm/bios/int10.S [new file with mode: 0644]
tools/kvm/bios/intfake.S [new file with mode: 0644]
tools/kvm/include/kvm/assembly.h [new file with mode: 0644]
tools/kvm/include/kvm/bios.h
tools/kvm/include/kvm/interrupt.h
tools/kvm/kvm.c