]> git.proxmox.com Git - mirror_qemu.git/commit - hw/pc.h
pc_memory_init: Move memory calculation to the caller.
authorAnthony PERARD <anthony.perard@citrix.com>
Mon, 11 Apr 2011 18:48:11 +0000 (19:48 +0100)
committerAlexander Graf <agraf@suse.de>
Sun, 8 May 2011 08:10:00 +0000 (10:10 +0200)
commite0e7e67b455afa254356acdac1254653f6eed47b
tree6ff69bc3127b6d18f72f7e898a08168bf3893cdb
parent3285cf4fe78b4b83b70b9306cc97968b414a6e9d
pc_memory_init: Move memory calculation to the caller.

This patch moves above_4g_mem_size and below_4g_mem_size calculation in
the caller of pc_memory_init (pc_init1). And the prototype of
pc_memory_init is changed because there is no need anymore to have
variable pointer and the ram_size parameter.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/pc.c
hw/pc.h
hw/pc_piix.c