require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_AARCH64_PROC_H_)) {
    eval 'sub _AARCH64_PROC_H_ () {1;}' unless defined(&_AARCH64_PROC_H_);
    if(defined(&__aarch64__)) {
	if(defined(&_KERNEL_OPT)) {
	    require './aarch64/opt_compat_netbsd32.ph';
	}
	if(defined(&COMPAT_NETBSD32)) {
	    eval 'sub PROC0_MD_INITIALIZERS () {. &p_md = { . &md_march32 =  &MACHINE32_ARCH },;}' unless defined(&PROC0_MD_INITIALIZERS);
	}
    }
 elsif(defined(&__arm__)) {
	require 'arm/proc.ph';
    }
}
1;
