{"action":"created","issue":{"url":"https://api.github.com/repos/OP-TEE/optee_os/issues/499","labels_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/499/labels{/name}","comments_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/499/comments","events_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/499/events","html_url":"https://github.com/OP-TEE/optee_os/issues/499","id":111310398,"number":499,"title":"change TA_DATA_SIZE issue","user":{"login":"neil1899","id":5242551,"avatar_url":"https://avatars.githubusercontent.com/u/5242551?v=3","gravatar_id":"","url":"https://api.github.com/users/neil1899","html_url":"https://github.com/neil1899","followers_url":"https://api.github.com/users/neil1899/followers","following_url":"https://api.github.com/users/neil1899/following{/other_user}","gists_url":"https://api.github.com/users/neil1899/gists{/gist_id}","starred_url":"https://api.github.com/users/neil1899/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neil1899/subscriptions","organizations_url":"https://api.github.com/users/neil1899/orgs","repos_url":"https://api.github.com/users/neil1899/repos","events_url":"https://api.github.com/users/neil1899/events{/privacy}","received_events_url":"https://api.github.com/users/neil1899/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-14T02:48:44Z","updated_at":"2015-10-14T07:17:18Z","closed_at":null,"body":"hi,all\r\nif i change the TA_DATA_SIZE in user_ta_header.h, I change to 1M, but 32K is ok\r\n\r\nthe code is:\r\nstatic TEEC_Result allocshm(TEEC_Context *ctx,\r\n\t\t\t\t\tTEEC_SharedMemory *shm, uint32_t size,\r\n\t\t\t\t\tuint32_t flags)\r\n{\r\n\tshm->flags = flags;\r\n\tshm->size = size;\r\n\treturn TEEC_AllocateSharedMemory(ctx, shm);\r\n}\r\n\r\n\tif (allocshm(&ctx, &shm, 128, TEEC_MEM_OUTPUT) != TEEC_SUCCESS) {  \r\n\t  \treturn TEEC_ERROR_GENERIC;\r\n\t}\r\n\r\n\top.paramTypes = TEEC_PARAM_TYPES(TEEC_MEMREF_PARTIAL_OUTPUT,       TEEC_VALUE_INOUT,\r\n\t\t\t\t\t TEEC_NONE, TEEC_NONE);\r\n\top.started = 1;  \r\n\top.params[0].memref.parent = &shm;\r\n\top.params[0].memref.offset = 0;\r\n\top.params[0].memref.size = shm.size;\r\n\r\nit can't work well:\r\n\r\nERR [-148145172] TEEC:TEEC_InvokeCommand:412: Function returns with [-65529]\r\ntee_helloworld: TEEINF USER-TA:TA_CloseSessionEntryPoint:97: Goodbye!\r\nC_InvokeCommand failed with code 0xffff0007 origin 0x4\r\n\r\nthanks in advance!"},"comment":{"url":"https://api.github.com/repos/OP-TEE/optee_os/issues/comments/147959616","html_url":"https://github.com/OP-TEE/optee_os/issues/499#issuecomment-147959616","issue_url":"https://api.github.com/repos/OP-TEE/optee_os/issues/499","id":147959616,"user":{"login":"neil1899","id":5242551,"avatar_url":"https://avatars.githubusercontent.com/u/5242551?v=3","gravatar_id":"","url":"https://api.github.com/users/neil1899","html_url":"https://github.com/neil1899","followers_url":"https://api.github.com/users/neil1899/followers","following_url":"https://api.github.com/users/neil1899/following{/other_user}","gists_url":"https://api.github.com/users/neil1899/gists{/gist_id}","starred_url":"https://api.github.com/users/neil1899/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neil1899/subscriptions","organizations_url":"https://api.github.com/users/neil1899/orgs","repos_url":"https://api.github.com/users/neil1899/repos","events_url":"https://api.github.com/users/neil1899/events{/privacy}","received_events_url":"https://api.github.com/users/neil1899/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T07:17:18Z","updated_at":"2015-10-14T07:17:18Z","body":"hi, jenswi:\r\nthank so much, i will try my best. according to your reply, it's a existent bug in current branch, right?"}}