require '_h2ph_pre.ph';

unless(defined(&AMDPM_CONFREG)) {
    sub AMDPM_CONFREG () {	0x40;}
}
unless(defined(&AMDPM_RNGEN)) {
    sub AMDPM_RNGEN () {	0x80;}
}
unless(defined(&AMDPM_PMIOEN)) {
    sub AMDPM_PMIOEN () {	0x8000;}
}
unless(defined(&AMDPM_PMPTR)) {
    sub AMDPM_PMPTR () {	0x58;}
}
unless(defined(&AMDPM_PMBASE)) {
    sub AMDPM_PMBASE {
	local($x) = @_;
	eval q((($x) & 0xff00));
    }
}
unless(defined(&AMDPM_PMSIZE)) {
    sub AMDPM_PMSIZE () {	256;}
}
unless(defined(&AMDPM_RNGDATA)) {
    sub AMDPM_RNGDATA () {	0xf0;}
}
unless(defined(&AMDPM_RNGSTAT)) {
    sub AMDPM_RNGSTAT () {	0xf4;}
}
unless(defined(&AMDPM_RNGDONE)) {
    sub AMDPM_RNGDONE () {	0x1;}
}
1;
