The NetBSD Project

CVS log for src/common/lib/libx86emu/x86emu.c

[BACK] Up to [cvs.NetBSD.org] / src / common / lib / libx86emu

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.14 / (download) - annotate - [select for diffs], Tue Nov 1 19:45:35 2022 UTC (15 months, 3 weeks ago) by andvar
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

s/varaible/variable/ and s/varible/variable/ in comments.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Oct 26 22:09:37 2022 UTC (15 months, 3 weeks ago) by andvar
Branch: MAIN
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

nix double n, i or g in "ing", in comments and documentation.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Dec 5 04:24:08 2021 UTC (2 years, 2 months ago) by msaitoh
Branch: MAIN
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored)

s/asychronous/asynchronous/ in comment.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Dec 5 03:24:19 2021 UTC (2 years, 2 months ago) by msaitoh
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

s/absense/absence/ in comment.

Revision 1.10.24.2 / (download) - annotate - [select for diffs], Tue Apr 21 19:37:51 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.10.24.1: +0 -0 lines
Diff to previous 1.10.24.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Ooops, restore accidently removed files from merge mishap

Revision 1.10.24.1, Tue Apr 21 18:41:25 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.10: +1 -1 lines
FILE REMOVED

Sync with HEAD

Revision 1.7.14.1 / (download) - annotate - [select for diffs], Tue Aug 19 23:45:15 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.7: +26 -15 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.7.26.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:47:06 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.7: +26 -15 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Rebase.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Aug 4 21:41:44 2014 UTC (9 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-maxphys-20171202, tls-earlyentropy-base, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base, ad-namecache
Branch point for: phil-wifi
Changes since 1.9: +14 -7 lines
Diff to previous 1.9 (colored)

Fix decoding of near CALL when address-size prefix (67h) is present.

From Wolf Ramovsky via FreeBSD.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Aug 4 21:40:11 2014 UTC (9 years, 6 months ago) by joerg
Branch: MAIN
Changes since 1.8: +12 -9 lines
Diff to previous 1.8 (colored)

Fix decoding of LEA when address-size prefix (67h) is present.

From Wolf Ramovsky via FreeBSD, loosly based on Xorg changeset f57bc0e
by Christian Zander.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Aug 4 19:19:02 2014 UTC (9 years, 6 months ago) by joerg
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Fix decoding of MOVSX. From Wolf Ramovsky via FreeBSD.

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Mon Feb 16 03:14:20 2009 UTC (15 years ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, 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 (15 years 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 (15 years ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, 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, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, khorben-n900, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: tls-maxphys, tls-earlyentropy
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 (15 years 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 (15 years, 3 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 (15 years, 4 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 (16 years, 1 month 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 (16 years, 2 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 (16 years, 2 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 (16 years, 2 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 (16 years, 2 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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>