[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH for 6.2 46/49] bsd-user: move qemu_log to later in the file
|
From: |
Warner Losh |
|
Subject: |
[PATCH for 6.2 46/49] bsd-user: move qemu_log to later in the file |
|
Date: |
Sat, 7 Aug 2021 15:42:39 -0600 |
From: Warner Losh <imp@FreeBSD.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
---
bsd-user/main.c | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/bsd-user/main.c b/bsd-user/main.c
index c8fafa78d0..7ba616a995 100644
--- a/bsd-user/main.c
+++ b/bsd-user/main.c
@@ -85,14 +85,6 @@ unsigned long target_dflssiz = TARGET_DFLSSIZ; /* initial
data size limit */
unsigned long target_maxssiz = TARGET_MAXSSIZ; /* max stack size */
unsigned long target_sgrowsiz = TARGET_SGROWSIZ; /* amount to grow stack */
-void gemu_log(const char *fmt, ...)
-{
- va_list ap;
-
- va_start(ap, fmt);
- vfprintf(stderr, fmt, ap);
- va_end(ap);
-}
void fork_start(void)
{
@@ -181,6 +173,15 @@ void init_task_state(TaskState *ts)
ts->sigqueue_table[i].next = NULL;
}
+void gemu_log(const char *fmt, ...)
+{
+ va_list ap;
+
+ va_start(ap, fmt);
+ vfprintf(stderr, fmt, ap);
+ va_end(ap);
+}
+
static void
adjust_ssize(void)
{
--
2.32.0
- Re: [PATCH for 6.2 38/49] bsd-user: Update mapping to handle reserved and starting conditions, (continued)
- [PATCH for 6.2 40/49] bsd-user: Add target_arch_reg to describe a target's register set, Warner Losh, 2021/08/07
- [PATCH for 6.2 41/49] bsd-user: Add target_os_user.h to capture the user/kernel structures, Warner Losh, 2021/08/07
- [PATCH for 6.2 45/49] bsd-user: Make guest_base an unsigned long, Warner Losh, 2021/08/07
- [PATCH for 6.2 46/49] bsd-user: move qemu_log to later in the file,
Warner Losh <=
- [PATCH for 6.2 48/49] bsd-user: Implement cpu_copy() helper routine, Warner Losh, 2021/08/07
- [PATCH for 6.2 43/49] bsd-user: elfload.c style catch up patch, Warner Losh, 2021/08/07
- [PATCH for 6.2 44/49] bsd-user: Refactor load_elf_sections and is_target_elf_binary, Warner Losh, 2021/08/07
- [PATCH for 6.2 49/49] bsd-user: Add '-0 argv0' option to bsd-user/main.c, Warner Losh, 2021/08/07
- [PATCH for 6.2 47/49] bsd-user: Implement interlock for atomic operations, Warner Losh, 2021/08/07