require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_I386_PCB_H_)) {
    eval 'sub _I386_PCB_H_ () {1;}' unless defined(&_I386_PCB_H_);
    require 'sys/signal.ph';
    require 'machine/segments.ph';
    require 'machine/tss.ph';
    require 'machine/npx.ph';
    require 'machine/sysarch.ph';
    eval 'sub NIOPORTS () {1024;}' unless defined(&NIOPORTS);
    eval 'sub pcb_cr3 () { ($pcb_tss->{tss_cr3});}' unless defined(&pcb_cr3);
    eval 'sub pcb_esp () { ($pcb_tss->{tss_esp});}' unless defined(&pcb_esp);
    eval 'sub pcb_ebp () { ($pcb_tss->{tss_ebp});}' unless defined(&pcb_ebp);
    eval 'sub pcb_cs () { ($pcb_tss->{tss_cs});}' unless defined(&pcb_cs);
    eval 'sub pcb_ldt_sel () { ($pcb_tss->{tss_ldt});}' unless defined(&pcb_ldt_sel);
}
1;
