git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@757 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2004-04-25 21:27:03 +00:00
parent ab6d960ffa
commit 52c00a5f15
3 changed files with 59 additions and 20 deletions

View File

@ -8,6 +8,7 @@ version 0.5.4:
- QEMU can now boot a PowerPC Linux kernel (Jocelyn Mayer) - QEMU can now boot a PowerPC Linux kernel (Jocelyn Mayer)
- User mode network stack - User mode network stack
- imul imm8 fix + 0x82 opcode support (Hidemi KAWAI) - imul imm8 fix + 0x82 opcode support (Hidemi KAWAI)
- precise self modifying code (aka BeOS install bug)
version 0.5.3: version 0.5.3:

12
TODO
View File

@ -1,21 +1,20 @@
short term: short term:
---------- ----------
- physical memory cache (reduce qemu-fast address space size to about 32 MB)
- better code fetch (different exception handling + CS.limit support)
- do not resize vga if invalid size.
- avoid looping if only exceptions
- handle fast timers + add explicit clocks - handle fast timers + add explicit clocks
- OS/2 install bug - OS/2 install bug
- handle Self Modifying Code even if modifying current TB (BE OS 5 install)
- physical memory cache (reduce qemu-fast address space size to about 32 MB)
- better code fetch
- XP security bug
- cycle counter for all archs - cycle counter for all archs
- TLB code protection support for PPC - TLB code protection support for PPC
- add sysenter/sysexit and fxsr for L4 pistachio 686 - add sysenter/sysexit and fxsr for L4 pistachio 686
- basic VGA optimizations - basic VGA optimizations
- disable SMC handling for ARM/SPARC/PPC - disable SMC handling for ARM/SPARC/PPC (not finished)
- see undefined flags for BTx insn - see undefined flags for BTx insn
- user/kernel PUSHL/POPL in helper.c - user/kernel PUSHL/POPL in helper.c
- keyboard output buffer filling timing emulation - keyboard output buffer filling timing emulation
- return UD exception if LOCK prefix incorrectly used - return UD exception if LOCK prefix incorrectly used
- cmos clock update and timers
- test ldt limit < 7 ? - test ldt limit < 7 ?
- tests for each target CPU - tests for each target CPU
- fix CCOP optimisation - fix CCOP optimisation
@ -26,6 +25,7 @@ short term:
lower priority: lower priority:
-------------- --------------
- HDD geometry in CMOS (not used except for very old DOS programs)
- suppress shift_mem ops - suppress shift_mem ops
- fix some 16 bit sp push/pop overflow (pusha/popa, lcall lret) - fix some 16 bit sp push/pop overflow (pusha/popa, lcall lret)
- sysenter/sysexit emulation - sysenter/sysexit emulation

View File

@ -37,8 +37,11 @@ to ease cross-compilation and cross-debugging.
As QEMU requires no host kernel driver to run, it is very safe and As QEMU requires no host kernel driver to run, it is very safe and
easy to use. easy to use.
For system emulation, only the x86 PC emulator is currently For system emulation, the following hardware targets are supported:
usable. The PowerPC system emulator is being developped. @itemize
@item PC (x86 processor)
@item PREP (PowerPC processor)
@end itemize
For user emulation, x86, PowerPC, ARM, and SPARC CPUs are supported. For user emulation, x86, PowerPC, ARM, and SPARC CPUs are supported.
@ -121,13 +124,13 @@ QEMU for Win32.
Mac OS X is currently not supported. Mac OS X is currently not supported.
@chapter QEMU System emulator invocation @chapter QEMU PC System emulator invocation
@section Introduction @section Introduction
@c man begin DESCRIPTION @c man begin DESCRIPTION
The QEMU System emulator simulates a complete PC. The QEMU System emulator simulates a complete PC.
In order to meet specific user needs, two versions of QEMU are In order to meet specific user needs, two versions of QEMU are
available: available:
@ -235,23 +238,28 @@ Network options:
@table @option @table @option
@item -n script @item -n script
Set network init script [default=/etc/qemu-ifup]. This script is Set TUN/TAP network init script [default=/etc/qemu-ifup]. This script
launched to configure the host network interface (usually tun0) is launched to configure the host network interface (usually tun0)
corresponding to the virtual NE2000 card. corresponding to the virtual NE2000 card.
@item nics n
Simulate @var{n} network interfaces (default=1).
@item -macaddr addr @item -macaddr addr
Set the mac address of the first interface (the format is Set the mac address of the first interface (the format is
aa:bb:cc:dd:ee:ff in hexa). The mac address is incremented for each aa:bb:cc:dd:ee:ff in hexa). The mac address is incremented for each
new network interface. new network interface.
@item -tun-fd fd1,... @item -tun-fd fd
Assumes @var{fd} talks to tap/tun and use it. Read Assumes @var{fd} talks to a tap/tun host network interface and use
@url{http://bellard.org/qemu/tetrinet.html} to have an example of its it. Read @url{http://bellard.org/qemu/tetrinet.html} to have an
use. example of its use.
@item -user-net
(Experimental) Use the user mode network stack. This is the default if
no tun/tap network init script is found.
@item -dummy-net
Use the dummy network stack: no packet will be received on the network
cards.
@end table @end table
@ -278,6 +286,8 @@ Debug options:
Wait gdb connection to port 1234 (@xref{gdb_usage}). Wait gdb connection to port 1234 (@xref{gdb_usage}).
@item -p port @item -p port
Change gdb connection port. Change gdb connection port.
@item -S
Do not start CPU at startup (you must type 'c' in the monitor).
@item -d @item -d
Output log in /tmp/qemu.log Output log in /tmp/qemu.log
@end table @end table
@ -413,7 +423,9 @@ can be x (hexa), d (signed decimal), u (unsigned decimal), o (octal),
c (char) or i (asm instruction). c (char) or i (asm instruction).
@item size @item size
can be b (8 bits), h (16 bits), w (32 bits) or g (64 bits) can be b (8 bits), h (16 bits), w (32 bits) or g (64 bits). On x86,
@code{h} or @code{w} can be specified with the @code{i} format to
respectively select 16 or 32 bit code instruction size.
@end table @end table
@ -802,6 +814,32 @@ Use @code{set architecture i8086} to dump 16 bit code. Then use
@code{x/10i $cs*16+*eip} to dump the code at the PC position. @code{x/10i $cs*16+*eip} to dump the code at the PC position.
@end enumerate @end enumerate
@chapter QEMU PREP PowerPC System emulator invocation
Use the executable @file{qemu-system-ppc} to simulate a complete PREP
PowerPC system.
QEMU emulates the following PREP peripherials:
@itemize @minus
@item
2 IDE interfaces with hard disk and CD-ROM support
@item
Floppy disk
@item
up to 6 NE2000 network adapters
@item
Serial port
@item
PREP Non Volatile RAM
@end itemize
You can read the qemu PC system emulation chapter to have more
informations about QEMU usage.
More information is available at
@url{http://jocelyn.mayer.free.fr/qemu-ppc/}.
@chapter QEMU User space emulator invocation @chapter QEMU User space emulator invocation
@section Quick Start @section Quick Start