require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_MACHINE_FRAME_H_)) {
    eval 'sub _MACHINE_FRAME_H_ () {1;}' unless defined(&_MACHINE_FRAME_H_);
    require 'machine/alpha_cpu.ph';
    eval 'sub FRAME_V0 () {0;}' unless defined(&FRAME_V0);
    eval 'sub FRAME_T0 () {1;}' unless defined(&FRAME_T0);
    eval 'sub FRAME_T1 () {2;}' unless defined(&FRAME_T1);
    eval 'sub FRAME_T2 () {3;}' unless defined(&FRAME_T2);
    eval 'sub FRAME_T3 () {4;}' unless defined(&FRAME_T3);
    eval 'sub FRAME_T4 () {5;}' unless defined(&FRAME_T4);
    eval 'sub FRAME_T5 () {6;}' unless defined(&FRAME_T5);
    eval 'sub FRAME_T6 () {7;}' unless defined(&FRAME_T6);
    eval 'sub FRAME_T7 () {8;}' unless defined(&FRAME_T7);
    eval 'sub FRAME_S0 () {9;}' unless defined(&FRAME_S0);
    eval 'sub FRAME_S1 () {10;}' unless defined(&FRAME_S1);
    eval 'sub FRAME_S2 () {11;}' unless defined(&FRAME_S2);
    eval 'sub FRAME_S3 () {12;}' unless defined(&FRAME_S3);
    eval 'sub FRAME_S4 () {13;}' unless defined(&FRAME_S4);
    eval 'sub FRAME_S5 () {14;}' unless defined(&FRAME_S5);
    eval 'sub FRAME_S6 () {15;}' unless defined(&FRAME_S6);
    eval 'sub FRAME_A3 () {16;}' unless defined(&FRAME_A3);
    eval 'sub FRAME_A4 () {17;}' unless defined(&FRAME_A4);
    eval 'sub FRAME_A5 () {18;}' unless defined(&FRAME_A5);
    eval 'sub FRAME_T8 () {19;}' unless defined(&FRAME_T8);
    eval 'sub FRAME_T9 () {20;}' unless defined(&FRAME_T9);
    eval 'sub FRAME_T10 () {21;}' unless defined(&FRAME_T10);
    eval 'sub FRAME_T11 () {22;}' unless defined(&FRAME_T11);
    eval 'sub FRAME_RA () {23;}' unless defined(&FRAME_RA);
    eval 'sub FRAME_T12 () {24;}' unless defined(&FRAME_T12);
    eval 'sub FRAME_AT () {25;}' unless defined(&FRAME_AT);
    eval 'sub FRAME_SP () {26;}' unless defined(&FRAME_SP);
    eval 'sub FRAME_SW_SIZE () {( &FRAME_SP + 1);}' unless defined(&FRAME_SW_SIZE);
    eval 'sub FRAME_HW_OFFSET () { &FRAME_SW_SIZE;}' unless defined(&FRAME_HW_OFFSET);
    eval 'sub FRAME_PS () {( &FRAME_HW_OFFSET +  &ALPHA_HWFRAME_PS);}' unless defined(&FRAME_PS);
    eval 'sub FRAME_PC () {( &FRAME_HW_OFFSET +  &ALPHA_HWFRAME_PC);}' unless defined(&FRAME_PC);
    eval 'sub FRAME_GP () {( &FRAME_HW_OFFSET +  &ALPHA_HWFRAME_GP);}' unless defined(&FRAME_GP);
    eval 'sub FRAME_A0 () {( &FRAME_HW_OFFSET +  &ALPHA_HWFRAME_A0);}' unless defined(&FRAME_A0);
    eval 'sub FRAME_A1 () {( &FRAME_HW_OFFSET +  &ALPHA_HWFRAME_A1);}' unless defined(&FRAME_A1);
    eval 'sub FRAME_A2 () {( &FRAME_HW_OFFSET +  &ALPHA_HWFRAME_A2);}' unless defined(&FRAME_A2);
    eval 'sub FRAME_HW_SIZE () { &ALPHA_HWFRAME_SIZE;}' unless defined(&FRAME_HW_SIZE);
    eval 'sub FRAME_SIZE () {( &FRAME_HW_OFFSET +  &FRAME_HW_SIZE);}' unless defined(&FRAME_SIZE);
}
1;
