Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/common/lib/libx86emu



On Sat, Oct 25, 2008 at 07:01:18PM +0000, Jared D. McNeill wrote:
> Log Message:
> Emulate cpuid instruction.

Do you have something that actually depends on the values returned?
Otherwise I would prefer to just hardcode the values for i486.

That would be feature 0:
        ebx = 0x756e6547
        ecx = 0x6c65746e
        edx = 0x49656e69
feature 1:
        eax = 0x00000480
        ebx = 0
        ecx = 0
        edx = 2
Also this should be reflected in F_MSK, so that cpuid presence can be
detected.

Joerg


Home | Main Index | Thread Index | Old Index