require '_h2ph_pre.ph';

unless(defined(&_PMAP_VM_)) {
    eval 'sub _PMAP_VM_ () {1;}' unless defined(&_PMAP_VM_);
    require 'machine/pmap.ph';
    if(defined( &PMAP_NEW)) {
	eval 'sub PMAP_PGARG {
	    local($PG) = @_;
    	    eval q(($PG));
	}' unless defined(&PMAP_PGARG);
    } else {
	eval 'sub PMAP_PGARG {
	    local($PG) = @_;
    	    eval q(( &VM_PAGE_TO_PHYS($PG)));
	}' unless defined(&PMAP_PGARG);
    }
    unless(defined(&PMAP_EXCLUDE_DECLS)) {
	if(defined(&_KERNEL)) {
	    if(defined( &PMAP_NEW)) {
		if(!defined( &pmap_clear_modify)) {
		}
		if(!defined( &pmap_clear_reference)) {
		}
	    } else {
	    }
	    if(defined( &PMAP_NEW)) {
	    } else {
	    }
	    if(defined( &PMAP_NEW)  && defined( &PMAP_GROWKERNEL)) {
	    }
	    if(!defined( &MACHINE_NONCONTIG)  && !defined( &MACHINE_NEW_NONCONTIG)) {
	    } else {
	    }
	    if(defined( &PMAP_NEW)) {
		if(!defined( &pmap_is_modified)) {
		}
		if(!defined( &pmap_is_referenced)) {
		}
	    } else {
	    }
	    if(!defined( &MACHINE_NEW_NONCONTIG)) {
		unless(defined(&pmap_page_index)) {
		}
	    }
	    if(defined( &PMAP_NEW)) {
	    } else {
	    }
	    if(!defined( &pmap_phys_address)) {
	    }
	    if(defined(&MACHINE_NONCONTIG)) {
	    }
	    if(defined( &MACHINE_NEW_NONCONTIG)  && defined( &PMAP_STEAL_MEMORY)) {
	    } else {
	    }
	}
    }
}
1;
