Port-amd64 archive

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

Re: NetBSD/amd64 in qemu



jakllsch%kollasch.net@localhost wrote:
Hi,

In Qemu 0.9.1, I've tested various versions of NetBSD/amd64,

NetBSD 3.1/amd64: Works

NetBSD 4.0/amd64: almost works (disable acpi in qemu or userconf)

NetBSD-current/amd64: needs a small fix:

In spllower() in amd64/amd64/spl.S
changing

        movl    CPUVAR(IUNMASK)(,%edi,4), %edx

to

        movl    CPUVAR(IUNMASK)(,%rdi,4), %edx

allows the virtual CPU to not triple fault on this
instruction, early in the kernel.  I guessed at
this as the amd64_spllower() used %rdi, rather than %edi.

Hi Jonathan --

Thanks for tracking this down! Can you append this patch to port-amd64/37714 ?

Cheers,
Jared


Home | Main Index | Thread Index | Old Index