From 76a4b3fe0da4590c8d54fb95515e4f5ffc3b8648 Mon Sep 17 00:00:00 2001 From: takeshi_hoshina Date: Thu, 22 Oct 2020 09:01:08 +0900 Subject: vs-positioningbaselibrary branch 0.1 --- positioning_base_library/Makefile.client | 2 +- positioning_base_library/library/Makefile | 7 +- .../library/include/DEV_TimerEntryDrv_if.h | 2 +- .../library/include/TimerEntryDrv_If.h | 2 +- .../library/include/WPF_STD_private.h | 3 +- .../library/include/_pbCommon.h | 2 +- .../library/include/_pbEvent_Internal.h | 2 +- .../library/include/_pbInternalProc.h | 2 +- .../library/include/_pbSerial.h | 2 +- .../library/include/_pbWaitforsingleobject.h | 2 +- positioning_base_library/library/include/sysup.h | 2 +- .../library/include/sysup_addr.h | 2 +- positioning_base_library/library/include/tchar.h | 2 +- .../library/include/vehicle_service/WPF_STD.h | 8 +- .../include/vehicle_service/pos_message_header.h | 2 +- .../vehicle_service/positioning_base_library.h | 2 +- .../positioning_positioningbaselibrarylog.h | 2 +- .../library/include/vehicle_service/std_types.h | 2 +- .../library/include/vehicle_service/sys_timerapi.h | 2 +- .../library/libPOS_base_API.ver | 2 +- positioning_base_library/library/src/MsgBapi.cpp | 2 +- .../library/src/_CWORD64_api.cpp | 2 +- .../library/src/_pbCSection.cpp | 2 +- positioning_base_library/library/src/_pbCommon.cpp | 2 +- positioning_base_library/library/src/_pbDram.cpp | 2 +- positioning_base_library/library/src/_pbEvent.cpp | 2 +- positioning_base_library/library/src/_pbFsys.cpp | 2 +- positioning_base_library/library/src/_pbMem.cpp | 2 +- positioning_base_library/library/src/_pbMisc.cpp | 2 +- positioning_base_library/library/src/_pbMsg.cpp | 2 +- positioning_base_library/library/src/_pbMutex.cpp | 4 +- positioning_base_library/library/src/_pbOSCtrl.cpp | 417 +-------------------- positioning_base_library/library/src/_pbOther.cpp | 64 +--- .../library/src/_pbProcMng.cpp | 2 +- positioning_base_library/library/src/_pbSem.cpp | 2 +- positioning_base_library/library/src/_pbSerial.cpp | 2 +- positioning_base_library/library/src/_pbSram.cpp | 2 +- positioning_base_library/library/src/_pbSum.cpp | 2 +- positioning_base_library/library/src/_pbTimer.cpp | 2 +- .../library/src/_pbWaitforsingleobject.cpp | 2 +- .../library/src/memcpy_64p_sync.cpp | 2 +- .../library/src/memset_64p_sync.cpp | 2 +- 42 files changed, 56 insertions(+), 519 deletions(-) diff --git a/positioning_base_library/Makefile.client b/positioning_base_library/Makefile.client index 523cb2d9..c3aaab58 100644 --- a/positioning_base_library/Makefile.client +++ b/positioning_base_library/Makefile.client @@ -1,5 +1,5 @@ # -# @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. +# @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. diff --git a/positioning_base_library/library/Makefile b/positioning_base_library/library/Makefile index 0fed8488..c0aec5bf 100644 --- a/positioning_base_library/library/Makefile +++ b/positioning_base_library/library/Makefile @@ -1,5 +1,5 @@ # -# @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. +# @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. @@ -79,4 +79,9 @@ LDLIBS += -Wl,-Bdynamic -lev ######### add library path ############# LDFLAGS += -shared +INSTALL = install +CREATE_DIR = $(DESTDIR)/nv/BS/vs/positioning_base_library/rwdata +install-data: + $(INSTALL) -d -m 775 $(CREATE_DIR) + include ../../vehicle_service.mk diff --git a/positioning_base_library/library/include/DEV_TimerEntryDrv_if.h b/positioning_base_library/library/include/DEV_TimerEntryDrv_if.h index 37811332..141c8d84 100644 --- a/positioning_base_library/library/include/DEV_TimerEntryDrv_if.h +++ b/positioning_base_library/library/include/DEV_TimerEntryDrv_if.h @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/include/TimerEntryDrv_If.h b/positioning_base_library/library/include/TimerEntryDrv_If.h index 26f4d555..d20d6f04 100644 --- a/positioning_base_library/library/include/TimerEntryDrv_If.h +++ b/positioning_base_library/library/include/TimerEntryDrv_If.h @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/include/WPF_STD_private.h b/positioning_base_library/library/include/WPF_STD_private.h index b15342b1..87f57cdd 100644 --- a/positioning_base_library/library/include/WPF_STD_private.h +++ b/positioning_base_library/library/include/WPF_STD_private.h @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2019 TOYOTA MOTOR CORPORATION. + * @copyright Copyright (c) 2019-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. @@ -242,7 +242,6 @@ typedef struct { /*---------------------------------------------------------------------------------* * Prototype Declaration * *---------------------------------------------------------------------------------*/ -UNIT_TYPE PbGetEnvSupportInfo(void); /* Configuration Functions (_pbCommon.cpp) */ void PbReset(void); /* Soft reset process */ diff --git a/positioning_base_library/library/include/_pbCommon.h b/positioning_base_library/library/include/_pbCommon.h index a85d6563..8cd15915 100644 --- a/positioning_base_library/library/include/_pbCommon.h +++ b/positioning_base_library/library/include/_pbCommon.h @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/include/_pbEvent_Internal.h b/positioning_base_library/library/include/_pbEvent_Internal.h index 00946c7c..d0b6d44a 100644 --- a/positioning_base_library/library/include/_pbEvent_Internal.h +++ b/positioning_base_library/library/include/_pbEvent_Internal.h @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/include/_pbInternalProc.h b/positioning_base_library/library/include/_pbInternalProc.h index 14396308..03bcd030 100644 --- a/positioning_base_library/library/include/_pbInternalProc.h +++ b/positioning_base_library/library/include/_pbInternalProc.h @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/include/_pbSerial.h b/positioning_base_library/library/include/_pbSerial.h index 67abcf7f..1bedfe8c 100644 --- a/positioning_base_library/library/include/_pbSerial.h +++ b/positioning_base_library/library/include/_pbSerial.h @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/include/_pbWaitforsingleobject.h b/positioning_base_library/library/include/_pbWaitforsingleobject.h index 64aa8413..e4f8eb1e 100644 --- a/positioning_base_library/library/include/_pbWaitforsingleobject.h +++ b/positioning_base_library/library/include/_pbWaitforsingleobject.h @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/include/sysup.h b/positioning_base_library/library/include/sysup.h index 76af6260..eafca8ec 100644 --- a/positioning_base_library/library/include/sysup.h +++ b/positioning_base_library/library/include/sysup.h @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/include/sysup_addr.h b/positioning_base_library/library/include/sysup_addr.h index 1fd1f73b..9e73bf0c 100644 --- a/positioning_base_library/library/include/sysup_addr.h +++ b/positioning_base_library/library/include/sysup_addr.h @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/include/tchar.h b/positioning_base_library/library/include/tchar.h index c3e9feb6..ee45e4d6 100644 --- a/positioning_base_library/library/include/tchar.h +++ b/positioning_base_library/library/include/tchar.h @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/include/vehicle_service/WPF_STD.h b/positioning_base_library/library/include/vehicle_service/WPF_STD.h index b2e8f657..085640ab 100644 --- a/positioning_base_library/library/include/vehicle_service/WPF_STD.h +++ b/positioning_base_library/library/include/vehicle_service/WPF_STD.h @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. @@ -142,10 +142,16 @@ #define CID_COM_SERIAL6 (CID)0x0006 //!< \~english serial command ID 6 +#define CID_COM_SERIAL7 (CID)0x0007 +//!< \~english serial command ID 7 + /* initial CID definition */ #define CID_INI_SYSTEMERR (CID)(CID_INITIAL_BASE | CID_COM_SERIAL6) //!< \~english system abnormality notify +#define CID_INI_INTERNAL_ACCOFF_START (CID)(CID_INITIAL_BASE | CID_COM_SERIAL7) +//!< \~english internal ACC-OFF start Indication + /* timer control CID definition */ #define CID_TIMER_TOUT (CID)(CID_TIMER_BASE | CID_COM_SERIAL4) //!< \~english timeout notify diff --git a/positioning_base_library/library/include/vehicle_service/pos_message_header.h b/positioning_base_library/library/include/vehicle_service/pos_message_header.h index 6e46f9ec..b6af3353 100644 --- a/positioning_base_library/library/include/vehicle_service/pos_message_header.h +++ b/positioning_base_library/library/include/vehicle_service/pos_message_header.h @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/include/vehicle_service/positioning_base_library.h b/positioning_base_library/library/include/vehicle_service/positioning_base_library.h index d4ac347a..c6ce3cef 100644 --- a/positioning_base_library/library/include/vehicle_service/positioning_base_library.h +++ b/positioning_base_library/library/include/vehicle_service/positioning_base_library.h @@ -1,5 +1,5 @@ // -// @copyright Copyright (c) 2017-2019 TOYOTA MOTOR CORPORATION. +// @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. diff --git a/positioning_base_library/library/include/vehicle_service/positioning_positioningbaselibrarylog.h b/positioning_base_library/library/include/vehicle_service/positioning_positioningbaselibrarylog.h index c3e8fec7..b0fd4e15 100644 --- a/positioning_base_library/library/include/vehicle_service/positioning_positioningbaselibrarylog.h +++ b/positioning_base_library/library/include/vehicle_service/positioning_positioningbaselibrarylog.h @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/include/vehicle_service/std_types.h b/positioning_base_library/library/include/vehicle_service/std_types.h index c8486eb2..41ebbc85 100644 --- a/positioning_base_library/library/include/vehicle_service/std_types.h +++ b/positioning_base_library/library/include/vehicle_service/std_types.h @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/include/vehicle_service/sys_timerapi.h b/positioning_base_library/library/include/vehicle_service/sys_timerapi.h index 053bb249..03a24ff4 100644 --- a/positioning_base_library/library/include/vehicle_service/sys_timerapi.h +++ b/positioning_base_library/library/include/vehicle_service/sys_timerapi.h @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/libPOS_base_API.ver b/positioning_base_library/library/libPOS_base_API.ver index 48f7ad13..019a271d 100644 --- a/positioning_base_library/library/libPOS_base_API.ver +++ b/positioning_base_library/library/libPOS_base_API.ver @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/src/MsgBapi.cpp b/positioning_base_library/library/src/MsgBapi.cpp index 839ef7a9..66e78aef 100644 --- a/positioning_base_library/library/src/MsgBapi.cpp +++ b/positioning_base_library/library/src/MsgBapi.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/src/_CWORD64_api.cpp b/positioning_base_library/library/src/_CWORD64_api.cpp index 89edcd68..ed833fdb 100644 --- a/positioning_base_library/library/src/_CWORD64_api.cpp +++ b/positioning_base_library/library/src/_CWORD64_api.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/src/_pbCSection.cpp b/positioning_base_library/library/src/_pbCSection.cpp index f0bb20c3..e144d6fe 100644 --- a/positioning_base_library/library/src/_pbCSection.cpp +++ b/positioning_base_library/library/src/_pbCSection.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/src/_pbCommon.cpp b/positioning_base_library/library/src/_pbCommon.cpp index 7bb939a3..6bb4fb91 100644 --- a/positioning_base_library/library/src/_pbCommon.cpp +++ b/positioning_base_library/library/src/_pbCommon.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/src/_pbDram.cpp b/positioning_base_library/library/src/_pbDram.cpp index f9ddbb47..eb70131d 100644 --- a/positioning_base_library/library/src/_pbDram.cpp +++ b/positioning_base_library/library/src/_pbDram.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/src/_pbEvent.cpp b/positioning_base_library/library/src/_pbEvent.cpp index 80e7c632..0912a138 100644 --- a/positioning_base_library/library/src/_pbEvent.cpp +++ b/positioning_base_library/library/src/_pbEvent.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/src/_pbFsys.cpp b/positioning_base_library/library/src/_pbFsys.cpp index 30c0e579..ee132b06 100644 --- a/positioning_base_library/library/src/_pbFsys.cpp +++ b/positioning_base_library/library/src/_pbFsys.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/src/_pbMem.cpp b/positioning_base_library/library/src/_pbMem.cpp index 9f57d0a3..4028ae32 100644 --- a/positioning_base_library/library/src/_pbMem.cpp +++ b/positioning_base_library/library/src/_pbMem.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/src/_pbMisc.cpp b/positioning_base_library/library/src/_pbMisc.cpp index d67be00d..c52b7c62 100644 --- a/positioning_base_library/library/src/_pbMisc.cpp +++ b/positioning_base_library/library/src/_pbMisc.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/src/_pbMsg.cpp b/positioning_base_library/library/src/_pbMsg.cpp index 752ebbed..39192390 100644 --- a/positioning_base_library/library/src/_pbMsg.cpp +++ b/positioning_base_library/library/src/_pbMsg.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/src/_pbMutex.cpp b/positioning_base_library/library/src/_pbMutex.cpp index 157c9185..06254abe 100644 --- a/positioning_base_library/library/src/_pbMutex.cpp +++ b/positioning_base_library/library/src/_pbMutex.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. @@ -525,7 +525,7 @@ DWORD PbDeleteMutex(HANDLE h_mutex) { ref_cnt = MutexGetRefCntLocalOfCtrlTbl(idx); if ((ref_cnt - 1) <= 0) { // LCOV_EXCL_BR_LINE 200: ref_cnt can not bigger than 1 // LCOV_EXCL_START 200: ref_cnt can not bigger than 1 - AGL_ASSERT_NOT_TESTED(); // LCOV_EXCL_LINE 200: test assert + //AGL_ASSERT_NOT_TESTED(); // LCOV_EXCL_LINE 200: test assert /* Lock information unmapping (CLS) */ ret = CL_LockUnmap(reinterpret_cast(h_mutex)); /* When an error occurs */ diff --git a/positioning_base_library/library/src/_pbOSCtrl.cpp b/positioning_base_library/library/src/_pbOSCtrl.cpp index 575caf91..c38016a7 100644 --- a/positioning_base_library/library/src/_pbOSCtrl.cpp +++ b/positioning_base_library/library/src/_pbOSCtrl.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. @@ -44,16 +44,11 @@ static u_int8 file_buf[FILE_OUT_LINE][1024]; static u_int16 line_size_buf[FILE_OUT_LINE]; /* Log destination selection (Activate the one you want to output.) */ -#define POS_GPS_R_LOGFILE_PATH "/nv/log/frameworkunifiedlog/Test_Pos_gps_read_data.txt" -#define POS_GPS_W_LOGFILE_PATH "/nv/log/frameworkunifiedlog/Test_Pos_gps_write_data.txt" +#define POS_GPS_R_LOGFILE_PATH "/nv/BS/vs/positioning_base_library/rwdata/Test_Pos_gps_read_data.txt" +#define POS_GPS_W_LOGFILE_PATH "/nv/BS/vs/positioning_base_library/rwdata/Test_Pos_gps_write_data.txt" #endif /* GPS_FUNC_DEBUG_MSG__CWORD71__FILE */ -static BOOL ReadFile_CWORD82_(HANDLE h_file, LPVOID lp_buffer, DWORD n_number_of_bytes_to_read, \ - LPDWORD lp_number_of_bytes_read, LPOVERLAPPED lp_overlapped); -static BOOL ReadFileUblox(HANDLE h_file, LPVOID lp_buffer, DWORD n_number_of_bytes_to_read, \ - LPDWORD lp_number_of_bytes_read, LPOVERLAPPED lp_overlapped); - /* For CreateFile--> */ #define BAUDRATE B9600 #define MODEMDEVICE "/dev/tty.gps" @@ -361,412 +356,6 @@ BOOL CloseFile(HANDLE h_object) { // LCOV_EXCL_START 8:dead code } // LCOV_EXCL_STOP -#define MAX_READ_SIZE 2048 -/** - * @brief - * - * Read file - * - * Read data from a file (Wrapper Function) - * - * @param[in] h_file Handle - * @param[in] lp_buffer Buffer for reading - * @param[out] n_number_of_bytes_to_read Maximum read size - * @param[out] lp_number_of_bytes_read Read size - * @param lp_overlapped Not used - * - * @return Processing result - * @retval TRUE Processing succeeded - * @retval FALSE Processing failed - */ -BOOL ReadFile(HANDLE h_file, LPVOID lp_buffer, DWORD n_number_of_bytes_to_read, LPDWORD lp_number_of_bytes_read, LPOVERLAPPED lp_overlapped) { // LCOV_EXCL_START 8:dead code // NOLINT(whitespace/line_length) - AGL_ASSERT_NOT_TESTED(); // LCOV_EXCL_LINE 200: test assert - BOOL ret = 0; - UNIT_TYPE e_type = UNIT_TYPE_NONE; /* Supported HW configuration type */ - - e_type = PbGetEnvSupportInfo(); - if (UNIT_TYPE_GRADE1 == e_type) { - ret = ReadFileUblox(h_file, lp_buffer, n_number_of_bytes_to_read, lp_number_of_bytes_read, lp_overlapped); - } else if (UNIT_TYPE_GRADE2 == e_type) { - /* - * Note. - * This feature branches processing depending on the unit type. - */ - ret = ReadFile_CWORD82_(h_file, lp_buffer, n_number_of_bytes_to_read, lp_number_of_bytes_read, lp_overlapped); - } else { - ret = FALSE; - } - - return ret; -} -// LCOV_EXCL_STOP - -/** - * @brief - * - * Read file - * - * Read data from a file(Implementation Functions for _CWORD82_) - * - * @param[in] h_file Handle - * @param[in] lp_buffer Read buffer - * @param[out] n_number_of_bytes_to_read Maximum read size - * @param[out] lp_number_of_bytes_read Read size - * @param lp_overlapped Not used - * - * @return Processing result - * @retval TRUE Processing succeeded - * @retval FALSE Processing failed - */ -BOOL ReadFile_CWORD82_(HANDLE h_file, LPVOID lp_buffer, DWORD n_number_of_bytes_to_read, LPDWORD lp_number_of_bytes_read, LPOVERLAPPED lp_overlapped) { // LCOV_EXCL_START 8:dead code // NOLINT(whitespace/line_length) - AGL_ASSERT_NOT_TESTED(); // LCOV_EXCL_LINE 200: test assert - BOOL ret = 0; - static int res = 0; - DWORD fdw_comm_mask; /* Communication event storage area */ - - static u_int8 ret_buf[MAX_READ_SIZE] = {0}; /* Buffer for return */ - static u_int8 *wp = ret_buf; - - static u_int8 work_buf[MAX_READ_SIZE]; - - static u_int8 key = 0; /* Primary key */ - static BOOL is_set_key = FALSE; /* Key is set or not */ - static u_int8 key2 = 0; /* Secondary key */ - static BOOL is_set_key2 = FALSE; /* Key2 is set or not */ - static int32 work_bufcnt = 0; /* Backup read pointer of work_buf */ - - int32 i; - int32 j; - u_int8 val; - BOOL ret_flg = FALSE; - static BOOL is_detect_err = FALSE; - -#if GPS_FUNC_DEBUG_MSG__CWORD71__FILE - static u_int16 file_line_size = 0; - static FILE* fp = NULL; /* For debugging */ - u_int16 line_size = 0; - u_int16 file_loop; - u_int16 file_loop2; -#endif /* GPS_FUNC_DEBUG_MSG__CWORD71__FILE */ - - for (i = 0; i < MAX_READ_SIZE; i++) { - if (work_bufcnt == 0) /* Last read completed */ { - res = -1; - if (WaitCommEvent(h_file, (LPDWORD)&fdw_comm_mask, NULL) != FALSE) { - /* h_file is FD, and less than INT_MAX(0x7fffffff) */ - res = static_cast(read(static_cast((long)h_file), work_buf, // NOLINT(runtime/int) - n_number_of_bytes_to_read)); - } - } - - if (res == -1) { - break; - } else { - for (j = work_bufcnt; j < res; j++) { - val = *(work_buf + j); - *wp = val; - - if (is_detect_err == TRUE) { - /* If any errors are detected, skip the 1-byte so that the system can be restored to normal */ - is_detect_err = FALSE; - } else { - if ((key == val) && (is_set_key == TRUE)) { - ret_flg = TRUE; - *lp_number_of_bytes_read = (wp - ret_buf) + 1; /* calculate total read size */ - - key = 0; - is_set_key = FALSE; - wp = ret_buf; - ret = TRUE; - break; - } else if ((val == 0x24) && - ((key != 0xDA) || (is_set_key == FALSE)) && - ((key2 != 0xBF) || (is_set_key2 == FALSE))) { - key = 0x0A; /* End of NEMA sentence */ - is_set_key = TRUE; - wp++; - } else if ((val == 0xB0) && - ((key != 0x0A) || (is_set_key == FALSE))) { - key2 = 0xBF; - is_set_key2 = TRUE; - wp++; - } else if ((key2 == val) && (is_set_key2 == TRUE)) { - key = 0xDA; /* End of _CWORD82_ Binary */ - is_set_key = TRUE; - is_set_key2 = FALSE; - wp++; - } else if ((is_set_key == TRUE) || (is_set_key2 == TRUE)) { - wp++; - } else { - /* nothing */ - } - - /* PastModel008 Fix reset problem + */ - if ((wp - ret_buf) + 1 >= MAX_READ_SIZE) { - ret_flg = TRUE; - *lp_number_of_bytes_read = (wp - ret_buf) + 1; /* calculate total read size */ - wp = ret_buf; -// fprintf(fp, "detect buffer ret_buf full!! size = %d\n", *lp_number_of_bytes_read); - break; - } - /* PastModel008 Fix reset probrem - */ - } - } - - if (j == res) /* When break was not performed during work_buf analysis */ { - work_bufcnt = 0; - } - - if (ret_flg == TRUE) { - work_bufcnt = j; - break; - } - } - } - - -// if ((i == MAX_READ_SIZE) || ((wp - ret_buf) + 1 > MAX_READ_SIZE)) { - if ((i == MAX_READ_SIZE) || (*lp_number_of_bytes_read >= MAX_READ_SIZE)) { /* detect error */ - /* detect error */ - key = 0; - is_set_key = FALSE; - is_set_key2 = FALSE; - is_detect_err = TRUE; - } else { - if (ret_flg == TRUE) { - /* PastModel008 Fix reset problem + */ - if (*lp_number_of_bytes_read >= MAX_READ_SIZE) { /* PastModel008 Fix reset problem */ - ret = FALSE; - } else { - memcpy(lp_buffer, ret_buf, *lp_number_of_bytes_read); - } - /* PastModel008 Fix reset problem - */ - } - } - -#if GPS_FUNC_DEBUG_MSG__CWORD71__FILE - for (file_loop = 0; file_loop < *lp_number_of_bytes_read; file_loop++) { - file_buf[file_line_size][line_size++] = *(ret_buf + file_loop); - } - - line_size_buf[file_line_size] = line_size; - file_line_size++; - - if (file_line_size >= FILE_OUT_LINE) { - if (fp == NULL) { - /* File initialization */ - fp = fopen(POS_GPS_R_LOGFILE_PATH, "w+"); - } else { - fp = fopen(POS_GPS_R_LOGFILE_PATH, "a+"); - } - - for (file_loop = 0; file_loop < FILE_OUT_LINE; file_loop++) { - for (file_loop2 = 0; file_loop2 < line_size_buf[file_loop]; file_loop2++) { - fprintf(fp, "%02x ", file_buf[file_loop][file_loop2]); - } - fprintf(fp, "\n"); - } - fclose(fp); - file_line_size = 0; - } -#endif /* GPS_FUNC_DEBUG_MSG__CWORD71__FILE */ - - return ret; -} -// LCOV_EXCL_STOP - -/** - * @brief - * - * Read file - * - * Read data from a file(Implemented Function for ublox) - * - * @param[in] h_file Handle - * @param[in] lp_buffer Read buffer - * @param[out] n_number_of_bytes_to_read Maximum read size - * @param[out] lp_number_of_bytes_read Read size - * @param lp_overlapped Not used - * - * @return Processing result - * @retval TRUE processing succeeded - * @retval FALSE Processing failed - */ -BOOL ReadFileUblox(HANDLE h_file, LPVOID lp_buffer, DWORD n_number_of_bytes_to_read, LPDWORD lp_number_of_bytes_read, LPOVERLAPPED lp_overlapped) { // LCOV_EXCL_START 8:dead code NOLINT(whitespace/line_length) - AGL_ASSERT_NOT_TESTED(); // LCOV_EXCL_LINE 200: test assert - BOOL ret = 0; - static int res = 0; - DWORD fdw_comm_mask; /* Communication event storage area */ - - static u_int8 ret_buf[MAX_READ_SIZE] = {0}; /* Buffer for return */ - static u_int8 *wp = ret_buf; - - static u_int8 work_buf[MAX_READ_SIZE]; - - static u_int8 key = 0; /* Primary key */ - static BOOL is_set_key = FALSE; /* Key is set or not */ - static BOOL is_set_key2 = FALSE; /* Key2 is set or not */ - - int32 i; - int32 j; - u_int8 val; - BOOL ret_flg = FALSE; - static BOOL is_detect_err = FALSE; - static int32 ubx_size = 0; /* Support when Sentence span more than one read() */ - static int32 ubx_count = 0; /* Support when Sentence span more than one read() */ - static int32 work_bufcnt = 0; /* Backup the read pointer of work_buf */ - -#if GPS_FUNC_DEBUG_MSG__CWORD71__FILE - static u_int16 file_line_size = 0; - static FILE* fp = NULL; /* For debugging */ - u_int16 line_size = 0; - u_int16 file_loop; - u_int16 file_loop2; -#endif /* GPS_FUNC_DEBUG_MSG__CWORD71__FILE */ - - for (i = 0; i < MAX_READ_SIZE; i++) { - if (work_bufcnt == 0) /* Last read completed */ { - res = -1; - if (WaitCommEvent(h_file, (LPDWORD)&fdw_comm_mask, NULL) != FALSE) { - /* h_file is FD, and less than INT_MAX(0x7fffffff) */ - res = static_cast(read(static_cast((long)h_file), work_buf, // NOLINT(runtime/int) - n_number_of_bytes_to_read)); - } - } - - if (res == -1) { - break; - } else { - for (j = work_bufcnt; j < res; j++) { - val = *(work_buf + j); - *wp = val; - - if (is_detect_err == TRUE) { - /* If any errors are detected, skip the 1Byte so that the system can be restored to normal */ - is_detect_err = FALSE; - } else { - if (((key == val) && (is_set_key == TRUE)) - || ((ubx_count >= (7 + ubx_size)) && (is_set_key2 == TRUE))) { - /* At the end of the sentence */ - ret_flg = TRUE; - *lp_number_of_bytes_read = (wp - ret_buf) + 1; /* calculate total read size */ - -// fprintf(fp, "fixed UBX sentence ubx_size = %d, ubx_count = %d, *lp_number_of_bytes_read = %d, -// wp = %x, ret_buf = %x\n", ubx_size, ubx_count, *lpNumberOfBytesRead, wp, retBuf); - key = 0; - ubx_size = 0; /* Clear when end of ubx is judged */ - ubx_count = 0; /* Clear when end of ubx is judged */ - is_set_key = FALSE; - is_set_key2 = FALSE; - ret = TRUE; - wp = ret_buf; - break; - } else if ((val == 0x24) && (is_set_key == FALSE) && (is_set_key2 == FALSE)) { - /* At the beginning of the NMEA */ - key = 0x0A; /* End of NEMA sentence */ - is_set_key = TRUE; - wp++; - } else if ((val == 0xB5) && (is_set_key == FALSE) && (is_set_key2 == FALSE)) { - /* At the beginning of the UBX */ - is_set_key2 = TRUE; - wp++; - } else if ((ubx_count == 4) && (is_set_key2 == TRUE)) { - /* Payload size of the UBX(Lower byte) */ - ubx_size = val; - wp++; - } else if ((ubx_count == 5) && (is_set_key2 == TRUE)) { - /* Payload size of the UBX(Upper byte) */ - ubx_size += (val << 8); - wp++; - } else if ((is_set_key == TRUE) || (is_set_key2 == TRUE)) { - wp++; - } else { - /* nothing */ - } - - /* PastModel008 Fix reset problem + */ - if ((wp - ret_buf) + 1 >= MAX_READ_SIZE) { - ret_flg = TRUE; - *lp_number_of_bytes_read = (wp - ret_buf) + 1; /* calculate total read size */ - wp = ret_buf; -// fprintf(fp, "detect buffer ret_buf full!! size = %d\n", *lp_number_of_bytes_read); - break; - } - /* PastModel008 Fix reset problem - */ - - if (((ubx_count == 5) && (is_set_key2 == TRUE)) && - ((ubx_size < 0) || (ubx_size > MAX_READ_SIZE))) { - is_set_key2 = FALSE; - } - } - if (is_set_key2 == TRUE) { - ubx_count++; - } - } - /* When break was not performed during work_buf analysis */ - if (j == res) { - work_bufcnt = 0; - } - if (ret_flg == TRUE) { - work_bufcnt = j + 1; - break; - } - } - } - - /* detect error */ - -// if ((i == MAX_READ_SIZE) || ((wp - ret_buf) + 1 > MAX_READ_SIZE)) { - if ((i == MAX_READ_SIZE) || (*lp_number_of_bytes_read >= MAX_READ_SIZE)) { /* detect error */ /* PastModel008 Fix reset problem */ // NOLINT(whitespace/line_length) - key = 0; - ubx_count = 0; - ubx_size = 0; - is_set_key = FALSE; - is_set_key2 = FALSE; - is_detect_err = TRUE; - } else { - if (ret_flg == TRUE) { - /* PastModel008 Fix reset problem + */ - if (*lp_number_of_bytes_read >= MAX_READ_SIZE) { /* PastModel008 Fix reset problem */ - ret = FALSE; - } else { - memcpy(lp_buffer, ret_buf, *lp_number_of_bytes_read); - } - /* PastModel008 Fix reset problem - */ - } - } - -#if GPS_FUNC_DEBUG_MSG__CWORD71__FILE - for (file_loop = 0; file_loop < *lp_number_of_bytes_read; file_loop++) { - file_buf[file_line_size][line_size++] = *(ret_buf + file_loop); - } - - line_size_buf[file_line_size] = line_size; - file_line_size++; - - if (file_line_size >= FILE_OUT_LINE) { - if (fp == NULL) { - /* File initialization */ - fp = fopen(POS_GPS_R_LOGFILE_PATH, "w+"); - } else { - fp = fopen(POS_GPS_R_LOGFILE_PATH, "a+"); - } - - for (file_loop = 0; file_loop < FILE_OUT_LINE; file_loop++) { - for (file_loop2 = 0; file_loop2 < line_size_buf[file_loop]; file_loop2++) { - fprintf(fp, "%02x ", file_buf[file_loop][file_loop2]); - } - fprintf(fp, "\n"); - } - fclose(fp); - file_line_size = 0; - } -#endif /* GPS_FUNC_DEBUG_MSG__CWORD71__FILE */ - - return ret; -} -// LCOV_EXCL_STOP - /** * @brief * diff --git a/positioning_base_library/library/src/_pbOther.cpp b/positioning_base_library/library/src/_pbOther.cpp index 2246b0ed..73ff3004 100644 --- a/positioning_base_library/library/src/_pbOther.cpp +++ b/positioning_base_library/library/src/_pbOther.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. @@ -438,68 +438,6 @@ void GetEnv(const char* p_env_str, char* p_env_buff) { // LCOV_EXCL_START 8:dea } // LCOV_EXCL_STOP - -/** - * @brief - * Get hardware configuration - * - * Get hardware configuration information from environment variables - * - * @param None - * - * @return UNIT_TYPE_NONE Not set - * UNIT_TYPE_GRADE1 - * UNIT_TYPE_GRADE2 - */ -UNIT_TYPE PbGetEnvSupportInfo(void) { // LCOV_EXCL_START 8:dead code - AGL_ASSERT_NOT_TESTED(); // LCOV_EXCL_LINE 200: test assert - static UNIT_TYPE ret_type = UNIT_TYPE_UNKNOWN; - - char c_env_positioningbaselibrary_grade[VP_MAX_LENGTH]; - char* p_env_positioningbaselibrary_grade = c_env_positioningbaselibrary_grade; - - VP_GetEnv(VEHICLEPARAMETERLIBRARY_GRADE, p_env_positioningbaselibrary_grade); - - if (0 == strcmp(p_env_positioningbaselibrary_grade, "GRADE1")) { - ret_type = UNIT_TYPE_GRADE1; - } else { - /* - * Note. - * This feature branches processing depending on the unit type. - */ - ret_type = UNIT_TYPE_GRADE2; - } - - return ret_type; -} -// LCOV_EXCL_STOP - -/** - * @brief - * Determination of unit type - * - * @param Unit type
- * Specify the value that is logical OR of UNIT_TYPE_GRADE1 - * - * @return TRUE: Same as the unit type specified in the arguments
- * FALSE: Different from the unit type specified in the arguments - */ -BOOL ChkUnitType(UNIT_TYPE type) { // LCOV_EXCL_START 8:dead code - AGL_ASSERT_NOT_TESTED(); // LCOV_EXCL_LINE 200: test assert - UNIT_TYPE ltype; - BOOL bret; - - ltype = PbGetEnvSupportInfo(); - if ((ltype & type) != 0) { - bret = TRUE; - } else { - bret = FALSE; - } - - return bret; -} -// LCOV_EXCL_STOP - /*---------------------------------------------------------------------------------* * Local Function * *---------------------------------------------------------------------------------*/ diff --git a/positioning_base_library/library/src/_pbProcMng.cpp b/positioning_base_library/library/src/_pbProcMng.cpp index df4c02e4..e8d9601b 100644 --- a/positioning_base_library/library/src/_pbProcMng.cpp +++ b/positioning_base_library/library/src/_pbProcMng.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/src/_pbSem.cpp b/positioning_base_library/library/src/_pbSem.cpp index 380be63a..1264d796 100644 --- a/positioning_base_library/library/src/_pbSem.cpp +++ b/positioning_base_library/library/src/_pbSem.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/src/_pbSerial.cpp b/positioning_base_library/library/src/_pbSerial.cpp index b7eaa87f..c6044af8 100644 --- a/positioning_base_library/library/src/_pbSerial.cpp +++ b/positioning_base_library/library/src/_pbSerial.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/src/_pbSram.cpp b/positioning_base_library/library/src/_pbSram.cpp index 25a39b05..f31e16f1 100644 --- a/positioning_base_library/library/src/_pbSram.cpp +++ b/positioning_base_library/library/src/_pbSram.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/src/_pbSum.cpp b/positioning_base_library/library/src/_pbSum.cpp index 69716cdb..2964db73 100644 --- a/positioning_base_library/library/src/_pbSum.cpp +++ b/positioning_base_library/library/src/_pbSum.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/src/_pbTimer.cpp b/positioning_base_library/library/src/_pbTimer.cpp index 85f38e27..f36711f5 100644 --- a/positioning_base_library/library/src/_pbTimer.cpp +++ b/positioning_base_library/library/src/_pbTimer.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/src/_pbWaitforsingleobject.cpp b/positioning_base_library/library/src/_pbWaitforsingleobject.cpp index 79e0ec84..2111b3a7 100644 --- a/positioning_base_library/library/src/_pbWaitforsingleobject.cpp +++ b/positioning_base_library/library/src/_pbWaitforsingleobject.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/src/memcpy_64p_sync.cpp b/positioning_base_library/library/src/memcpy_64p_sync.cpp index e21ad58f..204c516a 100644 --- a/positioning_base_library/library/src/memcpy_64p_sync.cpp +++ b/positioning_base_library/library/src/memcpy_64p_sync.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. diff --git a/positioning_base_library/library/src/memset_64p_sync.cpp b/positioning_base_library/library/src/memset_64p_sync.cpp index 7dfb6b0c..ad6c11e6 100644 --- a/positioning_base_library/library/src/memset_64p_sync.cpp +++ b/positioning_base_library/library/src/memset_64p_sync.cpp @@ -1,5 +1,5 @@ /* - * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION. + * @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. -- cgit 1.2.3-korg