Convert linux bootrom to external rom and fw_cfg
commit57a46d0579951d7abbcbe86766f73afa93a5d370
authorAlexander Graf <agraf@suse.de>
Thu, 12 Nov 2009 20:53:14 +0000 (12 21:53 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 17 Nov 2009 16:39:03 +0000 (17 10:39 -0600)
treeee56e15268768c312ceedec591adabc4f26f9504
parentdd4b2659cda69cee6808ce4fcf4e2f3eeebd0b08
Convert linux bootrom to external rom and fw_cfg

We already have a working multiboot implementation that uses fw_cfg to get
its kernel module etc. data in int19 runtime now.

So what's missing is a working linux boot option rom. While at it I figured it
would be a good idea to take the opcode generator out of pc.c and instead use
a proper option rom, like we do with multiboot.

So here it is - an fw_cfg using option rom for -kernel with linux!

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/fw_cfg.h
hw/pc.c
pc-bios/linuxboot.bin [new file with mode: 0644]
pc-bios/optionrom/Makefile
pc-bios/optionrom/linuxboot.S [new file with mode: 0644]