require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&SUN_DKMAGIC)) {
    sub SUN_DKMAGIC () {	55998;}
}
unless(defined(&SPTAG_EMPTY)) {
    sub SPTAG_EMPTY () {	0x;}
}
unless(defined(&SPTAG_BOOT)) {
    sub SPTAG_BOOT () {	0x1;}
}
unless(defined(&SPTAG_SUNOS_ROOT)) {
    sub SPTAG_SUNOS_ROOT () {	0x2;}
}
unless(defined(&SPTAG_SUNOS_SWAP)) {
    sub SPTAG_SUNOS_SWAP () {	0x3;}
}
unless(defined(&SPTAG_SUNOS_USR)) {
    sub SPTAG_SUNOS_USR () {	0x4;}
}
unless(defined(&SPTAG_WHOLE_DISK)) {
    sub SPTAG_WHOLE_DISK () {	0x5;}
}
unless(defined(&SPTAG_SUNOS_STAND)) {
    sub SPTAG_SUNOS_STAND () {	0x6;}
}
unless(defined(&SPTAG_SUNOS_VAR)) {
    sub SPTAG_SUNOS_VAR () {	0x7;}
}
unless(defined(&SPTAG_SUNOS_HOME)) {
    sub SPTAG_SUNOS_HOME () {	0x8;}
}
unless(defined(&SPTAG_LINUX_SWAP)) {
    sub SPTAG_LINUX_SWAP () {	0x82;}
}
unless(defined(&SPTAG_LINUX_EXT2)) {
    sub SPTAG_LINUX_EXT2 () {	0x83;}
}
unless(defined(&SUNXPART)) {
    sub SUNXPART () {	8;}
}
unless(defined(&SL_XPMAG)) {
    sub SL_XPMAG () {	(0x199d1fe2+ &SUNXPART);}
}
unless(defined(&SL_XPMAGTYP)) {
    sub SL_XPMAGTYP () {	(0x199d1fe2+ &SUNXPART+1);}
}
unless(defined(&sl_pcyl)) {
    sub sl_pcyl () {	 &sl_pcylinders;}
}
1;
