require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_SPARC64_PCB_H_)) {
    eval 'sub _SPARC64_PCB_H_ () {1;}' unless defined(&_SPARC64_PCB_H_);
    require 'machine/reg.ph';
    if(defined(&notyet)) {
	eval 'sub PCB_MAXWIN () {32;}' unless defined(&PCB_MAXWIN);
    } else {
	eval 'sub PCB_MAXWIN () {8;}' unless defined(&PCB_MAXWIN);
    }
    unless(defined(&_KERNEL)) {
	eval 'sub pcb_psr () { &pcb_pstate;}' unless defined(&pcb_psr);
	eval 'sub pcb_wim () { &pcb_cwp;}' unless defined(&pcb_wim);
    }
}
1;
