You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear Pascal :
TEEC_Result TEEC_InitializeContext(const char name, TEEC_Context *context)
{
/ TODO fixme will not work on 64-bit platform */
context->fd = (int)(uintptr_t)ctx;
}
May i ask about this problem , because when I use this function in 64 bit platform, kernel panic will happen , but i have no idea how to fix it . Can you give me more information about this ?
The text was updated successfully, but these errors were encountered:
Dear Jenswi : Thanks for your reply
You mean just update tee-os 2.0 on Apr 4(Tag) , it will fix this problem ?
because I use kernel tee driver ,TEEC_InitializeContext() which in kernel space (\linux-kernel\drivers\optee_linuxdriver) not in tee os file ,
/* TODO fixme will not work on 64-bit platform */
//context->fd = (int)(uintptr_t)ctx;
BUG_ON(ctx != (struct tee_context *)(uintptr_t)context->fd);
We've deprecated the optee_linuxdriver git, instead we're using an in kernel tree driver which we're trying to upstream. This is our development branch https://github.com/linaro-swg/linux/tree/optee.
Dear Pascal :
TEEC_Result TEEC_InitializeContext(const char name, TEEC_Context *context)
{
/ TODO fixme will not work on 64-bit platform */
context->fd = (int)(uintptr_t)ctx;
}
May i ask about this problem , because when I use this function in 64 bit platform, kernel panic will happen , but i have no idea how to fix it . Can you give me more information about this ?
The text was updated successfully, but these errors were encountered: