Skip to content

Puzzle about the malloc and sds_alloc_non_cacheable in example #148

Open
@lishen565

Description

@lishen565

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions