add defs and mappings so the code will compile
add arm specific file