aboutsummaryrefslogtreecommitdiff
path: root/hw/fw_cfg.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2009-11-12 21:53:14 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-11-17 10:39:03 -0600
commit57a46d0579951d7abbcbe86766f73afa93a5d370 (patch)
treeee56e15268768c312ceedec591adabc4f26f9504 /hw/fw_cfg.h
parentdd4b2659cda69cee6808ce4fcf4e2f3eeebd0b08 (diff)
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>
Diffstat (limited to 'hw/fw_cfg.h')
-rw-r--r--hw/fw_cfg.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/hw/fw_cfg.h b/hw/fw_cfg.h
index 1e004b7070..7070c94010 100644
--- a/hw/fw_cfg.h
+++ b/hw/fw_cfg.h
@@ -20,7 +20,13 @@
#define FW_CFG_KERNEL_ENTRY 0x10
#define FW_CFG_KERNEL_DATA 0x11
#define FW_CFG_INITRD_DATA 0x12
-#define FW_CFG_MAX_ENTRY 0x13
+#define FW_CFG_CMDLINE_ADDR 0x13
+#define FW_CFG_CMDLINE_SIZE 0x14
+#define FW_CFG_CMDLINE_DATA 0x15
+#define FW_CFG_SETUP_ADDR 0x16
+#define FW_CFG_SETUP_SIZE 0x17
+#define FW_CFG_SETUP_DATA 0x18
+#define FW_CFG_MAX_ENTRY 0x19
#define FW_CFG_WRITE_CHANNEL 0x4000
#define FW_CFG_ARCH_LOCAL 0x8000