1.6.6 C library functions to access subsections of the __user_libspace static data area

The __user_perproc_libspace() and __user_perthread_libspace() functions return subsections of the __user_libspace static data area.

__user_perproc_libspace()

Returns a pointer to memory for storing data that is global to an entire process. This data is shared between all threads.

In AArch32 state, returns a pointer to 96 bytes of 4-byte aligned memory.

In AArch64 state, returns a pointer to 192 bytes of 8-byte aligned memory.

__user_perthread_libspace()

Returns a pointer to memory for storing data that is local to a particular thread. This means that __user_perthread_libspace() returns a different address depending on the thread it is called from.

In AArch32 state, returns a pointer to 96 bytes of 4-byte aligned memory.

In AArch64 state, returns a pointer to 192 bytes of 8-byte aligned memory.

Non-ConfidentialPDF file icon PDF versionARM 100073_0607_00_en
Copyright © 2014–2017 ARM Limited or its affiliates. All rights reserved.