Port-amd64 archive

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

NetBSD/amd64 in qemu



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.

        Jonathan Kollasch

Attachment: pgpU61Jq9ZwEv.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index