// SPDX-License-Identifier: MIT /* * Copyright 2019 Advanced Micro Devices, Inc. */ #include <linux/slab.h> #include <linux/tee_core.h> #include <linux/psp.h> #include "amdtee_private.h" static int pool_op_alloc(struct tee_shm_pool *pool, struct tee_shm *shm, size_t size, size_t align) { … } static void pool_op_free(struct tee_shm_pool *pool, struct tee_shm *shm) { … } static void pool_op_destroy_pool(struct tee_shm_pool *pool) { … } static const struct tee_shm_pool_ops pool_ops = …; struct tee_shm_pool *amdtee_config_shm(void) { … }