FFe: upstream x86emu refresh

Bug #204936 reported by Kees Cook
8
Affects Status Importance Assigned to Milestone
libx86 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

This is a refresh from xorg of the x86emu code, which includes bug fixes and 2 new opcodes (cpuid and rdtsc) which appear to be needed to deal with some newer video cards. (This update would fix bug 147623.)

Revision history for this message
Kees Cook (kees) wrote :

libx86 (0.99-1.2ubuntu3) hardy; urgency=low

  * Makefile, thunk.c, xf86/*, x86-common.c: rearranged and cleaned up
    compiler warnings, made to build easier with upstream snapshots. Fixed
    bug in debugging output.
  * patches-against-xorg: extracted patches against upstream x86emu:
    - license.patch: original code license, missing from xorg (applied)
    - stop-at-top.patch: required for usplash sanity (applied)
    - process-memory.patch: allow memory access in additional regions (applied)
    - inline-prims.patch: previously used inline asm functions (not applied)
  * README: document layout for future sanity.
  * x86emu/: refresh from xorg 5de1854a0caa4c5836a6b24124350870f2673070.
    Adds cpuid and rdtsc instructions (LP: #147623).

 -- Kees Cook <email address hidden> Fri, 21 Mar 2008 18:09:38 -0700

 Makefile | 4
 README | 14 +
 debian/changelog | 16 +
 patches-against-xorg/inline-prims.patch | 400 ++++++++++++++++++++++++++++++
 patches-against-xorg/license.patch | 21 +
 patches-against-xorg/process-memory.patch | 94 +++++++
 patches-against-xorg/stop-at-top.patch | 17 +
 thunk.c | 38 +-
 x86-common.c | 13
 x86emu/Makefile.am | 26 +
 x86emu/debug.c | 155 +++++------
 x86emu/decode.c | 79 +++--
 x86emu/include/fpu_regs.h | 112 --------
 x86emu/include/regs.h | 330 ------------------------
 x86emu/include/types.h | 107 --------
 x86emu/include/x86emu.h | 194 --------------
 x86emu/include/xf86int10.h | 213 ---------------
 x86emu/include/xf86x86emu.h | 51 ---
 x86emu/makefile | 63 ----
 x86emu/makefile.linux | 63 ----
 x86emu/ops.c | 29 +-
 x86emu/ops2.c | 72 +++--
 x86emu/prim_ops.c | 266 -------------------
 x86emu/sys.c | 121 ++++++---
 x86emu/validate.c | 4
 x86emu/x86emu.h | 198 ++++++++++++++
 x86emu/x86emu/debug.h | 17 -
 x86emu/x86emu/fpu_regs.h | 8
 x86emu/x86emu/prim_ops.h | 90 ------
 x86emu/x86emu/regs.h | 8
 x86emu/x86emu/types.h | 2
 x86emu/x86emu/x86emu.h | 193 --------------
 x86emu/x86emu/x86emui.h | 20 -
 xf86/xf86int10.h | 215 ++++++++++++++++
 xf86/xf86x86emu.h | 51 +++
 35 files changed, 1399 insertions(+), 1905 deletions(-)

Revision history for this message
Kees Cook (kees) wrote :

Erk, minor glitch -- was missing cpuid instruction. ;) debdiff updated.

Revision history for this message
Kees Cook (kees) wrote :

Minimal change debdiff -- just the new instructions and fixes. This also fixes the 64bit nvidia bug. Note that this might put the card in an even less sane state...

Revision history for this message
Kees Cook (kees) wrote :

We'll do this update in intrepid. In the meantime, we'll upload the minimal version.

Changed in libx86:
status: New → Invalid
Revision history for this message
Kees Cook (kees) wrote :

sistpoty is seeing opcode debug when using the new versions...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.