sandboxtee.h 440 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2018 Linaro Limited
  4. */
  5. #ifndef __SANDBOXTEE_H
  6. #define __SANDBOXTEE_H
  7. /**
  8. * struct sandbox_tee_state - internal state of the sandbox TEE
  9. * @session: current open session
  10. * @num_shms: number of registered shared memory objects
  11. * @ta: Trusted Application of current session
  12. */
  13. struct sandbox_tee_state {
  14. u32 session;
  15. int num_shms;
  16. void *ta;
  17. };
  18. #endif /*__SANDBOXTEE_H*/