Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Go to file
j_mayer 6ebbf39000 Replace is_user variable with mmu_idx in softmmu core,
allowing support of more than 2 mmu access modes.
Add backward compatibility is_user variable in targets code when needed.
Implement per target cpu_mmu_index function, avoiding duplicated code
  and #ifdef TARGET_xxx in softmmu core functions.
Implement per target mmu modes definitions. As an example, add PowerPC
  hypervisor mode definition and Alpha executive and kernel modes definitions.
Optimize PowerPC case, precomputing mmu_idx when MSR register changes
  and using the same definition in code translation code.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3384 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-14 07:07:08 +00:00
audio Spelling fix, by Stuart Brady. 2007-07-12 10:59:21 +00:00
darwin-user Fix missing case in the new PowerPC exception model. 2007-09-30 15:15:18 +00:00
fpu find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
hw Replace is_user variable with mmu_idx in softmmu core, 2007-10-14 07:07:08 +00:00
keymaps find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
linux-user Unify '-cpu ?' option. 2007-10-12 06:47:46 +00:00
pc-bios Quickly hack PowerPC BIOS able to boot on CDROM again. 2007-10-01 06:44:33 +00:00
slirp find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
target-alpha Replace is_user variable with mmu_idx in softmmu core, 2007-10-14 07:07:08 +00:00
target-arm Replace is_user variable with mmu_idx in softmmu core, 2007-10-14 07:07:08 +00:00
target-cris Replace is_user variable with mmu_idx in softmmu core, 2007-10-14 07:07:08 +00:00
target-i386 Replace is_user variable with mmu_idx in softmmu core, 2007-10-14 07:07:08 +00:00
target-m68k Replace is_user variable with mmu_idx in softmmu core, 2007-10-14 07:07:08 +00:00
target-mips Replace is_user variable with mmu_idx in softmmu core, 2007-10-14 07:07:08 +00:00
target-ppc Replace is_user variable with mmu_idx in softmmu core, 2007-10-14 07:07:08 +00:00
target-sh4 Replace is_user variable with mmu_idx in softmmu core, 2007-10-14 07:07:08 +00:00
target-sparc Replace is_user variable with mmu_idx in softmmu core, 2007-10-14 07:07:08 +00:00
tests Add CRIS configuration bits, by Edgar E. Iglesias. 2007-10-08 13:38:27 +00:00
.cvsignore Update .cvsignore. 2007-10-09 03:05:08 +00:00
a.out.h 64bit->win32 cross build fix. 2007-03-04 00:52:16 +00:00
aes.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
aes.h AES crypto support 2004-08-01 21:54:53 +00:00
alpha-dis.c find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
alpha.ld alpha support 2003-04-29 20:53:42 +00:00
arm-dis.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
arm-semi.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
arm.ld Rewrite Arm host support. 2006-07-30 19:16:29 +00:00
block_int.h find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
block-bochs.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
block-cloop.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
block-cow.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
block-dmg.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
block-parallels.c Parallels disk image support, by Alex Beregszaszi. 2007-07-31 23:28:53 +00:00
block-qcow2.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
block-qcow.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
block-raw.c Avoid compilation warnings on 64 bits hosts. 2007-09-21 06:09:39 +00:00
block-vmdk.c Avoid compilation warnings on 64 bits hosts. 2007-09-21 06:09:39 +00:00
block-vpc.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
block-vvfat.c vvfat mbr fixes, by Ivan Kalvachev. 2007-09-25 14:47:03 +00:00
block.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
bswap.h find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
Changelog Support for executing 32 bit SPARC32PLUS files for Sparc64 user emulator 2007-10-09 16:34:29 +00:00
check_ops.sh Script to check for missing FORCE_RET. 2007-01-07 19:38:08 +00:00
cocoa.m find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
configure Support for executing 32 bit SPARC32PLUS files for Sparc64 user emulator 2007-10-09 16:34:29 +00:00
console.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
COPYING distribution patches 2003-03-23 20:17:16 +00:00
COPYING.LIB update 2003-05-25 16:41:52 +00:00
cpu-all.h SVM Support, by Alexander Graf. 2007-09-23 15:28:04 +00:00
cpu-defs.h Replace is_user variable with mmu_idx in softmmu core, 2007-10-14 07:07:08 +00:00
cpu-exec.c Replace is_user variable with mmu_idx in softmmu core, 2007-10-14 07:07:08 +00:00
cris-dis.c CRIS disassembler, originally from binutils, by Edgar E. Iglesias. 2007-10-08 12:45:38 +00:00
cutils.c find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
d3des.c Actually add d3des implementation files. 2007-08-25 02:09:50 +00:00
d3des.h Actually add d3des implementation files. 2007-08-25 02:09:50 +00:00
dis-asm.h Wire up CRIS disassembler, by Edgar E. Iglesias. 2007-10-08 12:46:58 +00:00
disas.c Wire up CRIS disassembler, by Edgar E. Iglesias. 2007-10-08 12:46:58 +00:00
disas.h monitor_disas() prototype change 2005-11-21 23:35:10 +00:00
dyngen-exec.h find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
dyngen-op.h labels support in dyngen 2005-01-03 23:44:44 +00:00
dyngen.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
dyngen.h find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
elf_ops.h Remove the target dependency introduced by previous patch 2007-09-25 17:30:09 +00:00
elf.h Report missing elf_addr_t definition from Linux kernel header 2007-10-07 16:07:25 +00:00
exec-all.h Replace is_user variable with mmu_idx in softmmu core, 2007-10-14 07:07:08 +00:00
exec.c Replace is_user variable with mmu_idx in softmmu core, 2007-10-14 07:07:08 +00:00
gdbstub.c CRIS support in toplevel, by Edgar E. Iglesias. 2007-10-08 13:16:14 +00:00
gdbstub.h Allow gdbstub to connect over any serial device. 2007-02-22 01:48:01 +00:00
host-utils.c More generic 64 bit multiplication support, by Aurelien Jarno. 2007-05-16 11:59:40 +00:00
hostregs_helper.h Fix 64-bit host register corruption. 2007-02-04 13:37:44 +00:00
hpet.h Add a local copy of hpet.h. 2007-09-16 20:03:23 +00:00
i386-dis.c do not assume signed char 2004-10-12 21:52:40 +00:00
i386-vl.ld allow up to 256 MB of ram 2003-07-01 16:27:45 +00:00
i386.ld redhat 9 fix 2003-10-28 00:47:19 +00:00
ia64.ld ia64 host support (David Mosberger) 2005-04-07 22:20:31 +00:00
keymaps.c find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
kqemu.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
kqemu.h find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
LICENSE update 2007-02-05 21:06:29 +00:00
loader.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
m68k-dis.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
m68k-semi.c find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
m68k.ld m68k host port (Richard Zidlicky) 2003-08-10 22:14:22 +00:00
Makefile Code provision for n32/n64 mips userland emulation. Not functional yet. 2007-09-30 01:58:33 +00:00
Makefile.target Support for executing 32 bit SPARC32PLUS files for Sparc64 user emulator 2007-10-09 16:34:29 +00:00
mips-dis.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
mips.ld Linker scripts for MIPS hosts. 2007-05-05 19:24:38 +00:00
mipsel.ld Linker scripts for MIPS hosts. 2007-05-05 19:24:38 +00:00
monitor.c Fix monitor expressions 2007-09-25 17:28:42 +00:00
osdep.c find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
osdep.h Windows build fixes. 2007-06-07 23:09:47 +00:00
ppc-dis.c find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
ppc.ld Update ppc.ld to work with newer binutils. 2007-04-28 19:00:30 +00:00
qemu_socket.h Run monitor over unix domain sockets, by Anthony Liguori. 2006-12-21 19:46:43 +00:00
qemu-binfmt-conf.sh Code provision for n32/n64 mips userland emulation. Not functional yet. 2007-09-30 01:58:33 +00:00
qemu-doc.texi find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
qemu-img.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
qemu-img.texi vmdk compatibility level 6 images, by Soren Hansen. 2007-09-16 21:59:02 +00:00
qemu-tech.texi find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
readline.c Improve completion in monitor, by Pascal Terjan. 2007-09-25 14:45:23 +00:00
README update 2005-02-10 21:46:47 +00:00
s390-dis.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
s390.ld update 2003-04-29 21:34:02 +00:00
sdl_keysym.h Windows keys support with keymaps 2005-03-01 21:43:42 +00:00
sdl.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
sh4-dis.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
softmmu_exec.h Replace is_user variable with mmu_idx in softmmu core, 2007-10-14 07:07:08 +00:00
softmmu_header.h Replace is_user variable with mmu_idx in softmmu core, 2007-10-14 07:07:08 +00:00
softmmu_template.h Replace is_user variable with mmu_idx in softmmu core, 2007-10-14 07:07:08 +00:00
softmmu-semi.h find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
sparc64.ld More detabification 2007-10-06 11:28:21 +00:00
sparc-dis.c More detabification 2007-10-06 11:28:21 +00:00
sparc.ld More detabification 2007-10-06 11:28:21 +00:00
tap-win32.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
texi2pod.pl find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
thunk.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
thunk.h find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
TODO find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
translate-all.c find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
translate-op.c find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
uboot_image.h Simple u-boot image loading support. 2007-03-06 23:52:01 +00:00
usb-linux.c Quiet warnings introduced with the USB iso support. 2007-10-04 22:55:53 +00:00
VERSION update 2007-02-05 20:46:55 +00:00
vgafont.h virtual console 2004-07-14 17:39:50 +00:00
vl.c Unify '-cpu ?' option. 2007-10-12 06:47:46 +00:00
vl.h Unify '-cpu ?' option. 2007-10-12 06:47:46 +00:00
vnc_keysym.h Japanese keyboard patch (kazu) 2007-01-07 17:12:41 +00:00
vnc.c Support UltraVNC clients, by Eduardo Felipe. 2007-09-30 13:01:15 +00:00
vnchextile.h find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
x86_64.ld update 2005-01-06 20:50:00 +00:00
x_keymap.c Split out SDL X keymap, by Bernhard Fischer. 2007-01-24 21:40:21 +00:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.