NVIDIA DRIVE OS Linux API Reference

5.1.0.2 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ote_client.h File Reference

Detailed Description

NVIDIA Trusted Little Kernel Interface: Client Communications

Description: Declares the TLK client interface.

Definition in file ote_client.h.

Go to the source code of this file.

Data Structures

struct  te_answer
 
struct  ote_opensession
 Opens an open trusted environment (OTE) session. More...
 
struct  ote_closesession
 Closes an OTE session. More...
 
struct  ote_launchop
 Launches an operation request. More...
 
union  te_cmd
 

Macros

#define TLK_DEVICE_BASE_NAME   "tlk_device"
 
#define TE_IOCTL_MAGIC_NUMBER   ('t')
 
#define TE_IOCTL_OPEN_CLIENT_SESSION   _IOWR(TE_IOCTL_MAGIC_NUMBER, 0x10, union te_cmd)
 
#define TE_IOCTL_CLOSE_CLIENT_SESSION   _IOWR(TE_IOCTL_MAGIC_NUMBER, 0x11, union te_cmd)
 
#define TE_IOCTL_LAUNCH_OP   _IOWR(TE_IOCTL_MAGIC_NUMBER, 0x14, union te_cmd)
 
#define TE_IOCTL_SS_CMD   _IOR(TE_IOCTL_MAGIC_NUMBER, 0x30, int)
 
#define TE_IOCTL_SS_CMD_GET_NEW_REQ   1
 
#define TE_IOCTL_SS_CMD_REQ_COMPLETE   2
 
#define LIBCA_ERR(args...)   te_fprintf(TE_ERR, args)
 
#define LIBCA_INFO(args...)   te_fprintf(TE_INFO, args)
 
#define LIBCA_SECURE(args...)   te_fprintf(TE_SECURE, args)
 

Enumerations

enum  {
  TLK_SMC_REQUEST = 0xFFFF1000,
  TLK_SMC_GET_MORE = 0xFFFF1001,
  TLK_SMC_ANSWER = 0xFFFF1002,
  TLK_SMC_NO_ANSWER = 0xFFFF1003,
  TLK_SMC_OPEN_SESSION = 0xFFFF1004,
  TLK_SMC_CLOSE_SESSION = 0xFFFF1005
}
 Defines secure monitor calls (SMC) that clients use to communicate with trusted applications (TAs) in the secure world. More...
 
enum  tos_type_t {
  TOS_NONE = 0x0,
  TOS_TRUSTY = 0x1,
  TOS_TLK = 0x2
}
 Currently supported Trusted OS variants. More...
 

Functions

tos_type_t te_tos_type (void)
 Returns the current Trusted OS type. More...