mirror of https://github.com/xqemu/xqemu.git
update
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@85 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
d0cd3b8d84
commit
27c75a9a90
|
@ -1,9 +1,18 @@
|
||||||
|
version 0.1.5:
|
||||||
|
|
||||||
|
- ppc64 support + personality() patch (Rusty Russell)
|
||||||
|
- first Alpha CPU patches (Falk Hueffner)
|
||||||
|
- removed bfd.h dependancy
|
||||||
|
- fixed shrd, shld, idivl and divl on PowerPC.
|
||||||
|
- fixed buggy glibc PowerPC rint() function (test-i386 passes now on PowerPC).
|
||||||
|
|
||||||
version 0.1.4:
|
version 0.1.4:
|
||||||
|
|
||||||
- more accurate VM86 emulation (can launch small DOS 16 bit
|
- more accurate VM86 emulation (can launch small DOS 16 bit
|
||||||
executables in wine).
|
executables in wine).
|
||||||
- fixed push/pop fs/gs
|
- fixed push/pop fs/gs
|
||||||
- added iret instruction.
|
- added iret instruction.
|
||||||
|
- added times() syscall and SIOCATMARK ioctl.
|
||||||
|
|
||||||
version 0.1.3:
|
version 0.1.3:
|
||||||
|
|
||||||
|
|
13
Makefile
13
Makefile
|
@ -13,14 +13,20 @@ OP_CFLAGS+= -falign-functions=0
|
||||||
else
|
else
|
||||||
OP_CFLAGS+= -malign-functions=0
|
OP_CFLAGS+= -malign-functions=0
|
||||||
endif
|
endif
|
||||||
|
# WARNING: this LDFLAGS is _very_ tricky : qemu is an ELF shared object
|
||||||
|
# that the kernel ELF loader considers as an executable. I think this
|
||||||
|
# is the simplest way to make it self virtualizable!
|
||||||
|
LDFLAGS+=-Wl,-shared
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(ARCH),ppc)
|
ifeq ($(ARCH),ppc)
|
||||||
OP_CFLAGS=$(CFLAGS)
|
OP_CFLAGS=$(CFLAGS)
|
||||||
|
LDFLAGS+=-Wl,-T,ppc.ld
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(ARCH),s390)
|
ifeq ($(ARCH),s390)
|
||||||
OP_CFLAGS=$(CFLAGS)
|
OP_CFLAGS=$(CFLAGS)
|
||||||
|
LDFLAGS+=-Wl,-T,s390.ld
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(GCC_MAJOR),3)
|
ifeq ($(GCC_MAJOR),3)
|
||||||
|
@ -31,7 +37,6 @@ endif
|
||||||
#########################################################
|
#########################################################
|
||||||
|
|
||||||
DEFINES+=-D_GNU_SOURCE
|
DEFINES+=-D_GNU_SOURCE
|
||||||
LDSCRIPT=$(ARCH).ld
|
|
||||||
LIBS+=-lm
|
LIBS+=-lm
|
||||||
|
|
||||||
# profiling code
|
# profiling code
|
||||||
|
@ -51,7 +56,7 @@ LIBOBJS+=i386-dis.o dis-buf.o
|
||||||
all: qemu qemu-doc.html
|
all: qemu qemu-doc.html
|
||||||
|
|
||||||
qemu: $(OBJS)
|
qemu: $(OBJS)
|
||||||
$(CC) -Wl,-T,$(LDSCRIPT) $(LDFLAGS) -o $@ $^ $(LIBS)
|
$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
|
||||||
|
|
||||||
depend: $(SRCS)
|
depend: $(SRCS)
|
||||||
$(CC) -MM $(CFLAGS) $^ 1>.depend
|
$(CC) -MM $(CFLAGS) $^ 1>.depend
|
||||||
|
@ -103,9 +108,9 @@ dyngen.c ioctls.h ops_template.h op_string.h syscall_types.h\
|
||||||
Makefile elf.h linux_bin.h segment.h thunk.c\
|
Makefile elf.h linux_bin.h segment.h thunk.c\
|
||||||
elfload.c main.c signal.c thunk.h\
|
elfload.c main.c signal.c thunk.h\
|
||||||
cpu-i386.h qemu.h op-i386.c opc-i386.h syscall-i386.h translate-i386.c\
|
cpu-i386.h qemu.h op-i386.c opc-i386.h syscall-i386.h translate-i386.c\
|
||||||
dis-asm.h gen-i386.h op-i386.h syscall.c\
|
dis-asm.h gen-i386.h syscall.c\
|
||||||
dis-buf.c i386-dis.c opreg_template.h syscall_defs.h\
|
dis-buf.c i386-dis.c opreg_template.h syscall_defs.h\
|
||||||
i386.ld ppc.ld s390.ld exec-i386.h exec-i386.c configure \
|
ppc.ld s390.ld exec-i386.h exec-i386.c configure \
|
||||||
tests/Makefile\
|
tests/Makefile\
|
||||||
tests/test-i386.c tests/test-i386-shift.h tests/test-i386.h\
|
tests/test-i386.c tests/test-i386-shift.h tests/test-i386.h\
|
||||||
tests/test-i386-muldiv.h tests/test-i386-code16.S\
|
tests/test-i386-muldiv.h tests/test-i386-code16.S\
|
||||||
|
|
6
TODO
6
TODO
|
@ -1,11 +1,11 @@
|
||||||
- fix thread locks
|
- fix thread locks
|
||||||
- fix thread stack liberation
|
|
||||||
- fix x86 stack allocation
|
|
||||||
- optimize translated cache chaining (DLL PLT-like system)
|
- optimize translated cache chaining (DLL PLT-like system)
|
||||||
|
- fix thread stack liberation (use kernel 2.5.xxx CLONE_CHILD_CLEARTID)
|
||||||
|
- fix x86 stack allocation
|
||||||
|
- fix iret/lret restarting
|
||||||
- more syscalls (in particular all 64 bit ones, IPCs, fix 64 bit
|
- more syscalls (in particular all 64 bit ones, IPCs, fix 64 bit
|
||||||
issues, fix 16 bit uid issues)
|
issues, fix 16 bit uid issues)
|
||||||
- finish signal handing (fp87 state, more siginfo conversions)
|
- finish signal handing (fp87 state, more siginfo conversions)
|
||||||
- verify thread support (clone() and various locks)
|
- verify thread support (clone() and various locks)
|
||||||
- overrides/16bit for string ops
|
|
||||||
- make it self runnable (use same trick as ld.so : include its own relocator and libc)
|
- make it self runnable (use same trick as ld.so : include its own relocator and libc)
|
||||||
- fix FPU exceptions (in particular: gen_op_fpush not before mem load)
|
- fix FPU exceptions (in particular: gen_op_fpush not before mem load)
|
||||||
|
|
Loading…
Reference in New Issue