require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_PMAP_VM_)) {
    eval 'sub _PMAP_VM_ () {1;}' unless defined(&_PMAP_VM_);
    require 'machine/pmap.ph';
    eval 'sub PMAP_WIRED () {0x10;}' unless defined(&PMAP_WIRED);
    eval 'sub PMAP_CANFAIL () {0x20;}' unless defined(&PMAP_CANFAIL);
    unless(defined(&PMAP_EXCLUDE_DECLS)) {
	if(defined(&_KERNEL)) {
	    unless(defined(&pmap_activate)) {
	    }
	    unless(defined(&pmap_deactivate)) {
	    }
	    unless(defined(&pmap_unwire)) {
	    }
	    if(!defined( &pmap_clear_modify)) {
	    }
	    if(!defined( &pmap_clear_reference)) {
	    }
	    if(!defined( &pmap_collect)) {
	    }
	    if(!defined( &pmap_copy)) {
	    }
	    if(!defined( &pmap_copy_page)) {
	    }
	    if(defined( &PMAP_GROWKERNEL)) {
	    }
	    if(!defined( &pmap_is_modified)) {
	    }
	    if(!defined( &pmap_is_referenced)) {
	    }
	    if(!defined( &pmap_phys_address)) {
	    }
	    if(!defined( &pmap_reference)) {
	    }
	    if(!defined( &pmap_remove)) {
	    }
	    if(!defined( &pmap_update)) {
	    }
	    if(!defined( &pmap_zero_page)) {
	    }
	    if(defined( &PMAP_STEAL_MEMORY)) {
	    }
	    if(defined( &PMAP_FORK)) {
	    }
	}
    }
}
1;
