From d7cea9b4df048a3b5da68710a5b62efe082fb447 Mon Sep 17 00:00:00 2001 From: Lutz Helwing Date: Tue, 23 Jun 2015 18:32:44 +0200 Subject: Added core dump handler code Fixed author Doxygen tag Added licence headers Moved return value definition to new header Converted all DOS line endings to Unix Solution for CPU dependency by using CMAKE_SYSTEM_PROCESSOR cmake variable CPU specific stuff is implemented in own implementation file for each CPU architecture Added config file for sysctl. Fixed wrong parameters to open call for lockfile Added mechanism to overwrite TARGET_CPU_NAME with command line option Signed-off-by: Alexander Wenzel --- src/core_dump_handler/dlt_cdh_cpuinfo.h | 35 +++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/core_dump_handler/dlt_cdh_cpuinfo.h (limited to 'src/core_dump_handler/dlt_cdh_cpuinfo.h') diff --git a/src/core_dump_handler/dlt_cdh_cpuinfo.h b/src/core_dump_handler/dlt_cdh_cpuinfo.h new file mode 100644 index 0000000..49fc6d0 --- /dev/null +++ b/src/core_dump_handler/dlt_cdh_cpuinfo.h @@ -0,0 +1,35 @@ +/* + * @licence app begin@ + * SPDX license identifier: MPL-2.0 + * + * Copyright (C) 2011-2015, BMW AG + * + * This file is part of GENIVI Project DLT - Diagnostic Log and Trace. + * + * This Source Code Form is subject to the terms of the + * Mozilla Public License (MPL), v. 2.0. + * If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. + * + * For further information see http://www.genivi.org/. + * @licence end@ + */ + +/*! + * \author Magneti Marelli http://www.magnetimarelli.com + * \author Lutz Helwing + * + * \copyright Copyright © 2011-2015 BMW AG. \n + * License MPL-2.0: Mozilla Public License version 2.0 http://mozilla.org/MPL/2.0/. + * + * \file dlt_cdh_cpuinfo.h + */ + +#ifndef DLT_CDH_CPUINFO_H +#define DLT_CDH_CPUINFO_H + +#include "dlt_cdh.h" + +void get_registers(prstatus_t* prstatus, cdh_registers_t* registers); + +#endif /* DLT_CDH_CPUINFO_H */ -- cgit v1.2.1