require '_h2ph_pre.ph';

unless(defined(&_MAC68K_PIO_H_)) {
    eval 'sub _MAC68K_PIO_H_ () {1;}' unless defined(&_MAC68K_PIO_H_);
    eval 'sub inl {
        local($y) = @_;
	    eval q(({ \'unsigned long _tmp__\';  &asm  &volatile(\\"inl %1, %0\\" : \\"=a\\" : \\"d\\" (($y)));  &_tmp__; }));
    }' unless defined(&inl);
    eval 'sub inw {
        local($y) = @_;
	    eval q(({ \'unsigned short _tmp__\';  &asm  &volatile(\\".byte 0x66; inl %1, %0\\" : \\"=a\\" : \\"d\\" (($y)));  &_tmp__; }));
    }' unless defined(&inw);
    eval 'sub inb {
        local($y) = @_;
	    eval q(({ \'unsigned char _tmp__\';  &asm  &volatile(\\"inb %1, %0\\" : \\"=a\\" : \\"d\\" (($y)));  &_tmp__; }));
    }' unless defined(&inb);
    eval 'sub outl {
        local($x, $y) = @_;
	    eval q({  &asm  &volatile(\\"outl %0, %1\\" : : \\"a\\" , \\"d\\" (($x))); });
    }' unless defined(&outl);
    eval 'sub outw {
        local($x, $y) = @_;
	    eval q({ &asm  &volatile(\\".byte 0x66; outl %0, %1\\" : : \\"a\\" () , \\"d\\" (($x))); });
    }' unless defined(&outw);
    eval 'sub outb {
        local($x, $y) = @_;
	    eval q({  &asm  &volatile(\\"outb %0, %1\\" : : \\"a\\" () , \\"d\\" (($x))); });
    }' unless defined(&outb);
}
1;
