Comments (4)
ta_heap
and ta_heap_size
will be extern in OPTEE:
If you implement TA in C, you have to set them here:
For your issue, you can change them over here:
I believe it works in our examples since library like serde need more memory, we increase the heap size so that to use it.
from incubator-teaclave-trustzone-sdk.
I found the functions in user_ta_entry.c, but I do not see them getting called.
The main entry point for user_ta_entry.c , __utee_entry, is not getting called.
Do I need to somehow call __utee_entry in the create or open_session functions of my TA in order to get my ta_heap allocation added to the memory pools?
from incubator-teaclave-trustzone-sdk.
The entrypoint of a TA is __ta_entry
:
This entrypoint is specified by linker:
https://github.com/OP-TEE/optee_os/blob/b4814b22dcf813691f1a6697e2013b0cbeb8dca3/ta/arch/arm/link.mk#L29
So, I think it is already added to the memory pools when TA started.
from incubator-teaclave-trustzone-sdk.
Issue staled. I'm closing it. Feel free to reopen if you think it's still valid.
from incubator-teaclave-trustzone-sdk.
Related Issues (20)
- (Solved) Failed to build example HOT 3
- (Solved) Failed to build repo with optee-3.18.0 HOT 3
- Create a persistent object from an initialized transient object HOT 8
- API doc links broken HOT 3
- Will this library support remote attestation? HOT 1
- Upstream status for rustc aarch64-unknown-optee-trustzone target? HOT 7
- Missing mem::forget(b) in TA_InvokeCommand() error path? HOT 3
- [VOTE] Change the default branch to "no-std" HOT 1
- Error: System ran out of resources. (error code 0xffff000c) HOT 8
- Build issues on aarch64 Linux hosts HOT 6
- Get Public/Private key from generated key in TA HOT 2
- Use openssl/serde in host app HOT 2
- Xargo Version? HOT 1
- ECDH shared secret derivation HOT 6
- Performance issues HOT 1
- ./hello_world-rs not found in shared folder HOT 6
- make optee: fatal error: uuid/uuid.h: No such file or directory HOT 6
- Question: returning data from the TA
- Error: Unresolved import 'self::inner'
- Question: Third party crates HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from incubator-teaclave-trustzone-sdk.