Subject: RE: Location for x86emu
To: Joerg Sonnenberger <joerg@britannica.bec.de>
From: De Zeurkous <zeurkous@nichten.info>
List: tech-kern
Date: 11/30/2007 14:25:01
Haai,

On Fri, November 30, 2007 14:06, Joerg Sonnenberger wrote:
> Hi all,
> does someone have a better place than src/sys/compat/x86emu for a 386
> real mode emulator? This is provided to allow callbacks to x86 BIOS
> code, e.g. for VGA post after reset and to replace vm86 and bioscall
> later. It should in the future also allow using vesafb on non-x86
> systems with more work.

Make a new emu hierarchy and move FPU emulation to there, too:

src/sys/arch/i386/emul/86real -> emul_86real
src/sys/arch/i386/emul/i87 -> emul_86fpu (or emul_i87 or something)

Note that I've put it under 'arch/i386' since I presume it can't be used
on anything else than i386 and perhaps amd64. Since I believe more
extensive emulation (I'd love to use compat_pecoff(8) and compat_messdos
with emu_86 as a replacement for crap like wine and DOSbox, repectively)
is best integrated in the kernel as well, this new hierarchy should last.

Baai,

De Zeurkous
-----------

Friggin' Machines!

>
> Joerg
>

-- 
# Proud -net.kook- IRC bot overengineer
% NetBSD, zsh, twm, nvi and roff junkie
From the fool file:
I don't see why the way people have historically partitioned disks should
dictate which kernels we build and distribute by default in the future.
        --Darren Reed (darrenr@NetBSD.org), NetBSD tech-kern