Statistics
| Branch: | Revision:

root / linux-user / syscall_defs.h @ 3ca05588

History | View | Annotate | Download (71.4 kB)

# Date Author Comment
f7680a55 10/17/2009 11:38 am Ulrich Hecht

linux-user: KD/VT/FB ioctls

everything needed to run SDL on a framebuffer device in the userspace emulator

Signed-off-by: Ulrich Hecht <>
Signed-off-by: Riku Voipio <>

61322e91 10/15/2009 11:55 pm Max Filippov

linux-user: fix ppc target_stat64 st_blocks layout

Swap __pad1 and st_blocks fields location to maintain proper alignment.
This fixes incorrect 'du' and 'stat' report on ppc guest.

Signed-off-by: Max Filippov <>
Signed-off-by: Riku Voipio <>

c227f099 10/02/2009 12:12 am Anthony Liguori

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...

99a0949b 10/01/2009 09:45 pm malc

Get rid of _t suffix

Some not so obvious bits, slirp and Xen were left alone for the time
being.

Signed-off-by: malc <>

7e22e546 08/25/2009 05:15 pm Ulrich Hecht

linux-user: fcntl fixes for LTP

Fixes swaps on l_pid which were pretty much of random size. Implements
F_SETLEASE, F_GETLEASE. Now passes all LTP fcntl tests.

Signed-off-by: Ulrich Hecht <>
Signed-off-by: Riku Voipio <>

21ebeb23 06/23/2009 08:28 pm Edgar E. Iglesias

microblaze: Support the latest mmu-kernel stat64 ABI.

Microblaze recently changed their ABI. The new is not backwards compatible
and there doesn't seem to be a way to distinguish old/new binaries.
Let's support the latest ABI for now and hope someone figures out a way to...

03dfe9f8 06/19/2009 01:51 am Riku Voipio

linux-user: strace now handles guest stringscorrectly [v2]

On Tue, Jun 16, 2009 at 08:19:23PM -0500, Anthony Liguori wrote:

malc wrote:

On my system the above line causes gcc to emit:

In file included from /home/malc/x/rcs/git/qemu/linux-user/strace.c:12:...

5f106811 06/16/2009 04:58 pm Arnaud Patard (Rtp)

RFC: fix fcntl support in linux-user - new try

Hi,

This is a new try to fix the fcntl support in linux-user. I tried to
adress all comments but as the previous version is several weeks old,
it's possible that I've missed some.

This patch doesn't handle linux specific fcntl flags. My plan is to get...

b975b83b 06/16/2009 04:56 pm Lionel Landwerlin

linux-user: Added IP_ADD_MEMBERSHIP/IP_DROP_MEMBERSHIP flags to setsockopt

linux-user: Added IP_ADD_MEMBERSHIP/IP_DROP_MEMBERSHIP flags to setsockopt

Signed-off-by: Lionel Landwerlin <>
Signed-off-by: Riku Voipio <>

6e3cb58f 06/16/2009 04:56 pm Lionel Landwerlin

linux-user: Added IP_(UN)BLOCK_SOURCE/IP_(ADD|DROP)_SOURCE_MEMBERSHIP flags to setsockopt

linux-user: Added IP_(UN)BLOCK_SOURCE/IP_(ADD|DROP)_SOURCE_MEMBERSHIP flags to setsockopt

Signed-off-by: Lionel Landwerlin <>
Signed-off-by: Riku Voipio <>

74d753ac 06/16/2009 04:56 pm Mika Westerberg

linux-user: strace now handles guest strings correctly [v2]

- to not to break strace with GUEST_BASE is set:
- Strace now can load and print guest strings correctly.
- Added printing support for commonly used flags in some syscalls
(e.g open, creat, mmap etc.)...

b779e29e 05/26/2009 10:10 pm Edgar E. Iglesias

microblaze: linux-user support.

Signed-off-by: Edgar E. Iglesias <>

3f53d546 04/21/2009 03:59 am pbrook

Fix target_siginfo ordering for MIPS.

Signed-off-by: Paul Brook <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7192 c046a42c-6fe2-441c-8c8c-71466251a162

24e1003a 04/15/2009 07:11 pm aurel32

linux-user: Added posix message queue syscalls except mq_notify

Signed-off-by: Lionel Landwerlin <>
Signed-off-by: Kirill A. Shutemov <>
Signed-off-by: Riku Voipio <>
Signed-off-by: Aurelien Jarno <>...

e1ce5e40 01/30/2009 09:48 pm aurel32

target-ppc: Fix struct target_stat64 for 32-bit host

Signed-off-by: Aurelien Jarno <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6483 c046a42c-6fe2-441c-8c8c-71466251a162

91bd8ce9 01/30/2009 09:48 pm aurel32

target-sh4: Fix struct target_stat64 for 64-bit host

Signed-off-by: Takashi YOSHII <>
Signed-off-by: Aurelien Jarno <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6482 c046a42c-6fe2-441c-8c8c-71466251a162

dccfec67 11/12/2008 12:01 pm aurel32

target-alpha: fix termbits and target IOC macros

This patch fixes the two following problems for Alpha linux-user:
- termbits.h is incorrectly using host IOC macros and structures
- IOC bitfields sizes are incorrectly set

This patch corrects the ioctl TCGETS done by isatty function call...

1f961124 11/11/2008 01:30 pm aurel32

target-alpha: add proper fcntl definitions

On Alpha the target to native fcntl definitions were missing. Because of
this, programs trying to open files with the O_CREAT option were getting
O_APPEND instead, etc.

This was keeping gcc from the spec benchmarks from running, among other...

6556a833 10/14/2008 12:08 am aurel32

linux-user: fix getdents* syscalls

glibc's structs dirent and dirent64 is different from in-kernel dirent
and dirent64. Kernel headers doesn't provide structs dirent(64) any
more. So we should add it to qemu headers.

To avoid conflict with glibc it called struct linux_dirent(64)....

e44a3e79 09/29/2008 08:23 pm aurel32

TARGET_MAP_xx macros: clean and alpha specific values

- Clean TARGET_MAP_xx macros to avoid nested #if #endif
- Add alpha specific values

Based on a patch by Tristan Gingold

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5356 c046a42c-6fe2-441c-8c8c-71466251a162

8fbd6b52 09/20/2008 06:03 am balrog

Add MTIOCTOP, MTIOCGET and MTIOCPOS ioctls (Kirill Shutemov).

Signed-off-by: Kirill A. Shutemov <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5271 c046a42c-6fe2-441c-8c8c-71466251a162

c4d10628 07/19/2008 12:38 pm balrog

linux-user: Fix target_statfs64 on 64-bit hosts

Testing qemu-x86_64, I happen to run df and came across these mistakes
in the target_statfs/target_statfs64 structure definitions (reference:
linux/include/asm-x86/statfs.h).

Signed-off-by: Jan Kiszka <>...

b8005914 04/26/2008 05:44 pm balrog

Add loop device ioctls (Gary Thomas).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4257 c046a42c-6fe2-441c-8c8c-71466251a162

ce3f0e2f 03/29/2008 12:31 am aurel32

Fix flock64 structure on a few target (noticed by Gary Thomas)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4125 c046a42c-6fe2-441c-8c8c-71466251a162

e32448e0 12/10/2007 10:24 am j_mayer

Various linux-user structures and definitions fixes for PowerPC targets.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3800 c046a42c-6fe2-441c-8c8c-71466251a162

325e651f 11/21/2007 03:06 pm j_mayer

Fix PowerPC 64 stat and statfs structures definitions.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3712 c046a42c-6fe2-441c-8c8c-71466251a162

d2fd1af7 11/14/2007 08:08 pm bellard

x86_64 linux user emulation

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3646 c046a42c-6fe2-441c-8c8c-71466251a162

0ba22212 11/11/2007 07:39 pm bellard

suppressed invalid TARGET_CMSG_FIRSTHDR macro

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3601 c046a42c-6fe2-441c-8c8c-71466251a162

d26bc211 11/08/2007 08:05 pm ths

Clean out the N32 macros from target-mips, and introduce MIPS ABI specific
defines for linux-user.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3556 c046a42c-6fe2-441c-8c8c-71466251a162

992f48a0 10/14/2007 07:27 pm blueswir1

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

48733d19 10/08/2007 04:36 pm ths

CRIS Linux userland emulation, part 2. By Edgar E. Iglesias.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3367 c046a42c-6fe2-441c-8c8c-71466251a162

540635ba 09/30/2007 04:58 am ths

Code provision for n32/n64 mips userland emulation. Not functional yet.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3284 c046a42c-6fe2-441c-8c8c-71466251a162

7ec93196 09/19/2007 12:54 am j_mayer

Fix invalid MAP_xxx flags for PowerPC targets.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3184 c046a42c-6fe2-441c-8c8c-71466251a162

3b46e624 09/17/2007 11:09 am ths

find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3177 c046a42c-6fe2-441c-8c8c-71466251a162

5fafdf24 09/17/2007 12:08 am ths

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

4ce6f8de 07/20/2007 06:54 pm ths

Fix statfs(64) syscall wrapper, by Andreas Schwab.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3082 c046a42c-6fe2-441c-8c8c-71466251a162

1b8dd648 07/08/2007 01:08 pm blueswir1

Fix Sparc64 stat system call

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3053 c046a42c-6fe2-441c-8c8c-71466251a162

6db45e65 06/22/2007 01:15 pm ths

Use correct data structures for stat syscalls, by Magnus Damm.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3001 c046a42c-6fe2-441c-8c8c-71466251a162

637947f1 06/01/2007 03:09 pm ths

linux-user errno mapping, by Stuart Anderson.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2908 c046a42c-6fe2-441c-8c8c-71466251a162

2b8bdefc 05/29/2007 12:35 am ths

Sync __target_cmsg_nxthdr implementation with kernel header.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2894 c046a42c-6fe2-441c-8c8c-71466251a162

342debdc 05/26/2007 06:18 pm pbrook

Suppress pointer from integer of different size warning.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2862 c046a42c-6fe2-441c-8c8c-71466251a162

7a3148a9 04/05/2007 10:13 am j_mayer

Preliminary patch for Alpha Linux user mode emulation support.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2600 c046a42c-6fe2-441c-8c8c-71466251a162

e6e5906b 10/22/2006 03:18 am pbrook

ColdFire target.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2196 c046a42c-6fe2-441c-8c8c-71466251a162

707b3ee0 09/10/2006 02:35 am pbrook

ARM 64-bit host fix.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2155 c046a42c-6fe2-441c-8c8c-71466251a162

106ec879 06/28/2006 12:08 am bellard

initial MIPS signal handling (initial patch by Raphael Rigo)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2031 c046a42c-6fe2-441c-8c8c-71466251a162

3532fa74 06/24/2006 06:06 pm bellard

mips socket calls (initial patch by Raphael Rigo)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2006 c046a42c-6fe2-441c-8c8c-71466251a162

fdf9b3e8 04/28/2006 12:07 am bellard

sh4 target (Samuel Tardieu)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1861 c046a42c-6fe2-441c-8c8c-71466251a162

ce4defa0 02/09/2006 06:49 pm pbrook

Arm Linux EABI syscall support.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1756 c046a42c-6fe2-441c-8c8c-71466251a162

56c8f68f 11/29/2005 12:28 am bellard

statfs fix

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1680 c046a42c-6fe2-441c-8c8c-71466251a162

048f6b4d 11/26/2005 08:47 pm bellard

mips user emulation

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1668 c046a42c-6fe2-441c-8c8c-71466251a162

6d5e216d 10/01/2004 01:04 am bellard

SPARC fixes (Blue Swirl)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1084 c046a42c-6fe2-441c-8c8c-71466251a162

a5448a7d 06/19/2004 07:59 pm bellard

sysinfo syscall (Francois Guimond)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@930 c046a42c-6fe2-441c-8c8c-71466251a162

8853f86e 02/22/2004 04:57 pm bellard

shm support, more setsockopt and getsockopt calls, fds fix (initial patch by Paul McKerras)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@638 c046a42c-6fe2-441c-8c8c-71466251a162

f09936ac 01/19/2004 12:39 am bellard

ARM fcntl flag fixes (Lennert Buytenhek)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@564 c046a42c-6fe2-441c-8c8c-71466251a162

ffa65c3b 01/05/2004 01:57 am bellard

fcntl flags convertion (Jocelyn Mayer)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@538 c046a42c-6fe2-441c-8c8c-71466251a162

3bfd9da1 01/04/2004 05:52 pm bellard

termios support for SPARC and PPC

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@496 c046a42c-6fe2-441c-8c8c-71466251a162

67867308 11/23/2003 07:05 pm bellard

PowerPC target support (Jocelyn Mayer) - added better support for uid16

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@474 c046a42c-6fe2-441c-8c8c-71466251a162

6180a181 10/01/2003 12:04 am bellard

new directory structure

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@391 c046a42c-6fe2-441c-8c8c-71466251a162

c596ed17 07/13/2003 08:32 pm bellard

times() fix

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@327 c046a42c-6fe2-441c-8c8c-71466251a162

f2674e31 07/09/2003 03:26 pm bellard

old select support

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@313 c046a42c-6fe2-441c-8c8c-71466251a162

2521d698 06/15/2003 10:58 pm bellard

factorized more definitions - suppressed broken sound ioctls

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@241 c046a42c-6fe2-441c-8c8c-71466251a162

0221cfcd 05/10/2003 03:38 pm bellard

more console ioctls

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@139 c046a42c-6fe2-441c-8c8c-71466251a162

8e5a0667 05/08/2003 06:42 pm bellard

added KDGKBTYPE

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@132 c046a42c-6fe2-441c-8c8c-71466251a162

32f36bce 03/31/2003 12:29 am bellard

added SIOCATMARK and times() syscall

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@70 c046a42c-6fe2-441c-8c8c-71466251a162

7854b056 03/29/2003 07:22 pm bellard

endian fixes by Ulrich weigand

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@64 c046a42c-6fe2-441c-8c8c-71466251a162

9de5e440 03/23/2003 06:49 pm bellard

better signal/exception support

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@42 c046a42c-6fe2-441c-8c8c-71466251a162

66fb9763 03/23/2003 03:06 am bellard

basic signal handling

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@41 c046a42c-6fe2-441c-8c8c-71466251a162

1b6b029e 03/22/2003 07:31 pm bellard

basic clone() support

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@40 c046a42c-6fe2-441c-8c8c-71466251a162

dab2ed99 03/22/2003 05:23 pm bellard

better 16 bit code support

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@38 c046a42c-6fe2-441c-8c8c-71466251a162

1a9353d2 03/16/2003 10:28 pm bellard

added loop/xadd/cmpxchg support

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@29 c046a42c-6fe2-441c-8c8c-71466251a162

72f03900 02/19/2003 01:33 am bellard

suppressed clashes

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@8 c046a42c-6fe2-441c-8c8c-71466251a162

31e31b8a 02/19/2003 12:55 am bellard

This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3 c046a42c-6fe2-441c-8c8c-71466251a162