Diff for /qemu/linux-user/qemu.h between versions 1.1.1.7 and 1.1.1.8

version 1.1.1.7, 2018/04/24 17:22:46 version 1.1.1.8, 2018/04/24 17:36:10
Line 18 Line 18
 #include "syscall.h"  #include "syscall.h"
 #include "target_signal.h"  #include "target_signal.h"
 #include "gdbstub.h"  #include "gdbstub.h"
 #include "sys-queue.h"  #include "qemu-queue.h"
   
 #if defined(USE_NPTL)  #if defined(CONFIG_USE_NPTL)
 #define THREAD __thread  #define THREAD __thread
 #else  #else
 #define THREAD  #define THREAD
Line 104  typedef struct TaskState { Line 104  typedef struct TaskState {
     uint32_t v86flags;      uint32_t v86flags;
     uint32_t v86mask;      uint32_t v86mask;
 #endif  #endif
 #ifdef USE_NPTL  #ifdef CONFIG_USE_NPTL
     abi_ulong child_tidptr;      abi_ulong child_tidptr;
 #endif  #endif
 #ifdef TARGET_M68K  #ifdef TARGET_M68K
Line 133  void init_task_state(TaskState *ts); Line 133  void init_task_state(TaskState *ts);
 void task_settid(TaskState *);  void task_settid(TaskState *);
 void stop_all_tasks(void);  void stop_all_tasks(void);
 extern const char *qemu_uname_release;  extern const char *qemu_uname_release;
   #if defined(CONFIG_USE_GUEST_BASE)
   extern unsigned long mmap_min_addr;
   #endif
   
 /* ??? See if we can avoid exposing so much of the loader internals.  */  /* ??? See if we can avoid exposing so much of the loader internals.  */
 /*  /*
Line 187  abi_long do_syscall(void *cpu_env, int n Line 190  abi_long do_syscall(void *cpu_env, int n
 void gemu_log(const char *fmt, ...) __attribute__((format(printf,1,2)));  void gemu_log(const char *fmt, ...) __attribute__((format(printf,1,2)));
 extern THREAD CPUState *thread_env;  extern THREAD CPUState *thread_env;
 void cpu_loop(CPUState *env);  void cpu_loop(CPUState *env);
 void init_paths(const char *prefix);  
 const char *path(const char *pathname);  
 char *target_strerror(int err);  char *target_strerror(int err);
 int get_osversion(void);  int get_osversion(void);
 void fork_start(void);  void fork_start(void);
Line 241  void mmap_unlock(void); Line 242  void mmap_unlock(void);
 abi_ulong mmap_find_vma(abi_ulong, abi_ulong);  abi_ulong mmap_find_vma(abi_ulong, abi_ulong);
 void cpu_list_lock(void);  void cpu_list_lock(void);
 void cpu_list_unlock(void);  void cpu_list_unlock(void);
 #if defined(USE_NPTL)  #if defined(CONFIG_USE_NPTL)
 void mmap_fork_start(void);  void mmap_fork_start(void);
 void mmap_fork_end(int child);  void mmap_fork_end(int child);
 #endif  #endif
Line 438  static inline void *lock_user_string(abi Line 439  static inline void *lock_user_string(abi
 #define unlock_user_struct(host_ptr, guest_addr, copy)          \  #define unlock_user_struct(host_ptr, guest_addr, copy)          \
     unlock_user(host_ptr, guest_addr, (copy) ? sizeof(*host_ptr) : 0)      unlock_user(host_ptr, guest_addr, (copy) ? sizeof(*host_ptr) : 0)
   
 #if defined(USE_NPTL)  #if defined(CONFIG_USE_NPTL)
 #include <pthread.h>  #include <pthread.h>
 #endif  #endif
   

Removed from v.1.1.1.7  
changed lines
  Added in v.1.1.1.8


unix.superglobalmegacorp.com