Up to [cvs.netbsd.org] / src / common / lib / libx86emu
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.5.2.2 / (download) - annotate - [select for diffs], Mon Feb 16 03:14:20 2009 UTC (3 years, 3 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b
Changes since 1.5.2.1: +3 -1
lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)
Pull up following revision(s) (requested by joerg in ticket #410): common/lib/libx86emu/x86emu.c: revision 1.7 0:0 is the adress x86emu_call pushes on the stack, so check for it here explicitly to stop processing again. As this is the start of the IDT, normal code is not likely to override it.
Revision 1.5.2.1 / (download) - annotate - [select for diffs], Mon Feb 16 03:12:47 2009 UTC (3 years, 3 months ago) by snj
Branch: netbsd-5
Changes since 1.5: +10 -6
lines
Diff to previous 1.5 (colored)
Pull up following revision(s) (requested by joerg in ticket #410):
common/lib/libx86emu/x86emu.c: revision 1.6
Fix three bugs in the instruction decoder:
(1) Mode 5 for SIB uses EBP as base, not ESP.
(2) RM register mode 5 needs a segment override for SS when not using an
immediate in 32bit mode.
(3) Same for mode 6 in 16bit mode.
From anon ymous.
Revision 1.7 / (download) - annotate - [select for diffs], Tue Feb 3 19:26:29 2009 UTC (3 years, 3 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
yamt-nfs-mp-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
rmind-uvmplock-base,
netbsd-6-base,
netbsd-6,
matt-premerge-20091211,
matt-mips64-premerge-20101231,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
HEAD
Changes since 1.6: +3 -1
lines
Diff to previous 1.6 (colored)
0:0 is the adress x86emu_call pushes on the stack, so check for it here explicitly to stop processing again. As this is the start of the IDT, normal code is not likely to override it.
Revision 1.6 / (download) - annotate - [select for diffs], Tue Feb 3 19:14:52 2009 UTC (3 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.5: +10 -6
lines
Diff to previous 1.5 (colored)
Fix three bugs in the instruction decoder:
(1) Mode 5 for SIB uses EBP as base, not ESP.
(2) RM register mode 5 needs a segment override for SS when not using an
immediate in 32bit mode.
(3) Same for mode 6 in 16bit mode.
From anon ymous.
Revision 1.5 / (download) - annotate - [select for diffs], Mon Oct 27 00:20:22 2008 UTC (3 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: netbsd-5-base,
netbsd-5-0-RC2,
netbsd-5-0-RC1
Branch point for: netbsd-5
Changes since 1.4: +13 -13
lines
Diff to previous 1.4 (colored)
Raise correct interrupt on division errors.
Revision 1.4 / (download) - annotate - [select for diffs], Sat Oct 25 19:01:18 2008 UTC (3 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.3: +51 -1
lines
Diff to previous 1.3 (colored)
Emulate cpuid instruction.
Revision 1.3.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:21:37 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.3.2.1: +8046 -0
lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)
sync with HEAD
Revision 1.3.2.1, Thu Dec 13 16:41:59 2007 UTC (4 years, 5 months ago) by matt
Branch: matt-armv6
Changes since 1.3: +0 -8046
lines
FILE REMOVED
file x86emu.c was added on branch matt-armv6 on 2008-01-09 01:21:36 +0000
Revision 1.3 / (download) - annotate - [select for diffs], Thu Dec 13 16:41:59 2007 UTC (4 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
mjf-devfs2-base,
mjf-devfs2,
matt-mips64-base2,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base
Branch point for: matt-armv6
Changes since 1.2: +23 -48
lines
Diff to previous 1.2 (colored)
Refactor interrupt dispatching.
Revision 1.2 / (download) - annotate - [select for diffs], Tue Dec 4 17:32:22 2007 UTC (4 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
cube-autoconf-base,
cube-autoconf
Changes since 1.1: +3 -3
lines
Diff to previous 1.1 (colored)
Expect that src/common/include is in include path and use x86emu/* for the includes.
Revision 1.1 / (download) - annotate - [select for diffs], Fri Nov 30 20:02:49 2007 UTC (4 years, 5 months ago) by joerg
Branch: MAIN
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.