From: Mateusz Moscicki Date: Tue, 7 Aug 2018 10:00:17 +0000 (+0200) Subject: Support Aarch64 X-Git-Tag: submit/tizen/20180822.121814~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F42%2F186142%2F3;p=platform%2Fcore%2Fsystem%2Fcrash-worker.git Support Aarch64 Change-Id: Iad3979f7e5c73da9a35619c5a8a89f8a5257a780 Signed-off-by: Ɓukasz Stelmach --- diff --git a/src/crash-stack/crash-stack-aarch64.c b/src/crash-stack/crash-stack-aarch64.c index 3209356..7ce1be5 100644 --- a/src/crash-stack/crash-stack-aarch64.c +++ b/src/crash-stack/crash-stack-aarch64.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2016,2018 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. @@ -74,6 +74,11 @@ void *_get_place_for_register_value(const char *regname, int regnum) return NULL; } +unsigned long _get_register_value(int n) +{ + return g_registers.regs[n]; +} + #define PSR_MODE32_BIT 0x00000010 #define PSR_MODE_MASK 0x0000000f