require '_h2ph_pre.ph';

no warnings 'redefine';

if(!defined (defined(&_ARCH_I386_I386_RBUS_MACHDEP_H_) ? &_ARCH_I386_I386_RBUS_MACHDEP_H_ : 0)) {
    eval 'sub _ARCH_I386_I386_RBUS_MACHDEP_H_ () {1;}' unless defined(&_ARCH_I386_I386_RBUS_MACHDEP_H_);
    eval 'sub md_space_map {
        local($bt, $physaddr, $size, $flags, $bshp) = @_;
	    eval q( &_bus_space_map(($bt), ($physaddr), ($size), ($flags), ($bshp)));
    }' unless defined(&md_space_map);
    eval 'sub md_space_unmap {
        local($bt, $bsh, $size, $adrp) = @_;
	    eval q( &_bus_space_unmap(($bt), ($bsh), ($size), ($adrp)));
    }' unless defined(&md_space_unmap);
}
1;
