Commit ae48a07313d76b9097ba80a6e0d338acc2201c2e

Authored by bellard
1 parent 956034d7

flock


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@106 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 16 additions and 0 deletions
syscall-i386.h
@@ -936,6 +936,22 @@ union target_semun { @@ -936,6 +936,22 @@ union target_semun {
936 unsigned int __pad; /* really void* */ 936 unsigned int __pad; /* really void* */
937 }; 937 };
938 938
  939 +struct target_flock {
  940 + short l_type;
  941 + short l_whence;
  942 + target_ulong l_start;
  943 + target_ulong l_len;
  944 + int l_pid;
  945 +};
  946 +
  947 +struct target_flock64 {
  948 + short l_type;
  949 + short l_whence;
  950 + unsigned long long l_start;
  951 + unsigned long long l_len;
  952 + int l_pid;
  953 +};
  954 +
939 /* soundcard defines (XXX: move them to generic file syscall_defs.h) */ 955 /* soundcard defines (XXX: move them to generic file syscall_defs.h) */
940 956
941 #define TARGET_SNDCTL_COPR_HALT 0xc0144307 957 #define TARGET_SNDCTL_COPR_HALT 0xc0144307