require '_h2ph_pre.ph';

unless(defined(&_POWERPC_FRAME_H_)) {
    eval 'sub _POWERPC_FRAME_H_ () {1;}' unless defined(&_POWERPC_FRAME_H_);
    require 'machine/types.ph';
    eval 'sub FRAMELEN () { &roundup($sizeof{\'struct trapframe\'} + 8, 16);}' unless defined(&FRAMELEN);
    eval 'sub trapframe {
        local($p) = @_;
	    eval q(((($p)-> &p_addr +  &USPACE -  &FRAMELEN + 8)));
    }' unless defined(&trapframe);
}
1;
