ppc_oldworld: configure screen size from qemu command line options

This patch uses the FW_CFG interface to send user requested screen size
and depth to openbios.

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Laurent Vivier 2009-08-08 10:19:24 +00:00 committed by Blue Swirl
parent 8194f35a0c
commit 7f1aec5f93
2 changed files with 8 additions and 0 deletions

View file

@ -42,3 +42,6 @@ enum {
ARCH_HEATHROW,
};
#define FW_CFG_PPC_WIDTH (FW_CFG_ARCH_LOCAL + 0x00)
#define FW_CFG_PPC_HEIGHT (FW_CFG_ARCH_LOCAL + 0x01)
#define FW_CFG_PPC_DEPTH (FW_CFG_ARCH_LOCAL + 0x02)