Introduce arch_interface to abstract interface specific functions away.
Fix shm-snapshot compatibility
Merge pull request #135 from tklengyel/arch

Introduce arch_interface to abstract architecture specific functions away