Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Puzzle about the malloc and sds_alloc_non_cacheable in example #148

Open
lishen565 opened this issue Feb 20, 2019 · 0 comments
Open

Puzzle about the malloc and sds_alloc_non_cacheable in example #148

lishen565 opened this issue Feb 20, 2019 · 0 comments

Comments

@lishen565
Copy link

Hi all, I made my own app.elf and found that function malloc and sds_alloc_on_cacheable were different in return ptr value's effective digit. For example , the return ptr of malloc was like to be 0x18a73c20, which was 32bit effective digit. But the return ptr of sds_alloc_on_cacheable was like to be 0x7f85084010, which was 40bit effective digit. If I tried to malloc a large mem size , the return ptr of malloc would also to be 40bit effective digit. Could anyone explain this issue? I find that zcu102 has a PS ddr and a PL ddr. Does zcu102 32 bit correspond to PS DDR and 40 bit to pl ddr? Thanks a lot.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant