Subject: CVS commit: src/common/lib/libx86emu
To: None <source-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@netbsd.org>
List: source-changes
Date: 11/30/2007 20:02:50
Module Name:	src
Committed By:	joerg
Date:		Fri Nov 30 20:02:50 UTC 2007

Added Files:
	src/common/lib/libx86emu: Makefile.inc x86emu.c x86emu.h x86emu_regs.h
	    x86emu_util.c

Log Message:
Add x86emu for in-kernel use. This is a 386 real mode emulator that can
be used to run ROM code inside the kernel without having to setup vm86
and without having a x86 CPU at hand.

This code was originally written by SciTech and released under MIT/X11
license for XFree86. It has been refactored be less than half of the
original size, the compiled code being around a third of the former
size. The interface was changed to be a real library, e.g. no global
variables are used.


To generate a diff of this commit:
cvs rdiff -r0 -r1.1 src/common/lib/libx86emu/Makefile.inc \
    src/common/lib/libx86emu/x86emu.c src/common/lib/libx86emu/x86emu.h \
    src/common/lib/libx86emu/x86emu_regs.h \
    src/common/lib/libx86emu/x86emu_util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.