Initial commit (based draft v2 / on patch v5) for implementing platform architecture support for x86 and ARM. bugref:10384