39 #ifndef __OTE_EXT_NV_H
40 #define __OTE_EXT_NV_H
43 #include <common/ote_ioctl.h>
165 te_error_t te_ext_trusty_prepare_dma(
void *addr, uint64_t *paddr, uint32_t size,
bool write);
182 long te_ext_trusty_finish_dma(
void *regs, uint32_t size,
bool write);
236 te_error_t te_ext_nv_get_map_addr_trusty(uint32_t
id,
void **addr, uint32_t size);
246 long te_ext_nv_get_unmap_addr_trusty(
void *regs, uint32_t size);
uint32_t op
Holds the operation; see te_ext_nv_cache_maint_op_t.
Holds an op code and data used to for cache maintenance.
uint64_t paddr
Holds a pointer to the corresponding physical address.
void * vaddr
Holds a pointer to the virtual address.
Holds a pointer to the physical address for a specific virtual address.
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.
uint32_t id
Holds the OTE_CONFIG_MAP_MEM ID value.
void * vaddr
Holds a pointer to the virtual address.
NVIDIA Trusted Little Kernel Interface: Common Declarations
Cache invalidate operation.
Bit to enable CPC rollback protection support.
void * addr
Holds a pointer to the corresponding address of mapping.
te_ext_nv_cache_maint_op_t
Defines cache maintenance operations.
te_error_t te_ext_nv_virt_to_phys(void *addr, uint64_t *paddr)
Performs virtual-to-physical address translation.
te_error_t te_ext_nv_get_map_addr(uint32_t id, void **addr)
Retrieves mapping of a specified memory range.
uint32_t length
Holds the length of the address space.
te_error_t
Defines Open Trusted Environment (OTE) error codes.
te_ss_config_option_t
Bit mask defines for secure storage configuration options.
Bit to enable RPMB rollback protection support.
Holds a pointer to the map memory for a specific OTE_CONFIG_MAP_MEM ID value.