]> git.proxmox.com Git - mirror_qemu.git/blobdiff - bsd-user/main.c
Fix BSD user: there is no NPTL
[mirror_qemu.git] / bsd-user / main.c
index 74a1ba61fb290ad892d1cab18fb366d67b7524f2..0dc9b996e0fd2f685895360df2385187e3858cc6 100644 (file)
@@ -50,6 +50,43 @@ void gemu_log(const char *fmt, ...)
     vfprintf(stderr, fmt, ap);
     va_end(ap);
 }
+
+/* These are no-ops because we are not threadsafe.  */
+static inline void cpu_exec_start(CPUState *env)
+{
+}
+
+static inline void cpu_exec_end(CPUState *env)
+{
+}
+
+static inline void start_exclusive(void)
+{
+}
+
+static inline void end_exclusive(void)
+{
+}
+
+void fork_start(void)
+{
+}
+
+void fork_end(int child)
+{
+    if (child) {
+        gdbserver_fork(thread_env);
+    }
+}
+
+void cpu_list_lock(void)
+{
+}
+
+void cpu_list_unlock(void)
+{
+}
+
 #ifdef TARGET_SPARC
 #define SPARC64_STACK_BIAS 2047