Skip to content

Commit

Permalink
include/sdfw_services: Move into include/sdfw/sdfw_services
Browse files Browse the repository at this point in the history
Also, fix #include statements after move.

Ref: NCSDK-24470

Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
  • Loading branch information
oyvindronningstad authored and rlubos committed Apr 12, 2024
1 parent 555ece9 commit 250fec8
Show file tree
Hide file tree
Showing 24 changed files with 40 additions and 40 deletions.
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Kconfig* @tejlmand
/include/mpsl/ @nrfconnect/ncs-dragoon
/include/net/ @rlubos
/include/nfc/ @anangl @grochu
/include/sdfw_services/ @anhmolt @hakonfam @jonathannilsen
/include/sdfw/ @anhmolt @hakonfam @jonathannilsen
/include/shell/ @nordic-krch
/lib/bin/ @rlubos @lemrey
/lib/adp536x/ @nrfconnect/ncs-cia
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#include <stddef.h>

#include <sdfw_services/ssf_errno.h>
#include <sdfw/sdfw_services/ssf_errno.h>

/** .. include_startingpoint_echo_header_rst */
/**
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <stdint.h>

#include <nrfx.h>
#include <sdfw_services/ssf_errno.h>
#include <sdfw/sdfw_services/ssf_errno.h>

/** Error code in response from server if it failed to register or deregister
* the requested subscription.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#include <stdint.h>

#include <sdfw_services/ssf_errno.h>
#include <sdfw/sdfw_services/ssf_errno.h>

/* Error code in response from server if an error occurred when performing the request. */
#define SSF_SDFW_UPDATE_FAILED 0x3dfc0001
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <stddef.h>
#include <stdint.h>

#include <sdfw_services/ssf_errno.h>
#include <sdfw/sdfw_services/ssf_errno.h>

/**
* @brief Structure to hold a raw request or response.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <stddef.h>
#include <stdint.h>

#include <sdfw_services/ssf_errno.h>
#include <sdfw/sdfw_services/ssf_errno.h>

/**
* @brief SSF notification decode function prototype.
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion samples/sdfw/ssf_client/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Overview
********

The sample shows how to use Secure Domain services by invoking some of the available services.
Available Secure Domain Services can be found in :file:`nrf/include/sdfw_services`.
Available Secure Domain Services can be found in :file:`nrf/include/sdfw/sdfw_services`.
The service source files are located in :file:`nrf/subsys/sdfw_services/services`.


Expand Down
8 changes: 4 additions & 4 deletions samples/sdfw/ssf_client/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

#include <sdfw_services/echo_service.h>
#include <sdfw_services/prng_service.h>
#include <sdfw_services/reset_evt_service.h>
#include <sdfw_services/sdfw_update_service.h>
#include <sdfw/sdfw_services/echo_service.h>
#include <sdfw/sdfw_services/prng_service.h>
#include <sdfw/sdfw_services/reset_evt_service.h>
#include <sdfw/sdfw_services/sdfw_update_service.h>

#include <zephyr/kernel.h>
#include <zephyr/logging/log.h>
Expand Down
2 changes: 1 addition & 1 deletion subsys/sdfw_services/os/ssf_client_os.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef SSF_CLIENT_OS_H__
#define SSF_CLIENT_OS_H__

#include <sdfw_services/ssf_errno.h>
#include <sdfw/sdfw_services/ssf_errno.h>

#if defined(__ZEPHYR__)
#include "ssf_client_zephyr.h"
Expand Down
4 changes: 2 additions & 2 deletions subsys/sdfw_services/os/ssf_client_zephyr.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

#include "ssf_client_zephyr.h"

#include <sdfw_services/ssf_client.h>
#include <sdfw_services/ssf_errno.h>
#include <sdfw/sdfw_services/ssf_client.h>
#include <sdfw/sdfw_services/ssf_errno.h>
#include "ssf_client_os.h"

#include <errno.h>
Expand Down
4 changes: 2 additions & 2 deletions subsys/sdfw_services/services/echo/echo_service.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
#include <stdint.h>
#include <string.h>

#include <sdfw_services/echo_service.h>
#include <sdfw/sdfw_services/echo_service.h>

#include "echo_service_decode.h"
#include "echo_service_encode.h"
#include "echo_service_types.h"
#include <sdfw_services/ssf_client.h>
#include <sdfw/sdfw_services/ssf_client.h>
#include "ssf_client_os.h"

SSF_CLIENT_SERVICE_DEFINE(echo_srvc, ECHO, cbor_encode_echo_service_req,
Expand Down
6 changes: 3 additions & 3 deletions subsys/sdfw_services/services/extmem/extmem_remote.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
#include <stdint.h>
#include <string.h>

#include <sdfw_services/extmem_remote.h>
#include <sdfw/sdfw_services/extmem_remote.h>

#include <sdfw_services/ssf_client.h>
#include <sdfw_services/ssf_client_notif.h>
#include <sdfw/sdfw_services/ssf_client.h>
#include <sdfw/sdfw_services/ssf_client_notif.h>
#include "extmem_service_decode.h"
#include "extmem_service_encode.h"
#include "extmem_service_types.h"
Expand Down
4 changes: 2 additions & 2 deletions subsys/sdfw_services/services/prng/prng_service.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
#include <stdint.h>
#include <string.h>

#include <sdfw_services/prng_service.h>
#include <sdfw/sdfw_services/prng_service.h>

#include "prng_service_decode.h"
#include "prng_service_encode.h"
#include "prng_service_types.h"
#include <sdfw_services/ssf_client.h>
#include <sdfw/sdfw_services/ssf_client.h>
#include "ssf_client_os.h"

SSF_CLIENT_SERVICE_DEFINE(prng_srvc, PRNG, cbor_encode_prng_req, cbor_decode_prng_rsp);
Expand Down
8 changes: 4 additions & 4 deletions subsys/sdfw_services/services/reset_evt/reset_evt_service.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
#include <stddef.h>
#include <stdint.h>

#include <sdfw_services/reset_evt_service.h>
#include <sdfw/sdfw_services/reset_evt_service.h>

#include "reset_evt_service_decode.h"
#include "reset_evt_service_encode.h"
#include "reset_evt_service_types.h"
#include <sdfw_services/ssf_client.h>
#include <sdfw_services/ssf_client_notif.h>
#include <sdfw_services/ssf_errno.h>
#include <sdfw/sdfw_services/ssf_client.h>
#include <sdfw/sdfw_services/ssf_client_notif.h>
#include <sdfw/sdfw_services/ssf_errno.h>
#include "ssf_client_os.h"

SSF_CLIENT_LOG_REGISTER(reset_evt_service, CONFIG_SSF_RESET_EVT_SERVICE_LOG_LEVEL);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
#include <stddef.h>
#include <stdint.h>

#include <sdfw_services/sdfw_update_service.h>
#include <sdfw/sdfw_services/sdfw_update_service.h>

#include "sdfw_update_service_decode.h"
#include "sdfw_update_service_encode.h"
#include "sdfw_update_service_types.h"
#include <sdfw_services/ssf_client.h>
#include <sdfw/sdfw_services/ssf_client.h>
#include "ssf_client_os.h"

SSF_CLIENT_LOG_REGISTER(sdfw_update_service, CONFIG_SSF_SDFW_UPDATE_SERVICE_LOG_LEVEL);
Expand Down
6 changes: 3 additions & 3 deletions subsys/sdfw_services/ssf_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
#include <stdint.h>
#include <string.h>

#include <sdfw_services/ssf_client.h>
#include <sdfw/sdfw_services/ssf_client.h>

#include <sdfw_services/ssf_client_notif.h>
#include <sdfw_services/ssf_errno.h>
#include <sdfw/sdfw_services/ssf_client_notif.h>
#include <sdfw/sdfw_services/ssf_errno.h>
#include "ssf_client_os.h"
#include "ssf_client_transport.h"

Expand Down
4 changes: 2 additions & 2 deletions subsys/sdfw_services/ssf_client_notif.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#include <stddef.h>
#include <stdint.h>

#include <sdfw_services/ssf_client_notif.h>
#include <sdfw/sdfw_services/ssf_client_notif.h>

#include <sdfw_services/ssf_errno.h>
#include <sdfw/sdfw_services/ssf_errno.h>
#include "ssf_client_os.h"
#include "ssf_client_transport.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#include "ssf_client_transport.h"

#include <sdfw_services/ssf_errno.h>
#include <sdfw/sdfw_services/ssf_errno.h>
#include "ssf_client_os.h"
#include "ssf_nrf_rpc_common.h"
#include <nrf_rpc/nrf_rpc_ipc.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef SSF_NRF_RPC_COMMON_H__
#define SSF_NRF_RPC_COMMON_H__

#include <sdfw_services/ssf_errno.h>
#include <sdfw/sdfw_services/ssf_errno.h>

#include <nrf_rpc_errno.h>

Expand Down
6 changes: 3 additions & 3 deletions tests/subsys/sdfw_services/client/src/ssf_client_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#include <stdint.h>
#include <string.h>

#include <sdfw_services/ssf_client.h>
#include <sdfw_services/ssf_client_notif.h>
#include <sdfw_services/ssf_errno.h>
#include <sdfw/sdfw_services/ssf_client.h>
#include <sdfw/sdfw_services/ssf_client_notif.h>
#include <sdfw/sdfw_services/ssf_errno.h>

#include <nrf_rpc_errno.h>
#include <zcbor_common.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#include <stdint.h>
#include <string.h>

#include <sdfw_services/ssf_client.h>
#include <sdfw_services/ssf_client_notif.h>
#include <sdfw_services/ssf_errno.h>
#include <sdfw/sdfw_services/ssf_client.h>
#include <sdfw/sdfw_services/ssf_client_notif.h>
#include <sdfw/sdfw_services/ssf_errno.h>

#include <zcbor_common.h>
#include <zephyr/toolchain.h>
Expand Down

0 comments on commit 250fec8

Please sign in to comment.