diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-09-25 05:00:53 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-09-25 05:00:53 +0000 |
commit | 10482e8431cfcdd7c27bfac1fd58e12b263fdadd (patch) | |
tree | 5ad446041332cc8d68dfefa1e53387413c54757d | |
parent | 3a5f2925c3a58a2de2a0cccc429bdb0a13c62ca2 (diff) | |
parent | 8e604c4412e8753ea741595d5880297f192c3284 (diff) | |
download | libbootloader-10482e8431cfcdd7c27bfac1fd58e12b263fdadd.tar.gz |
Snap for 7767098 from 8e604c4412e8753ea741595d5880297f192c3284 to tm-release
Change-Id: I71607b4b122c3dadc59ec142cad024c589b1bf7d
-rw-r--r-- | libxbc/libxbc.c | 2 | ||||
-rw-r--r-- | libxbc/libxbc.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libxbc/libxbc.c b/libxbc/libxbc.c index 6e47dee..d80ac11 100644 --- a/libxbc/libxbc.c +++ b/libxbc/libxbc.c @@ -53,7 +53,7 @@ static bool isTrailerPresent(uint64_t bootconfig_end_addr) { /* * Add a string of boot config parameters to memory appended by the trailer. */ -int32_t addBootConfigParameters(char* params, uint32_t params_size, +int32_t addBootConfigParameters(const char* params, uint32_t params_size, uint64_t bootconfig_start_addr, uint32_t bootconfig_size) { if (!params || !bootconfig_start_addr) { return -1; diff --git a/libxbc/libxbc.h b/libxbc/libxbc.h index 0bee548..7f5b311 100644 --- a/libxbc/libxbc.h +++ b/libxbc/libxbc.h @@ -35,7 +35,7 @@ * @param bootconfig_size size of the current bootconfig section in bytes. * @return number of bytes added to the boot config section. -1 for error. */ -int addBootConfigParameters(char *params, uint32_t params_size, +int addBootConfigParameters(const char *params, uint32_t params_size, uint64_t bootconfig_start_addr, uint32_t bootconfig_size); |