Dunno what alt_remap_uncached() is supposed to do! bu I guess it might just giving you an address for the memory that bypasses the cache.
In an mmu-less envornment this will just set the top bit (2^31).
This has two problems:
1) it doesn't invalidate the data cache - dirty lines might get written back.
2) writes to memory before/after the requested item will dirty the cache lines.
(altera's 'malloc uncached memory' function has the same problems)
For device memory this probably isn't an issue.
For 'real' memory you need to ensure the items are cache-line aligned.
with gcc: char foo[32] __attribute__((aligned(16))); will align the addess of a static data item.