From: Evgeny Voevodin Date: Mon, 17 Sep 2012 05:14:37 +0000 (+0400) Subject: tizen/src/hw/maru_arm_board.c: Remove ram dump for ARM. X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~1405^2~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d3a180dc6e5721c38340a371c31d358fd5149f59;p=sdk%2Femulator%2Fqemu.git tizen/src/hw/maru_arm_board.c: Remove ram dump for ARM. We need to return list of ram regions for ARM, so switch dump of ram off until we implement it (if needed). Signed-off-by: Evgeny Voevodin --- diff --git a/tizen/src/hw/maru_arm_board.c b/tizen/src/hw/maru_arm_board.c index 3566804afc..c4c656fc80 100644 --- a/tizen/src/hw/maru_arm_board.c +++ b/tizen/src/hw/maru_arm_board.c @@ -62,14 +62,6 @@ static struct arm_boot_info maru_arm_board_binfo = { .write_secondary_boot = maru_arm_write_secondary, }; -/* FIXME: This is a workaround to get get_ram_memory compiled for ARM */ -MemoryRegion *global_ram_memory; - -MemoryRegion *get_ram_memory(void) -{ - return global_ram_memory; -} - static void maru_arm_machine_init(ram_addr_t ram_size, const char *boot_device, const char *kernel_filename, diff --git a/tizen/src/skin/maruskin_operation.c b/tizen/src/skin/maruskin_operation.c index 9ca9b14e12..9042a0587c 100644 --- a/tizen/src/skin/maruskin_operation.c +++ b/tizen/src/skin/maruskin_operation.c @@ -424,7 +424,7 @@ void onoff_usb_kbd( int on ) #define MAX_PATH 256 static void dump_ram( void ) { -#if defined(CONFIG_LINUX) +#if defined(CONFIG_LINUX) && !defined(TARGET_ARM) /* FIXME: Handle ARM ram as list */ MemoryRegion* rm = get_ram_memory(); unsigned int size = rm->size.lo; char dump_fullpath[MAX_PATH];