45 #include <sys/types.h>
76 #define OTE_ATTR_VAL 1 << 29
77 #define OTE_ATTR_PUB 1 << 28
111 void *buffer, uint32_t size);
154 uint32_t a, uint32_t b);
te_error_t te_set_mem_attribute(te_attribute_t *attr, te_attribute_id_t id, void *buffer, uint32_t size)
Sets up a memory attribute struct for use in other functions.
OTE_ATTR_VAL | OTE_ATTR_PUB.
OTE_ATTR_VAL | OTE_ATTR_PUB.
te_attribute_id_t
Defines attribute ID types.
NVIDIA Trusted Little Kernel Interface: Error Handling
te_error_t te_set_int_attribute(te_attribute_t *attr, te_attribute_id_t id, uint32_t a, uint32_t b)
Sets the integer attribute.
te_error_t te_get_mem_attribute_buffer(te_attribute_t *attr, void **ret)
Gets a memory attribute buffer.
Defines attribute object internals.
te_error_t te_get_mem_attribute_size(te_attribute_t *attr, size_t *ret)
Gets memory attribute size.
void te_copy_mem_attribute(void *buffer, te_attribute_t *key)
Copies the memory attribute.
te_error_t
Defines Open Trusted Environment (OTE) error codes.
void te_free_internal_attribute(te_attribute_t *attr)
Frees internal attribute memory.
te_error_t te_copy_attribute(te_attribute_t *dst, te_attribute_t *src)
Copies attribute internals.