NVIDIA DRIVE OS Linux API Reference

5.1.3.0 Release

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

Detailed Description

NVIDIA Trusted Little Kernel Interface: Memory/Cache Management

Description: Declares memory/cache management in the TLK.

Definition in file ote_ext_nv.h.

Go to the source code of this file.

Data Structures

struct  te_map_mem_addr_args_t
 Holds a pointer to the map memory for a specific OTE_CONFIG_MAP_MEM ID value. More...
 
struct  te_v_to_p_args_t
 Holds a pointer to the physical address for a specific virtual address. More...
 
struct  te_cache_maint_args_t
 Holds an op code and data used to for cache maintenance. More...
 

Enumerations

enum  te_ext_nv_cache_maint_op_t {
  OTE_EXT_NV_CM_OP_CLEAN = 1,
  OTE_EXT_NV_CM_OP_INVALIDATE = 2,
  OTE_EXT_NV_CM_OP_FLUSH = 3
}
 Defines cache maintenance operations. More...
 
enum  te_ss_config_option_t {
  OTE_SS_CONFIG_RPMB_ENABLE = 0x0000001,
  OTE_SS_CONFIG_CPC_ENABLE = 0x0000002
}
 Bit mask defines for secure storage configuration options. More...
 

Functions

te_error_t te_ext_nv_cache_maint (te_ext_nv_cache_maint_op_t op, void *addr, uint32_t length)
 Performs a cache maintenance operation. More...
 
te_error_t te_ext_nv_virt_to_phys (void *addr, uint64_t *paddr)
 Performs virtual-to-physical address translation. More...
 
te_error_t te_ext_nv_get_map_addr (uint32_t id, void **addr)
 Retrieves mapping of a specified memory range. More...