require '_h2ph_pre.ph';

unless(defined(&_MACHINE_PARAM_H_)) {
    eval 'sub _MACHINE_PARAM_H_ () {1;}' unless defined(&_MACHINE_PARAM_H_);
    eval 'sub _MACHINE () { &amiga;}' unless defined(&_MACHINE);
    eval 'sub MACHINE () {"amiga";}' unless defined(&MACHINE);
    eval 'sub PGSHIFT () {13;}' unless defined(&PGSHIFT);
    eval 'sub KERNBASE () {0x00000000;}' unless defined(&KERNBASE);
    eval 'sub SEGSHIFT () {24;}' unless defined(&SEGSHIFT);
    eval 'sub NBSEG () {(( &mmutype ==  &MMU_68040) ? (32* (1<<  &PGSHIFT)) : (256* (1<<  &PGSHIFT)));}' unless defined(&NBSEG);
    eval 'sub SEGOFSET () {( &NBSEG-1);}' unless defined(&SEGOFSET);
    eval 'sub UPAGES () {2;}' unless defined(&UPAGES);
    require 'm68k/param.ph';
    eval 'sub NPTEPG () {( &NBPG/($sizeof{ &pt_entry_t}));}' unless defined(&NPTEPG);
    unless(defined(&NKMEMCLUSTERS)) {
	eval 'sub NKMEMCLUSTERS () {(3072* 1024/  &CLBYTES);}' unless defined(&NKMEMCLUSTERS);
    }
    eval 'sub MSGBUFSIZE () {8192;}' unless defined(&MSGBUFSIZE);
    require 'machine/psl.ph';
    if(defined(&_KERNEL)) {
	unless(defined(&_LOCORE)) {
	}
    }
}
1;
