diff options
author | Paul Beesley <paul.beesley@arm.com> | 2019-10-14 15:27:12 +0000 |
---|---|---|
committer | Manish Pandey <manish.pandey2@arm.com> | 2019-12-20 16:03:32 +0000 |
commit | 538b002046b567ed3c431633623f335b90476e40 (patch) | |
tree | ab7cad1fed63ba04a30a4d5fa073497038bd0224 /include/lib | |
parent | 3f3c341ae58321ec1b86162916d80b6db9187759 (diff) | |
download | platform_external_arm-trusted-firmware-538b002046b567ed3c431633623f335b90476e40.tar.gz platform_external_arm-trusted-firmware-538b002046b567ed3c431633623f335b90476e40.tar.bz2 platform_external_arm-trusted-firmware-538b002046b567ed3c431633623f335b90476e40.zip |
spm: Remove SPM Alpha 1 prototype and support files
The Secure Partition Manager (SPM) prototype implementation is
being removed. This is preparatory work for putting in place a
dispatcher component that, in turn, enables partition managers
at S-EL2 / S-EL1.
This patch removes:
- The core service files (std_svc/spm)
- The Resource Descriptor headers (include/services)
- SPRT protocol support and service definitions
- SPCI protocol support and service definitions
Change-Id: Iaade6f6422eaf9a71187b1e2a4dffd7fb8766426
Signed-off-by: Paul Beesley <paul.beesley@arm.com>
Signed-off-by: Artsem Artsemenka <artsem.artsemenka@arm.com>
Diffstat (limited to 'include/lib')
-rw-r--r-- | include/lib/sprt/sprt_common.h | 38 | ||||
-rw-r--r-- | include/lib/sprt/sprt_host.h | 26 |
2 files changed, 0 insertions, 64 deletions
diff --git a/include/lib/sprt/sprt_common.h b/include/lib/sprt/sprt_common.h deleted file mode 100644 index 27d502749..000000000 --- a/include/lib/sprt/sprt_common.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) 2018, Arm Limited. All rights reserved. - * - * SPDX-License-Identifier: BSD-3-Clause - */ - -#ifndef SPRT_COMMON_H -#define SPRT_COMMON_H - -#define SPRT_MAX_MSG_ARGS 6 - -/* - * Message types supported. - */ -#define SPRT_MSG_TYPE_SERVICE_HANDLE_OPEN 1 -#define SPRT_MSG_TYPE_SERVICE_HANDLE_CLOSE 2 -/* TODO: Add other types of SPRT messages. */ -#define SPRT_MSG_TYPE_SERVICE_TUN_REQUEST 10 - -/* - * Struct that defines the layout of the fields corresponding to a request in - * shared memory. - */ -struct __attribute__((__packed__)) sprt_queue_entry_message { - uint32_t type; /* Type of message (result of an SPCI call). */ - uint16_t client_id; /* SPCI client ID */ - uint16_t service_handle;/* SPCI service handle */ - uint32_t session_id; /* Optional SPCI session ID */ - uint32_t token; /* SPCI request token */ - uint64_t args[SPRT_MAX_MSG_ARGS]; -}; - -#define SPRT_QUEUE_ENTRY_MSG_SIZE (sizeof(struct sprt_queue_entry_message)) - -#define SPRT_QUEUE_NUM_BLOCKING 0 -#define SPRT_QUEUE_NUM_NON_BLOCKING 1 - -#endif /* SPRT_COMMON_H */ diff --git a/include/lib/sprt/sprt_host.h b/include/lib/sprt/sprt_host.h deleted file mode 100644 index f888141dd..000000000 --- a/include/lib/sprt/sprt_host.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright (c) 2018, Arm Limited. All rights reserved. - * - * SPDX-License-Identifier: BSD-3-Clause - */ -#ifndef SPRT_HOST_H -#define SPRT_HOST_H - -#include <stddef.h> - -#include "sprt_common.h" - -/* - * Initialize the specified buffer to be used by SPM. - */ -void sprt_initialize_queues(void *buffer_base, size_t buffer_size); - -/* - * Push a message to the queue number `queue_num` in a buffer that has been - * initialized by `sprt_initialize_queues`. - */ -int sprt_push_message(void *buffer_base, - const struct sprt_queue_entry_message *message, - int queue_num); - -#endif /* SPRT_HOST_H */ |