require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&__M88K_PSL_H__)) {
    eval 'sub __M88K_PSL_H__ () {1;}' unless defined(&__M88K_PSL_H__);
    if(defined(&_KERNEL)) {
	eval 'sub PID_ARN () {0xff00;}' unless defined(&PID_ARN);
	eval 'sub ARN_SHIFT () {8;}' unless defined(&ARN_SHIFT);
	eval 'sub ARN_88100 () {0x;}' unless defined(&ARN_88100);
	eval 'sub ARN_88110 () {0x1;}' unless defined(&ARN_88110);
	eval 'sub PID_VN () {0xfe;}' unless defined(&PID_VN);
	eval 'sub VN_SHIFT () {1;}' unless defined(&VN_SHIFT);
	eval 'sub PID_MC () {0x1;}' unless defined(&PID_MC);
	eval 'sub PSR_MODE () {0x80000000;}' unless defined(&PSR_MODE);
	eval 'sub PSR_BO () {0x40000000;}' unless defined(&PSR_BO);
	eval 'sub PSR_SER () {0x20000000;}' unless defined(&PSR_SER);
	eval 'sub PSR_C () {0x10000000;}' unless defined(&PSR_C);
	eval 'sub PSR_SGN () {0x4000000;}' unless defined(&PSR_SGN);
	eval 'sub PSR_SRM () {0x2000000;}' unless defined(&PSR_SRM);
	eval 'sub PSR_TRACE () {0x800000;}' unless defined(&PSR_TRACE);
	eval 'sub PSR_SFD () {0x3e0;}' unless defined(&PSR_SFD);
	eval 'sub PSR_SFD2 () {0x10;}' unless defined(&PSR_SFD2);
	eval 'sub PSR_SFD1 () {0x8;}' unless defined(&PSR_SFD1);
	eval 'sub PSR_MXM () {0x4;}' unless defined(&PSR_MXM);
	eval 'sub PSR_IND () {0x2;}' unless defined(&PSR_IND);
	eval 'sub PSR_SFRZ () {0x1;}' unless defined(&PSR_SFRZ);
	eval 'sub FIP_V () {0x2;}' unless defined(&FIP_V);
	eval 'sub FIP_E () {0x1;}' unless defined(&FIP_E);
	eval 'sub FIP_ADDR () {0xfffffffc;}' unless defined(&FIP_ADDR);
	eval 'sub NIP_V () {0x2;}' unless defined(&NIP_V);
	eval 'sub NIP_E () {0x1;}' unless defined(&NIP_E);
	eval 'sub NIP_ADDR () {0xfffffffc;}' unless defined(&NIP_ADDR);
	eval 'sub XIP_V () {0x2;}' unless defined(&XIP_V);
	eval 'sub XIP_E () {0x1;}' unless defined(&XIP_E);
	eval 'sub XIP_ADDR () {0xfffffffc;}' unless defined(&XIP_ADDR);
    }
}
1;
