diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-11 05:02:12 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-11 05:02:12 +0000 |
commit | b7274231e51560f95a8bd4cbfb7e8f299fa247b6 (patch) | |
tree | 4925d974c5c6eac7db452f206e076673bf914d54 | |
parent | 7b682620be04a41c53ce39c8e9b04490eff4367f (diff) | |
parent | 6e3710f107248dfbefbf79aaf81caca73a742cab (diff) | |
download | libbootloader-android13-mainline-ipsec-release.tar.gz |
Snap for 8570526 from 6e3710f107248dfbefbf79aaf81caca73a742cab to mainline-ipsec-releaseaml_ips_331910010aml_ips_331312000aml_ips_331310000aml_ips_331111030aml_ips_331014020android13-mainline-ipsec-release
Change-Id: I4682e5856260151f1973e144c924f0ce5e52fad2
-rw-r--r-- | libxbc/libxbc.c | 2 | ||||
-rw-r--r-- | libxbc/libxbc.h | 2 | ||||
-rw-r--r-- | vts/Android.bp | 6 |
3 files changed, 4 insertions, 6 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); diff --git a/vts/Android.bp b/vts/Android.bp index 4fb42ef..12caab0 100644 --- a/vts/Android.bp +++ b/vts/Android.bp @@ -22,10 +22,8 @@ cc_test { srcs: [ "VtsBootconfigTest.cpp", ], - shared_libs: [ - "libbase", - "libbpf_android", - ], + header_libs: ["bpf_headers"], + shared_libs: ["libbase"], test_suites: [ "general-tests", "vts", |