uncompress Code is shared because it is rom. and every CPU has its own stack on its cache.
So a decompressor is in ROM, reads from ROM, writes to RAM and has its stack in cache? Or do we uncompress to cache?
How big is that cache? I can modify lzma to only need 6000 bytes stack and no additional memory allocations.
Are reads from ROM special (alignment problems etc)? Can I treat stack like normal RAM?