diff options
author | 2020-11-22 01:54:33 +0000 | |
---|---|---|
committer | 2020-11-23 13:54:59 +0000 | |
commit | 761d3a409fb8ddb3e01e1eded4aaab17bb4a155f (patch) | |
tree | 6797033ec08f907699824c2662a9bfd36f616be8 /service/system/rom_access_library | |
parent | 23d40b490b2e6735d70d413e6a147d78b1898c8b (diff) |
Fix path to various non-standard directories
Fix path to non-standard directories,
- /nv to /var/local/lib/basesystem/nv
- /ramd to /var/local/lib/basesystem/ramd
- /tool_9E_SI to /etc/basesystem
- /usr/target to /etc/basesystem/target
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Change-Id: I42a54624230cb0ec0271f8cdbacb0b178c9f3e8e
Diffstat (limited to 'service/system/rom_access_library')
3 files changed, 6 insertions, 6 deletions
diff --git a/service/system/rom_access_library/library/include/system_service/ss_sm_ram_access.h b/service/system/rom_access_library/library/include/system_service/ss_sm_ram_access.h index f96966b..7a59bfc 100755 --- a/service/system/rom_access_library/library/include/system_service/ss_sm_ram_access.h +++ b/service/system/rom_access_library/library/include/system_service/ss_sm_ram_access.h @@ -171,7 +171,7 @@ explicit RAM_AccessIf(RAM_WAKEUP_STATE wup_state = RAM_WAKEUP_STATE_DONT_CARE); * - The change in the internal status does not occur by this API. * \~english @par Conditions of processing failure * - If p_boot_info is NULL [eFrameworkunifiedStatusFail] - * - If read data from secondary storage area or /nv/BS/ss/rom_access_library/rwdata/ramdata.dat + * - If read data from secondary storage area or /var/local/lib/basesystem/nv/BS/ss/rom_access_library/rwdata/ramdata.dat * failed [eFrameworkunifiedStatusFail] * \~english @par Classification: * Public @@ -179,7 +179,7 @@ explicit RAM_AccessIf(RAM_WAKEUP_STATE wup_state = RAM_WAKEUP_STATE_DONT_CARE); * Sync only(None communication) * \~english @par Detail: * Copy the system information stored in the secondary storage area or - * in /nv/BS/ss/rom_access_library/rwdata/ramdata.dat to p_boot_info. \n + * in /var/local/lib/basesystem/nv/BS/ss/rom_access_library/rwdata/ramdata.dat to p_boot_info. \n * \~english @see setRamInfo */ EFrameworkunifiedStatus getRamInfo(RAM_SM_INFO_t* p_boot_info); @@ -214,7 +214,7 @@ explicit RAM_AccessIf(RAM_WAKEUP_STATE wup_state = RAM_WAKEUP_STATE_DONT_CARE); * - The change in the internal status does not occur by this API. * \~english @par Conditions of processing failure * - If p_boot_info is NULL [eFrameworkunifiedStatusFail] - * - If write data to secondary storage area or /nv/BS/ss/rom_access_library/rwdata/ramdata.dat + * - If write data to secondary storage area or /var/local/lib/basesystem/nv/BS/ss/rom_access_library/rwdata/ramdata.dat * failed [eFrameworkunifiedStatusFail] * \~english @par Classification: * Public @@ -222,7 +222,7 @@ explicit RAM_AccessIf(RAM_WAKEUP_STATE wup_state = RAM_WAKEUP_STATE_DONT_CARE); * Sync only(None communication) * \~english @par Detail: * Write the system manegement information stored in p_boot_info to the - * secondary storage area or /nv/BS/ss/rom_access_library/rwdata/ramdata.dat. \n + * secondary storage area or /var/local/lib/basesystem/nv/BS/ss/rom_access_library/rwdata/ramdata.dat. \n * \~english @see getRamInfo */ EFrameworkunifiedStatus setRamInfo(RAM_SM_INFO_t* p_boot_info); diff --git a/service/system/rom_access_library/library/rom/src/ss_sm_ram_access.cpp b/service/system/rom_access_library/library/rom/src/ss_sm_ram_access.cpp index b5cf244..d95a648 100755 --- a/service/system/rom_access_library/library/rom/src/ss_sm_ram_access.cpp +++ b/service/system/rom_access_library/library/rom/src/ss_sm_ram_access.cpp @@ -29,7 +29,7 @@ -#define RAM_PATH "/nv/BS/ss/rom_access_library/rwdata/ramdata.dat" +#define RAM_PATH "/var/local/lib/basesystem/nv/BS/ss/rom_access_library/rwdata/ramdata.dat" #define RAM_OLD_PATH RAM_PATH".old" static const uint8_t kSigNature[] = { 0xDE, 0xAD, 0xBE, 0xEF }; static const uint8_t kMagic[] = { 0xDE, 0xAD, 0xBE, 0xEF }; diff --git a/service/system/rom_access_library/library/rom/src/ss_sm_rom_access.cpp b/service/system/rom_access_library/library/rom/src/ss_sm_rom_access.cpp index 53589c2..9994602 100755 --- a/service/system/rom_access_library/library/rom/src/ss_sm_rom_access.cpp +++ b/service/system/rom_access_library/library/rom/src/ss_sm_rom_access.cpp @@ -38,7 +38,7 @@ #include "ss_sm_checksum.h" #include "ss_rom_access_define.h" -#define ROM_ACCESS_DIR "/nv/BS/ss/rom_access_library/rwdata" +#define ROM_ACCESS_DIR "/var/local/lib/basesystem/nv/BS/ss/rom_access_library/rwdata" #define ROM_ACCESS_FILE "romdata.dat" const CHAR kDefaultRomDevice[] = ROM_ACCESS_DIR"/"ROM_ACCESS_FILE; const CHAR kRecoveryRomDevice[] = ROM_ACCESS_DIR"/"ROM_ACCESS_FILE".old"; |