From patchwork Sat Jan 8 07:37:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Warner Losh X-Patchwork-Id: 1577160 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=bsdimp-com.20210112.gappssmtp.com header.i=@bsdimp-com.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=HhQ4MSsQ; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JWCVC5qJsz9sXM for ; Sat, 8 Jan 2022 19:11:47 +1100 (AEDT) Received: from localhost ([::1]:50288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n66pF-0008D3-LU for incoming@patchwork.ozlabs.org; Sat, 08 Jan 2022 03:11:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n66IU-0005I1-8W for qemu-devel@nongnu.org; Sat, 08 Jan 2022 02:37:57 -0500 Received: from [2607:f8b0:4864:20::d32] (port=44546 helo=mail-io1-xd32.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n66IQ-0003KU-69 for qemu-devel@nongnu.org; Sat, 08 Jan 2022 02:37:52 -0500 Received: by mail-io1-xd32.google.com with SMTP id h23so10031219iol.11 for ; Fri, 07 Jan 2022 23:37:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/jy48HkNUaUaZfPXMlTQ3cZWu/LfzAMp6hpZ/Zmo3lU=; b=HhQ4MSsQAsgHQLXrXodnrzhUS9aeCyIDZyVs92J4CKB0wTWwEpn5v94xhLp47QWEU6 S5cs36ES8a3slGJBA8iGSWU3wbGtDTkpSq6qSkzCQGs11wqipWoeYxb/m3eQmjtnM6KX cRHgCDov19LlNvkJ51mWbBvSqE/bhFJHGOMTMqX9qJKQu0u/6Nm0dUeJO+eExwdKqy+w guw3/fn9JV+QKM/jhqiq31jwAHGGO90Pw27on4UKRh/KkMt/BsAebY91aUE3xi5JqOvc eFzK/P5J4oKyqEOE0LoMDltj+MVccan/xNQJuyc8ZWA07HG1N6OeQviwyg5rPWH0N2ms uaow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/jy48HkNUaUaZfPXMlTQ3cZWu/LfzAMp6hpZ/Zmo3lU=; b=GAF0KrLYI8mN4N0SFMESlEgOIeQqMGC/Iw/rROiwVNlgGYANLAGdPDKxklvSxLaZoZ j/+QHZc0GCeqP9a/nFJJzciSd67tahTpPn7fSxVbQcdahXVEYc+eOJHJY5S3QXRCUsIa joZX3wFNcHk8uOcAClnZ+SkD/U62aGdIPo2LofwsoZfLSadWaRGa2Jx6qKquJwRoipM3 jW5WLkOZaJFKnoLyZzwsWCXzbGD67f0auFvGqmIw4hoZhgzdBZtKq8oknWN4fomIc5PF +g0PiP0pOD+jACfLgdQsGeE5PFWh6zbZfXXL+xKE8aVK1xafzLMpRbz3znoj8J/rzTfy rJug== X-Gm-Message-State: AOAM530wGI+j/oYnM3gw39KrTrVskyco3kTolWrSls0v2MkxlL4x9PAz FyPt6lKoLxIkReqGW3AzwNSk45pG6oB+e4RZ X-Google-Smtp-Source: ABdhPJyOjGJJGRb5qOJCS2PKkfDxvf/uM7VDVhmMRoh1yyYDcg3diowGiHuyhIaZ0fQojMNiad1OXQ== X-Received: by 2002:a02:b11d:: with SMTP id r29mr34055740jah.71.1641627467559; Fri, 07 Jan 2022 23:37:47 -0800 (PST) Received: from dune.bsdimp.com (50-253-99-174-static.hfc.comcastbusiness.net. [50.253.99.174]) by smtp.gmail.com with ESMTPSA id w19sm613022iov.12.2022.01.07.23.37.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jan 2022 23:37:47 -0800 (PST) From: Warner Losh To: qemu-devel@nongnu.org Subject: [PULL 05/37] bsd-user/i386/target_arch_signal.h: use new target_os_ucontext.h Date: Sat, 8 Jan 2022 00:37:05 -0700 Message-Id: <20220108073737.5959-6-imp@bsdimp.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220108073737.5959-1-imp@bsdimp.com> References: <20220108073737.5959-1-imp@bsdimp.com> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::d32 (failed) Received-SPF: none client-ip=2607:f8b0:4864:20::d32; envelope-from=imp@bsdimp.com; helo=mail-io1-xd32.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, kevans@freebsd.org, Michael Tokarev , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Laurent Vivier , Richard Henderson , Warner Losh Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Warner Losh Reviewed-by: Richard Henderson --- bsd-user/i386/target_arch_signal.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/bsd-user/i386/target_arch_signal.h b/bsd-user/i386/target_arch_signal.h index e262667bdab..bf7263c4f8d 100644 --- a/bsd-user/i386/target_arch_signal.h +++ b/bsd-user/i386/target_arch_signal.h @@ -30,14 +30,7 @@ typedef struct target_mcontext { } target_mcontext_t; -typedef struct target_ucontext { - target_sigset_t uc_sigmask; - target_mcontext_t uc_mcontext; - abi_ulong uc_link; - target_stack_t uc_stack; - int32_t uc_flags; - int32_t __spare__[4]; -} target_ucontext_t; +#include "target_os_ucontext.h" struct target_sigframe { abi_ulong sf_signum;