Subversion Repositories ALCASAR

Rev

Rev 3037 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 3037 Rev 3100
Line 71... Line 71...
71
                    $dev->setMin($oneMem['MinVoltage']/1000);
71
                    $dev->setMin($oneMem['MinVoltage']/1000);
72
                }
72
                }
73
                $this->mbinfo->setMbVolt($dev);
73
                $this->mbinfo->setMbVolt($dev);
74
            }
74
            }
75
        }
75
        }
76
        if ((PSI_OS != 'WINNT') && !defined('PSI_EMU_HOSTNAME')) {
76
        if ((PSI_OS != 'WINNT') && (!defined('PSI_EMU_HOSTNAME') || defined('PSI_EMU_PORT'))) {
77
            $dmimd = CommonFunctions::readdmimemdata();
77
            $dmimd = CommonFunctions::readdmimemdata();
78
            $counter = 0;
78
            $counter = 0;
79
            foreach ($dmimd as $mem) {
79
            foreach ($dmimd as $mem) {
80
                if (isset($mem['Size']) && preg_match('/^(\d+)\s(M|G)B$/', $mem['Size'], $size) && ($size[1] > 0)
80
                if (isset($mem['Size']) && preg_match('/^(\d+)\s(M|G)B$/', $mem['Size'], $size) && ($size[1] > 0)
81
                    && isset($mem['Configured Voltage']) && preg_match('/^([\d\.]+)\sV$/', $mem['Configured Voltage'], $voltage) && ($voltage[1] > 0)) {
81
                    && isset($mem['Configured Voltage']) && preg_match('/^([\d\.]+)\sV$/', $mem['Configured Voltage'], $voltage) && ($voltage[1] > 0)) {