From patchwork Tue Oct 3 23:31:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Warner Losh X-Patchwork-Id: 1842958 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=bsdimp-com.20230601.gappssmtp.com header.i=@bsdimp-com.20230601.gappssmtp.com header.a=rsa-sha256 header.s=20230601 header.b=EL0z/VGJ; dkim-atps=neutral Authentication-Results: legolas.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=patchwork.ozlabs.org) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4S0Z8N3tLnz1ypx for ; Wed, 4 Oct 2023 10:41:08 +1100 (AEDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qnovn-0004QQ-4K; Tue, 03 Oct 2023 19:35:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qnovl-0004MH-L7 for qemu-devel@nongnu.org; Tue, 03 Oct 2023 19:35:57 -0400 Received: from mail-io1-xd41.google.com ([2607:f8b0:4864:20::d41]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qnovR-0007Pn-Ch for qemu-devel@nongnu.org; Tue, 03 Oct 2023 19:35:52 -0400 Received: by mail-io1-xd41.google.com with SMTP id ca18e2360f4ac-79fc3d32a2fso60170339f.1 for ; Tue, 03 Oct 2023 16:35:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1696376136; x=1696980936; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Ci9IVvBHiMF+Kz9t9dpXV7nFDmS/9Z/PKiZ4KFlDEC8=; b=EL0z/VGJ1wHeuZlsfVMFhXIzvdVMP1l18o0b55Y7ZZ445PL1B4FiP1/fpmwachEoGo mSG+REXbAAHQ8eq5iA94C1FtOUd4OX6CisuDUg+qX5qh5JPfZxyamGhdn98YibaJNtU7 csu12xXn1q19ltSIV5AqEUIORvrYSunYEcXeJMbZwnujBB06PKm4oKG7bq47WD/gk2II cCCPgCm2Bp8CGvFrEkRR07YYRG3WT7xRI8RCnV7/5o4i7ZFUIB0dw2+nIul9b2ea7Nw+ Fak8BOdULgBZfBF7qGn4CpayC+eve4KI1VCK8t4OGrbtt7i4jgOBFnFmxqSarisUZMo3 OMaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696376136; x=1696980936; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ci9IVvBHiMF+Kz9t9dpXV7nFDmS/9Z/PKiZ4KFlDEC8=; b=Q23oZCa0zKxarUdkz4g0dvzfVfeRkcaHwWPqVYnrT6vj0cNa6Y19gZC7lkhiHDzA2o 2ljR/syH9GS2SO9Y5uYSxDOCjSgsTm4SWVrvrqgYnHiCbsD5iVXuouWY/XJnlWUDc06e Hp2HIDg+9z/avG41y5VP+Hk57NtgAOvZA+6ONFgpJZWyQ3r9oJWEpFtpptBO8E+6iZ8w W1Mqkh4TpS7h+6+aJ1IZ65pBhxW1x+r2uEVDTR2Px7F4cMVoaI7Mc7xEqU19lxmhRsuR ZdTEviImISMAA9kFBgjtTcP+pBlb7UpoUQ2nD+Ql2skbiRhYQHaHwQJzpyRL1oW/LiOA HtDw== X-Gm-Message-State: AOJu0Yx/+BaH6g5pVO7Xd6oDKs38SAJ8CuVxMExAlrZUPcySVmxYh9Yw CmF1wJcKb6Wd8Zk34ldPfMJzmpgSSCTN0/iGaXSERkbK X-Google-Smtp-Source: AGHT+IFCPkyodsoP7KEVRj3inRcDTDEVAL3WglJsXJD2pdw/bMGLW1eYlKvqHT2PEG0kB+snbPQgiw== X-Received: by 2002:a6b:7841:0:b0:79f:e99b:474a with SMTP id h1-20020a6b7841000000b0079fe99b474amr865190iop.18.1696376136111; Tue, 03 Oct 2023 16:35:36 -0700 (PDT) Received: from dune.bsdimp.com (50-253-99-174-static.hfc.comcastbusiness.net. [50.253.99.174]) by smtp.gmail.com with ESMTPSA id w25-20020a6b4a19000000b0079fa1a7cd36sm593596iob.30.2023.10.03.16.35.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 16:35:35 -0700 (PDT) From: Warner Losh To: qemu-devel@nongnu.org Cc: Thomas Huth , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex?= =?utf-8?q?_Benn=C3=A9e?= , Wainer dos Santos Moschetta , Beraldo Leal , Warner Losh , Kyle Evans , Stacey Son , Karim Taha , Richard Henderson Subject: [PULL 32/51] bsd-user: Introduce freebsd/os-misc.h to the source tree Date: Tue, 3 Oct 2023 17:31:56 -0600 Message-ID: <20231003233215.95557-33-imp@bsdimp.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231003233215.95557-1-imp@bsdimp.com> References: <20231003233215.95557-1-imp@bsdimp.com> MIME-Version: 1.0 Received-SPF: none client-ip=2607:f8b0:4864:20::d41; envelope-from=imp@bsdimp.com; helo=mail-io1-xd41.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_NONE=0.001, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham 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: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Stacey Son To preserve the copyright notice and help with the 'Author' info for subsequent changes to the file. Signed-off-by: Stacey Son Signed-off-by: Karim Taha Reviewed-by: Richard Henderson Reviewed-by: Warner Losh Message-Id: <20230925182709.4834-5-kariem.taha2.7@gmail.com> --- bsd-user/freebsd/os-misc.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 bsd-user/freebsd/os-misc.h diff --git a/bsd-user/freebsd/os-misc.h b/bsd-user/freebsd/os-misc.h new file mode 100644 index 00000000000..8436ccb2f7d --- /dev/null +++ b/bsd-user/freebsd/os-misc.h @@ -0,0 +1,28 @@ +/* + * miscellaneous FreeBSD system call shims + * + * Copyright (c) 2013-14 Stacey D. Son + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see . + */ + +#ifndef OS_MISC_H +#define OS_MISC_H + +#include +#include +#include + + +#endif /* OS_MISC_H */