require '_h2ph_pre.ph';

no warnings 'redefine';

require 'sys/sensors.ph';
unless(defined(&AMIMEM_MAP)) {
    sub AMIMEM_MAP {
	my($_am) = @_;
	eval q((($_am)-> &am_map));
    }
}
unless(defined(&AMIMEM_DVA)) {
    sub AMIMEM_DVA {
	my($_am) = @_;
	eval q((($_am)-> ($am_map->{dm_segs[0]}->{ds_addr})));
    }
}
unless(defined(&AMIMEM_KVA)) {
    sub AMIMEM_KVA {
	my($_am) = @_;
	eval q((( &void *)($_am)-> &am_kva));
    }
}
unless(defined(&AMI_CCB_F_ERR)) {
    sub AMI_CCB_F_ERR () {	(1<<0);}
}
unless(defined(&AMI_CHECK_SIGN)) {
    sub AMI_CHECK_SIGN () {	0x1;}
}
unless(defined(&AMI_BROKEN)) {
    sub AMI_BROKEN () {	0x2;}
}
unless(defined(&AMI_QUARTZ)) {
    sub AMI_QUARTZ () {	0x8;}
}
if(defined(&AMI_DEBUG)) {
}
1;
