c227f0995e 
								
							 
						 
						
							
							
								
								Revert "Get rid of _t suffix"  
							
							... 
							
							
							
							In the very least, a change like this requires discussion on the list.
The naming convention is goofy and it causes a massive merge problem.  Something
like this _must_ be presented on the list first so people can provide input
and cope with it.
This reverts commit 99a0949b72 
							
						 
						
							2009-10-01 16:12:16 -05:00  
				
					
						
							
							
								 
						
							
								99a0949b72 
								
							 
						 
						
							
							
								
								Get rid of _t suffix  
							
							... 
							
							
							
							Some not so obvious bits, slirp and Xen were left alone for the time
being.
Signed-off-by: malc <av1474@comtv.ru> 
							
						 
						
							2009-10-01 22:45:02 +04:00  
				
					
						
							
							
								 
						
							
								72cf2d4f0e 
								
							 
						 
						
							
							
								
								Fix sys-queue.h conflict for good  
							
							... 
							
							
							
							Problem: Our file sys-queue.h is a copy of the BSD file, but there are
some additions and it's not entirely compatible. Because of that, there have
been conflicts with system headers on BSD systems. Some hacks have been
introduced in the commits 15cc923584f40d75371896555a96d73990d09adf 
							
						 
						
							2009-09-12 07:36:22 +00:00  
				
					
						
							
							
								 
						
							
								370220865b 
								
							 
						 
						
							
							
								
								user: compile path.c only once  
							
							... 
							
							
							
							Also merge bsd-user/path.c and linux-user/path.c.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com> 
							
						 
						
							2009-08-15 07:51:59 +00:00  
				
					
						
							
							
								 
						
							
								2f7bb8780a 
								
							 
						 
						
							
							
								
								rename USE_NPTL to CONFIG_USE_NPTL  
							
							... 
							
							
							
							Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> 
							
						 
						
							2009-07-27 14:10:55 -05:00  
				
					
						
							
							
								 
						
							
								379f6698d7 
								
							 
						 
						
							
							
								
								Userspace guest address offsetting  
							
							... 
							
							
							
							Re-implement GUEST_BASE support.
Offset guest ddress space by default if the guest binary contains
regions below the host mmap_min_addr.
Implement support for i386, x86-64 and arm hosts.
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Paul Brook <paul@codesourcery.com> 
							
						 
						
							2009-07-17 13:12:41 +01:00  
				
					
						
							
							
								 
						
							
								fd4d81dd04 
								
							 
						 
						
							
							
								
								linux-user: increment MAX_ARG_PAGES  
							
							... 
							
							
							
							There's a error When doing something like that :
find / -type f -print0 | xargs -0 echo
[ done in a arm chroot with qemu-arm and linux binfmt stuff or with
find / -type f -print0 | qemu-arm -L <path> <path>/usr/bin/xargs -0
echo ]
Doing this outsite qemu is fine. The problem was the huge number of
parameters. Increasing MAX_ARG_PAGES is fixing that.
While I was at it, I've modified linux-user/main.c to report error code
of loader_exec. It helps to debug/know what's wrong.
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Riku Voipio <riku.voipio@iki.fi> 
							
						 
						
							2009-07-08 17:01:08 +03:00  
				
					
						
							
							
								 
						
							
								edf8e2af14 
								
							 
						 
						
							
							
								
								linux-user: implemented ELF coredump support for ARM target  
							
							... 
							
							
							
							When target process is killed with signal (such signal that
should dump core) a coredump file is created.  This file is
similar than coredump generated by Linux (there are few exceptions
though).
Riku Voipio: added support for rlimit
Signed-off-by: Mika Westerberg <mika.westerberg@iki.fi>
Signed-off-by: Riku Voipio <riku.voipio@iki.fi> 
							
						 
						
							2009-06-16 16:56:28 +03:00  
				
					
						
							
							
								 
						
							
								9ad197d95c 
								
							 
						 
						
							
							
								
								export mmap_find_vma for shmat  
							
							... 
							
							
							
							Signed-off-by: Riku Voipio <riku.voipio@iki.fi> 
							
						 
						
							2009-06-16 16:56:28 +03:00  
				
					
						
							
							
								 
						
							
								425be425f6 
								
							 
						 
						
							
							
								
								Avoid implicit truncation compiler warnings  
							
							... 
							
							
							
							Signed-off-by: Paul Brook <paul@codesourcery.com> 
							
						 
						
							2009-05-19 15:42:39 +01:00  
				
					
						
							
							
								 
						
							
								1d9d8b551d 
								
							 
						 
						
							
							
								
								Translate signal values in exit status.  
							
							... 
							
							
							
							Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7131 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2009-04-16 15:17:02 +00:00  
				
					
						
							
							
								 
						
							
								c276471991 
								
							 
						 
						
							
							
								
								The _exit syscall is used for both thread termination in NPTL applications,  
							
							... 
							
							
							
							and process termination in legacy applications.  Try to guess which we want
based on the presence of multiple threads.
Also implement locking when modifying the CPU list.
Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6735 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2009-03-07 15:24:59 +00:00  
				
					
						
							
							
								 
						
							
								d088d664f2 
								
							 
						 
						
							
							
								
								linux-user: identify running binary in /proc/self/exe  
							
							... 
							
							
							
							Some applications like to test /proc/self/exe to find
out who they are. Fake the result of readlink() for
them. Use realpath() to return full path to binary
(which the links /proc/self/exe are)
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6485 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2009-01-30 20:09:01 +00:00  
				
					
						
							
							
								 
						
							
								1609cd444b 
								
							 
						 
						
							
							
								
								linux-user: Move abi_* typedefs into qemu-types.h  
							
							... 
							
							
							
							Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5954 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2008-12-08 18:12:04 +00:00  
				
					
						
							
							
								 
						
							
								440c7e85cc 
								
							 
						 
						
							
							
								
								Export x86_stack_size in qemu.h  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5427 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2008-10-05 11:05:14 +00:00  
				
					
						
							
							
								 
						
							
								79383c9c08 
								
							 
						 
						
							
							
								
								Fix some warnings that would be generated by gcc -Wredundant-decls  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5115 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2008-08-30 09:51:20 +00:00  
				
					
						
							
							
								 
						
							
								d597536303 
								
							 
						 
						
							
							
								
								Multithreaded locking fixes.  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4692 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2008-06-07 20:50:51 +00:00  
				
					
						
							
							
								 
						
							
								1235fc066a 
								
							 
						 
						
							
							
								
								Spelling fixes, by Stefan Weil.  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4655 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2008-06-03 19:51:57 +00:00  
				
					
						
							
							
								 
						
							
								c8a706fe62 
								
							 
						 
						
							
							
								
								Multithreaded locking for mmap().  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4654 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2008-06-02 16:16:42 +00:00  
				
					
						
							
							
								 
						
							
								0776590d70 
								
							 
						 
						
							
							
								
								Mark host brk() area as reserved.  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4637 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2008-05-31 16:33:53 +00:00  
				
					
						
							
							
								 
						
							
								624f797905 
								
							 
						 
						
							
							
								
								Make signal queues per thread.  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4635 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2008-05-31 16:11:38 +00:00  
				
					
						
							
							
								 
						
							
								4cb05961c2 
								
							 
						 
						
							
							
								
								Perform target->host signal mapping for *kill syscalls.  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4625 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2008-05-30 18:05:19 +00:00  
				
					
						
							
							
								 
						
							
								a745ec6d91 
								
							 
						 
						
							
							
								
								Update ARM rt_frame layout.  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4365 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2008-05-06 15:36:17 +00:00  
				
					
						
							
							
								 
						
							
								06177d36ed 
								
							 
						 
						
							
							
								
								Fix a compiler error with DEBUG_REMAP enabled (Thayne Harbaugh).  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3845 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2007-12-24 13:47:52 +00:00  
				
					
						
							
							
								 
						
							
								2f6196984b 
								
							 
						 
						
							
							
								
								suppressed tgetx and tputx (initial patch by Thayne Harbaugh)  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3653 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2007-11-16 10:46:05 +00:00  
				
					
						
							
							
								 
						
							
								4683b130e5 
								
							 
						 
						
							
							
								
								always define TARGET_ABI32 if 32 bit user  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3643 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2007-11-14 15:16:52 +00:00  
				
					
						
							
							
								 
						
							
								dae3270c6e 
								
							 
						 
						
							
							
								
								suppressed page_unprotect_range() - fixed access_ok()  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3641 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2007-11-14 10:51:00 +00:00  
				
					
						
							
							
								 
						
							
								c16f9ed3ad 
								
							 
						 
						
							
							
								
								use correct types  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3596 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2007-11-11 17:23:29 +00:00  
				
					
						
							
							
								 
						
							
								579a97f7ff 
								
							 
						 
						
							
							
								
								Linux user memory access API change (initial patch by Thayne Harbaugh)  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3583 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2007-11-11 14:26:47 +00:00  
				
					
						
							
							
								 
						
							
								f3e3285dcd 
								
							 
						 
						
							
							
								
								Fix some compiler warnings.  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3520 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2007-11-03 15:12:16 +00:00  
				
					
						
							
							
								 
						
							
								89343ecde5 
								
							 
						 
						
							
							
								
								EFAULT - update __get_user() __put_user(), by Thayne Harbaugh.  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3508 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2007-11-02 20:24:22 +00:00  
				
					
						
							
							
								 
						
							
								3d97b40b05 
								
							 
						 
						
							
							
								
								EFAULT - verify pages are in cache and are read/write, by Thayne Harbaugh.  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3506 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2007-11-02 19:02:07 +00:00  
				
					
						
							
							
								 
						
							
								b92c47c1cc 
								
							 
						 
						
							
							
								
								Strace for userland emulation, by Stuart Anderson and Thayne Harbaugh.  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3502 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2007-11-01 00:07:38 +00:00  
				
					
						
							
							
								 
						
							
								992f48a036 
								
							 
						 
						
							
							
								
								Support for 32 bit ABI on 64 bit targets (only enabled Sparc64)  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3396 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2007-10-14 16:27:31 +00:00  
				
					
						
							
							
								 
						
							
								cb33da57aa 
								
							 
						 
						
							
							
								
								Support for executing 32 bit SPARC32PLUS files for Sparc64 user emulator  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3378 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2007-10-09 16:34:29 +00:00  
				
					
						
							
							
								 
						
							
								3d17787055 
								
							 
						 
						
							
							
								
								Fix host and target longs confusions (continued).  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3345 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2007-10-07 16:06:13 +00:00  
				
					
						
							
							
								 
						
							
								5bfb56b264 
								
							 
						 
						
							
							
								
								Implement sparc64_[gs]et_context  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3334 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2007-10-05 17:01:51 +00:00  
				
					
						
							
							
								 
						
							
								a5b85f7959 
								
							 
						 
						
							
							
								
								Fix mmap to handle differing host/target page sizes, by Edgar E. Iglesias.  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3291 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2007-09-30 14:32:45 +00:00  
				
					
						
							
							
								 
						
							
								a04e134ad1 
								
							 
						 
						
							
							
								
								linux-user sigaltstack() syscall, by Thayne Harbaugh.  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3252 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2007-09-27 13:57:58 +00:00  
				
					
						
							
							
								 
						
							
								92a343da3f 
								
							 
						 
						
							
							
								
								New ppc64-linux-user target.  
							
							... 
							
							
							
							Allow use of PowerPC 970 for debugging (softmmu would not run, for now).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3246 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2007-09-27 01:14:15 +00:00  
				
					
						
							
							
								 
						
							
								324071035f 
								
							 
						 
						
							
							
								
								Convert syscall arguments and return value from long to int or target_long.  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3241 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2007-09-26 23:01:49 +00:00  
				
					
						
							
							
								 
						
							
								5fafdf24ef 
								
							 
						 
						
							
							
								
								find -type f | xargs sed -i 's/[\t ]$//g' # on most files  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3173 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2007-09-16 21:08:06 +00:00  
				
					
						
							
							
								 
						
							
								a87295e8df 
								
							 
						 
						
							
							
								
								M68k system mode semihosting.  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2861 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2007-05-26 15:09:38 +00:00  
				
					
						
							
							
								 
						
							
								84409ddbda 
								
							 
						 
						
							
							
								
								Code provision for x86_64 and PowerPC 64 linux user mode support.  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2619 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2007-04-06 08:56:50 +00:00  
				
					
						
							
							
								 
						
							
								38d0662a4c 
								
							 
						 
						
							
							
								
								Arm semihosted commandline support (Wolfgang Schildbach).  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2216 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2006-11-19 20:29:35 +00:00  
				
					
						
							
							
								 
						
							
								e6e5906b6e 
								
							 
						 
						
							
							
								
								ColdFire target.  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2196 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2006-10-22 00:18:54 +00:00  
				
					
						
							
							
								 
						
							
								978efd6aac 
								
							 
						 
						
							
							
								
								Respond to qOffsets gdb packet (for debugging bFLT binaries).  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1986 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2006-06-17 18:30:42 +00:00  
				
					
						
							
							
								 
						
							
								e5fe0c5230 
								
							 
						 
						
							
							
								
								bFLT loader (for uClinux binaries).  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1951 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2006-06-11 13:32:59 +00:00  
				
					
						
							
							
								 
						
							
								c59372208a 
								
							 
						 
						
							
							
								
								Teach usermode emulation how to lie about uname -r.  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1920 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2006-05-14 11:30:38 +00:00  
				
					
						
							
							
								 
						
							
								53a5960aad 
								
							 
						 
						
							
							
								
								Avoid accessing guest memory directly in usermode emulation.  
							
							... 
							
							
							
							git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1790 c046a42c-6fe2-441c-8c8c-71466251a162 
							
						 
						
							2006-03-25 19:31:22 +00:00