summaryrefslogtreecommitdiffstats
path: root/systemservice/config/library/system_manager_config/include
diff options
context:
space:
mode:
Diffstat (limited to 'systemservice/config/library/system_manager_config/include')
-rwxr-xr-xsystemservice/config/library/system_manager_config/include/system_service/ss_access_if_private.h80
-rwxr-xr-xsystemservice/config/library/system_manager_config/include/system_service/ss_package.h65
-rwxr-xr-xsystemservice/config/library/system_manager_config/include/system_service/ss_system_manager_conf.h145
-rwxr-xr-xsystemservice/config/library/system_manager_config/include/system_service/system_manager_config.h26
4 files changed, 0 insertions, 316 deletions
diff --git a/systemservice/config/library/system_manager_config/include/system_service/ss_access_if_private.h b/systemservice/config/library/system_manager_config/include/system_service/ss_access_if_private.h
deleted file mode 100755
index 1753bf0..0000000
--- a/systemservice/config/library/system_manager_config/include/system_service/ss_access_if_private.h
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
- * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/**
- * @file ss_access_if_private.h
- * @brief \~english This file contains declaration of structures RAM_AccessPrivate and ROM_AccessPrivate
- */
-/** @addtogroup BaseSystem
- * @{
- */
-/** @addtogroup system_service
- * @ingroup BaseSystem
- * @{
- */
-/** @addtogroup config
- * @ingroup system_service
- * @{
- */
-#ifndef CONFIG_LIBRARY_SYSTEM_MANAGER_CONFIG_INCLUDE_SYSTEM_SERVICE_SS_ACCESS_IF_PRIVATE_H_
-#define CONFIG_LIBRARY_SYSTEM_MANAGER_CONFIG_INCLUDE_SYSTEM_SERVICE_SS_ACCESS_IF_PRIVATE_H_
-
-#include <system_service/ss_sm_rom_access.h>
-#include <system_service/ss_sm_ram_access.h>
-
-// Should be design the data so that the default value is 0.
-
-// Product private area for DRAM BACKUP
-
-/**
- * @struct RAM_AccessPrivate
- * @brief \~english RAM Access Private data define
- */
-typedef struct {
- union {
- //! \~english _CWORD80_ error define
- struct {
- /*
- * Note.
- * This feature needs to be defined depending on the product specification by the vendor.
- */
- };
- //! \~english RAM product private max
- uint8_t max[RAM_PRODUCT_PRIVATE_MAX];
- };
-} RAM_AccessPrivate;
-
-/**
- * @struct ROM_AccessPrivate
- * @brief \~english ROM Access Private data define
- */
-typedef struct {
- union {
- // Since data is accessed with 32 bit width at the low level, data must be allocated using 32 bits algin
- struct {
- /*
- * Note.
- * This feature needs to be defined depending on the product specification by the vendor.
- */
- };
- //! \~english ROM product private max
- uint8_t max[ROM_PRODUCT_PRIVATE_MAX];
- };
-} ROM_AccessPrivate;
-
-#endif // CONFIG_LIBRARY_SYSTEM_MANAGER_CONFIG_INCLUDE_SYSTEM_SERVICE_SS_ACCESS_IF_PRIVATE_H_
-/** @}*/
-/** @}*/
-/** @}*/
diff --git a/systemservice/config/library/system_manager_config/include/system_service/ss_package.h b/systemservice/config/library/system_manager_config/include/system_service/ss_package.h
deleted file mode 100755
index 788fd2c..0000000
--- a/systemservice/config/library/system_manager_config/include/system_service/ss_package.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/**
- * @file ss_package.h
- * @brief \~english This file contains declaration of common package values
- */
-/** @addtogroup BaseSystem
- * @{
- */
-/** @addtogroup system_service
- * @ingroup BaseSystem
- * @{
- */
-/** @addtogroup system_manager
- * @ingroup system_service
- * @{
- */
-#ifndef CONFIG_LIBRARY_SYSTEM_MANAGER_CONFIG_INCLUDE_SYSTEM_SERVICE_SS_PACKAGE_H_
-#define CONFIG_LIBRARY_SYSTEM_MANAGER_CONFIG_INCLUDE_SYSTEM_SERVICE_SS_PACKAGE_H_
-
-// _CWORD71_ package name list
-#define SS_PKG_MAIN_EMMC "MAIN_EMMC" // define MAIN_EMMC for main_emmc
-#define SS_PKG_MAIN_PRODUCT_SI "MAIN_PRODUCT_SI" // define MAIN_PRODUCT_SI for main_product_si
-#define SS_PKG_TARGETBOARD "TARGETBOARD" // define TARGETBOARD for target boar
-#define SS_PKG_MAIN_LPF_SI "MAIN_LPF_SI" // define MAIN_LPF_SI for main_lpf_si
-
-#define SS_PKG_NAVI_GPS _Pragma ("GCC warning \"'SS_NAVI_GPS' macro is deprecated\"") "NAVI_GPS"
-#define SS_PKG_SERIES_INFO _Pragma ("GCC warning \"'SS_PKG_SERIES_INFO' macro is deprecated\"") "SERIES_INFO"
-
-#define MSG_PSM_REBOOT_NOTIFY 0x11 // define ps_psmshadow reboot notice id
-
-// AGL reserved version list.
-#define SS_PKG_DIAG_CPU_INFO_001 "DIAG_CPU_INFO_001"
-#define SS_PKG_DIAG_CPU_INFO_002 "DIAG_CPU_INFO_002"
-#define SS_PKG_DIAG_CPU_INFO_003 "DIAG_CPU_INFO_003"
-#define SS_PKG_DIAG_CPU_INFO_004 "DIAG_CPU_INFO_004"
-#define SS_PKG_DIAG_CPU_INFO_005 "DIAG_CPU_INFO_005"
-#define SS_PKG_DIAG_CPU_INFO_006 "DIAG_CPU_INFO_006"
-#define SS_PKG_DIAG_CPU_INFO_007 "DIAG_CPU_INFO_007"
-#define SS_PKG_DIAG_CPU_INFO_008 "DIAG_CPU_INFO_008"
-#define SS_PKG_DIAG_CPU_INFO_009 "DIAG_CPU_INFO_009"
-#define SS_PKG_DIAG_CPU_INFO_010 "DIAG_CPU_INFO_010"
-#define SS_PKG_DIAG_CPU_INFO_011 "DIAG_CPU_INFO_011"
-#define SS_PKG_DIAG_CPU_INFO_012 "DIAG_CPU_INFO_012"
-#define SS_PKG_DIAG_CPU_INFO_013 "DIAG_CPU_INFO_013"
-#define SS_PKG_DIAG_CPU_INFO_014 "DIAG_CPU_INFO_014"
-#define SS_PKG_DIAG_CPU_INFO_015 "DIAG_CPU_INFO_015"
-
-#endif // CONFIG_LIBRARY_SYSTEM_MANAGER_CONFIG_INCLUDE_SYSTEM_SERVICE_SS_PACKAGE_H_
-/** @}*/
-/** @}*/
-/** @}*/
diff --git a/systemservice/config/library/system_manager_config/include/system_service/ss_system_manager_conf.h b/systemservice/config/library/system_manager_config/include/system_service/ss_system_manager_conf.h
deleted file mode 100755
index 5354da8..0000000
--- a/systemservice/config/library/system_manager_config/include/system_service/ss_system_manager_conf.h
+++ /dev/null
@@ -1,145 +0,0 @@
-/*
- * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/**
- * @file ss_system_manager_conf.h
- * @brief \~english This file contains declaration of structures T_SS_SM_INIT_HOOK_IN_PARAM, T_SS_SM_INIT_HOOK_OUT_PARAM and api initial Hook
- */
-/** @addtogroup BaseSystem
- * @{
- */
-/** @addtogroup system_service
- * @ingroup BaseSystem
- * @{
- */
-/** @addtogroup config
- * @ingroup system_service
- * @{
- */
-#ifndef CONFIG_LIBRARY_SYSTEM_MANAGER_CONFIG_INCLUDE_SYSTEM_SERVICE_SS_SYSTEM_MANAGER_CONF_H_
-#define CONFIG_LIBRARY_SYSTEM_MANAGER_CONFIG_INCLUDE_SYSTEM_SERVICE_SS_SYSTEM_MANAGER_CONF_H_
-
-#include <native_service/frameworkunified_types.h>
-#include <vector>
-#include <string>
-
-/**
- * @struct T_SS_SM_INIT_HOOK
- * @brief \~english Version up mode, Callback function
- */
-typedef struct T_SS_SM_INIT_HOOK {
- //! \~english Version up mode
- BOOL bIsVupMode;
- //! \~english Call back function
- EFrameworkunifiedStatus (*cbRebootNoticeFunc)(HANDLE hApp);
-
- T_SS_SM_INIT_HOOK()
- : bIsVupMode(FALSE),
- cbRebootNoticeFunc(NULL) {
- }
-} T_SS_SM_INIT_HOOK_IN_PARAM;
-
-
-/**
- * @struct T_SS_SM_INIT_HOOK_OUT_PARAM
- * @brief \~english Not in OOM Killer's service object, Group Relaunch service.
- */
-typedef struct {
- std::vector<std::string> protectedSvcs;
- //! \~english Not in OOM Killer's service object.
- std::vector<std::string> groupRelaunchSvcs;
- //! \~english Group Relaunch service.
-} T_SS_SM_INIT_HOOK_OUT_PARAM;
-
-/////////////////////////////////////////////////////////////////////////////////////
-/// \ingroup ss_sm_initHook
-/// \~english @par Summary
-///
-/// \~english @param [in] hApp
-/// HANDLE - HANDLE Application
-/// \~english @param [in] inPrm
-/// T_SS_SM_INIT_HOOK_IN_PARAM -
-/// \~english @param [in] outPrm
-/// T_SS_SM_INIT_HOOK_OUT_PARAM -
-/// \~english @par
-/// T_SS_SM_INIT_HOOK_IN_PARAM struct
-/// \~english @code
-/// typedef struct T_SS_SM_INIT_HOOK {
-/// BOOL bIsVupMode; /* version up model */
-/// EFrameworkunifiedStatus (*cbRebootNoticeFunc)(HANDLE hApp); /* call back function */
-/// T_SS_SM_INIT_HOOK()
-/// : bIsVupMode(FALSE),
-/// cbRebootNoticeFunc(NULL) {
-/// } /* constructor */
-/// } T_SS_SM_INIT_HOOK_IN_PARAM;
-/// @endcode
-/// \~english @par
-/// T_SS_SM_INIT_HOOK_IN_PARAM struct
-/// \~english @code
-/// typedef struct {
-/// std::vector<std::string> protectedSvcs; /* OOM Killer's protected service */
-/// std::vector<std::string> groupRelaunchSvcs; /* group relunch service */
-/// } T_SS_SM_INIT_HOOK_OUT_PARAM;
-/// @endcode
-/// \~english @retval eFrameworkunifiedStatusOK Success
-/// \~english @retval eFrameworkunifiedStatusInvldParam Invalid parameter
-/// \~english @retval eFrameworkunifiedStatusNullPointer Invalid pointer
-/// \~english @retval eFrameworkunifiedStatusInvldHandle Invalid handle
-/// \~english @retval eFrameworkunifiedStatusInvldHndlType Invalid type of handle
-/// \~english @retval eFrameworkunifiedStatusMsgQFull Message queue is full
-/// \~english @retval eFrameworkunifiedStatusErrNoEBADF Invalid File-Descriptor
-/// \~english @retval eFrameworkunifiedStatusErrNoEINTR An interrupt is generated by the system call (signal)
-/// \~english @retval eFrameworkunifiedStatusInvldBufSize Invalid buffer-size
-/// \~english @retval eFrameworkunifiedStatusFail Some sort of error occurred
-/// \~english @retval eFrameworkunifiedStatusErrOther Other error(It failed to open/allocation of shared memory)
-/// \~english @par Preconditions
-/// - None
-/// \~english @par Change of the internal state
-/// - save inPrm->cbRebootNoticeFunc to s_confCtx.cbRebootNoticeFunc.
-/// \~english @par Causes of failures
-/// -
-/// - System Manager of the session does not exist. [eFrameworkunifiedStatusNullPointer]
-/// - System Manager handle for the session is NULL. [eFrameworkunifiedStatusInvldHandle]
-/// - System Manager handle type for the session is not a transmission type. [eFrameworkunifiedStatusInvldHndlType]
-/// - System Manager message queue for the session is full. [eFrameworkunifiedStatusMsgQFull]
-/// - Transmission for the file descriptor of System Manager message for the session is invalid. \n
-/// [eFrameworkunifiedStatusErrNoEBADF]
-/// - Place to interrupt by the system call (signal) has occurred during the transmission of \n
-/// the System Manager message for the session. [eFrameworkunifiedStatusErrNoEINTR]
-/// - Size of the transmission buffer of the System Manager message for the session is invalid. \n
-/// [eFrameworkunifiedStatusInvldBufSize]
-/// - Any error has occurred at the time of transmission of the System Manager message for the session. \n
-/// [eFrameworkunifiedStatusFail]
-/// - Transmission of System Manager message for the session fails to shared memory access. \n
-/// [eFrameworkunifiedStatusErrOther]
-/// \~english @par Classification
-/// Public
-/// \~english @par Type
-/// Sync
-/// \~english @par Detail
-/// get env val from application,and write these to Launch Config file.
-/// \~english @par
-/// eFrameworkunifiedStatus:Result
-/// - eFrameworkunifiedStatusOK:Success
-/// - Except eFrameworkunifiedStatusOK:Fail
-/// \~english @see None
-////////////////////////////////////////////////////////////////////////////////////
-EFrameworkunifiedStatus ss_sm_initHook(HANDLE hApp, const T_SS_SM_INIT_HOOK_IN_PARAM *inPrm,
- T_SS_SM_INIT_HOOK_OUT_PARAM *outPrm);
-
-#endif // CONFIG_LIBRARY_SYSTEM_MANAGER_CONFIG_INCLUDE_SYSTEM_SERVICE_SS_SYSTEM_MANAGER_CONF_H_
-/** @}*/
-/** @}*/
-/** @}*/
diff --git a/systemservice/config/library/system_manager_config/include/system_service/system_manager_config.h b/systemservice/config/library/system_manager_config/include/system_service/system_manager_config.h
deleted file mode 100755
index 2f44f98..0000000
--- a/systemservice/config/library/system_manager_config/include/system_service/system_manager_config.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * @copyright Copyright (c) 2017-2020 TOYOTA MOTOR CORPORATION.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-/**
- * @file
- */
-#ifndef SYSTEMSERVICE_SYSTEMMANAGERCONFIG_H_ // NOLINT(build/header_guard)
-#define SYSTEMSERVICE_SYSTEMMANAGERCONFIG_H_ // NOLINT(build/header_guard)
-
-#include <system_service/ss_access_if_private.h>
-#include <system_service/ss_package.h>
-#include <system_service/ss_system_manager_conf.h>
-
-#endif // SYSTEMSERVICE_SYSTEMMANAGERCONFIG_H_