The new 'swap' and 'realloc' functions are needed in scenarios where 'Attached_ram_dataspace' is used to implement double buffering. The particular use case is the implementation of dynamic ROM sessions.