Move RTOS Stack and HEAP to other RAM Region?

Where do I find this definition of the array?
I know that the attribute should be:

__attribute__ ((used,section(".ram2")))