#!ipxe
##### check architecture
cpuid --ext 29 && goto x86_64 || goto x86
:x86_64
set arch x86_64 ||
goto go_on
:x86
set arch x86 ||
:go_on