From nobody Fri Dec 27 17:26:26 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1502710649329813.8909911669869; Mon, 14 Aug 2017 04:37:29 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id D72962095E008; Mon, 14 Aug 2017 04:34:52 -0700 (PDT) Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0063.outbound.protection.outlook.com [104.47.40.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 0397721D1825F for ; Mon, 14 Aug 2017 04:34:49 -0700 (PDT) Received: from brijesh-build-machine.amd.com (165.204.77.1) by BY2PR12MB0145.namprd12.prod.outlook.com (10.162.82.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1341.21; Mon, 14 Aug 2017 11:37:07 +0000 X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=s3MeDPfRf2sRR7SuJHyJ+cWnIA2antP2O2KW6/C2Tzk=; b=nDgARn6JdvFE0qEIGOJ8cihFMNiP/C3MywrZBgOPVVzg6b3QIKRHaQKiZ5R+tkrQYYk4LMbHAB+NI37UtIG4LaoDHB1D/55pYnx9ozrTepyWLZkDp+7bRSbHMztOb/NMmqnftp7Xq0lEWyy1u92qyNPMKYFF7pwVlMvu2/YAc4k= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=brijesh.singh@amd.com; From: Brijesh Singh To: edk2-devel@lists.01.org Date: Mon, 14 Aug 2017 07:36:25 -0400 Message-Id: <1502710605-8058-4-git-send-email-brijesh.singh@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1502710605-8058-1-git-send-email-brijesh.singh@amd.com> References: <1502710605-8058-1-git-send-email-brijesh.singh@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: MWHPR15CA0043.namprd15.prod.outlook.com (10.173.226.157) To BY2PR12MB0145.namprd12.prod.outlook.com (10.162.82.18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e9f2d5a9-b637-491a-ac98-08d4e308cbcf X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BY2PR12MB0145; X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0145; 3:I0wOQtGIncBYCCl+UOUz9JTZSJiRdbEnAu9h4GMw6jZGMPRYghootI4DSYIlLVKhXVUFtureJlnpgL1R3lKQNR4bHOYklyefXqrgSMMn84ADNEy156g4CsEYPHT6uehsYhuDAUO4oOJPhR7Yp86m3l0uyfTEcrtc+Yue6bATKsm0xknNqRBB1wWAcV/f/65IuI/XjdVH96BJ1SyzRyObKFL4Tu8/R9AMN+Ctj6iPprQdld4WaQBUISgR40Z41K+L; 25:lIYAjPZRq/lUKTesycZoltTMUL2B4x9OJ4MXiHJXDNrg30jvNegrW0/Qj0CE9bopMyGr68V+P8qOR83XW/s4c3/aijz1icZ5+CJXUctM8tIEGYNpuekWp/kMMFHBQSvlkDmZxWGNjX8qnD4oXMvZc/SLXThgukiR0Kr964lCPkKsFbL0lHAx79Z0hUB8+oVlZ+7h0kXqpNykBauxrgnHWGkAGvN9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SsV2FkIPBIkL4NukLboCPKYjLBEr4p3BDaa86KSKZeB6Q6lmf0FkZW7BgxvxpbPmi44CbSOz2Vg2NuAtPxeJ/vaqAQcbLugpVrmH08A6zjgFRmu9GqO5bF6hEBldxLhQ07aNglPJolXjXTC+oGwjjdtqKNRbGE0HGsMePCc70rfgH7YyDSEnk9wsk7L7LoE5YB1XrO5dL0c04u41Zw== X-Exchange-Antispam-Report-Test: UriScan:(767451399110)(228905959029699); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(3002001)(6055026)(6041248)(20161123558100)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123555025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY2PR12MB0145; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY2PR12MB0145; X-Forefront-PRVS: 039975700A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(7370300001)(4630300001)(6009001)(39860400002)(199003)(189002)(54906002)(5003940100001)(6116002)(3846002)(53936002)(97736004)(575784001)(86362001)(36756003)(81156014)(81166006)(110136004)(8676002)(189998001)(50986999)(76176999)(5660300001)(2361001)(25786009)(2351001)(50226002)(4326008)(7350300001)(33646002)(478600001)(53416004)(42186005)(2906002)(105586002)(7736002)(305945005)(106356001)(48376002)(50466002)(47776003)(66066001)(6486002)(6916009)(2950100002)(6666003)(68736007)(101416001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR12MB0145; H:brijesh-build-machine.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR12MB0145; 23:l2VDlHO1AcYOZ/BYc903laUsXAW5K8BQIUI9mksBq?= =?us-ascii?Q?N71tuLs9GlfgdCTwi8iMUZZ6DQKGcJfQ5flQblsHytwq4uOJFq2VP+GhyGbs?= =?us-ascii?Q?KYIKWibN34ZeyqEfe1wVaWeO6arAWbEmOH0GRFX0R2SguV14slayAX2FTujP?= =?us-ascii?Q?kvZ9Z0Pf3+DxDDYr35dGdHOvUd4aRH7HKex2UCjgMGzXdDjoiQhj9EhvivlN?= =?us-ascii?Q?9ioJ5bhzooXIuM7MlhATZfYOOqCNgSdDFdIuaxcZ3y2B2rdyE/L6ehXleoAR?= =?us-ascii?Q?cjWE7jL8kGvBbcmTA+May9scARfqF5hoAL2wE3Ycw/sQWs9royak4I3HQeYf?= =?us-ascii?Q?wrFe0ssir565qgxZsT+aSeTLbxr9zJo3PpFBOb5I9tY/enaOqJZ4KR4wreFA?= =?us-ascii?Q?VrDb/FsQIqzyK3Z0SW3Q8B/i8nas/7Q6kF5Xn2QWSOTU9tGEz8WH32DfsQz8?= =?us-ascii?Q?uPwEhW/Kf1nCf1eq4ANLFXHZGw+uGRx+JYcy9kHL1vr+CpJLc89t97CidqbB?= =?us-ascii?Q?hfRuKNdVNu2QfOLSDjAqZOpbIIcGcn9+6WeEU6nifqf0KSiLsn82oLvASHCb?= =?us-ascii?Q?k/E2DOfUjPXM3k2/99MwvxKEaTcA+p/IGxdj4yu4wsNLVg7SD/ztfaBi+O2f?= =?us-ascii?Q?hE9ghrZu+tJzBe9CcE0XTNbsKqU4rTwHEW3B0RG9DMYsXoV0D9WWDBD77z5k?= =?us-ascii?Q?JQe/TFUS2rHju+b3GM5KVtK7AGMiAn8gp91zUc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wO3Q7v0DTzJ0AG+Y3pbqBwjRYjK5g==; 24:5Y7y43+mItlQ8pLylhUbS1cZVMIZ54jS9RqnZ6pQI9SJxDtC1aVSJP1QERwmZpVeawNNT9Hg+eOq0jWaOtIS6u4ujJvPEkOiMchWqh2f2D8=; 7:8mGDSIGbLEu0nUWeK3jN8H6YoQEp8n/TXvAWmJiy5NuLNLjsb7UQr6i1mn09hXBsgLJsA3GFgbCpM6UISTOC0qgVbr3iYDjdmZWHOOXOFIsF7jymshRnJO2apaoZ8wpJpwO1CKIxwRKiPKkaqebFKQBYphcYERryuQJX1ktzK19yaIpXUiarTFV3LbGZcf/oxFKurmyvTV8mRCpEHQuEj7zNLarirHXEqp0k4qJlXms= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0145; 20:svp9y87mej0J1w0W9w24hqTtwtKbVlsOGGIVHfCHK5b9zacwWaXzRQ/htBTPnJ5JY613bpz2r4FJHgSqg9lAU+sO6u8ltTk5uhqNyMaMR1PDzhTIBD4Bhx6gMgn5kqxB1O/+V2jbt3L8tVhMttepFrBFFOcmCysamrtyS0ldDKOSCH7K5dkIgNiVpEXl/TvrI7goeAEmClz8dw4He2WpsoLdVnMlsK/CZVamEIcKNFunCbZSJmZicoQL8D9iiNW1 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Aug 2017 11:37:07.8617 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR12MB0145 Subject: [edk2] [PATCH v2 03/23] OvmfPkg/VirtioPciDeviceDxe: add missing IN and OUT decoration X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jordan Justen , Tom Lendacky , Laszlo Ersek , Ard Biesheuvel Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Cc: Ard Biesheuvel Cc: Jordan Justen Cc: Tom Lendacky Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Brijesh Singh Reviewed-by: Laszlo Ersek --- OvmfPkg/VirtioPciDeviceDxe/VirtioPciDevice.h | 24 ++++++++++---------- OvmfPkg/VirtioPciDeviceDxe/VirtioPciFunctions.c | 24 ++++++++++---------- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/OvmfPkg/VirtioPciDeviceDxe/VirtioPciDevice.h b/OvmfPkg/VirtioP= ciDeviceDxe/VirtioPciDevice.h index 8f17a16c88f5..6f51f816ef0f 100644 --- a/OvmfPkg/VirtioPciDeviceDxe/VirtioPciDevice.h +++ b/OvmfPkg/VirtioPciDeviceDxe/VirtioPciDevice.h @@ -96,15 +96,15 @@ VirtioPciGetQueueSize ( EFI_STATUS EFIAPI VirtioPciSetQueueAlignment ( - VIRTIO_DEVICE_PROTOCOL *This, - UINT32 Alignment + IN VIRTIO_DEVICE_PROTOCOL *This, + IN UINT32 Alignment ); =20 EFI_STATUS EFIAPI VirtioPciSetPageSize ( - VIRTIO_DEVICE_PROTOCOL *This, - UINT32 PageSize + IN VIRTIO_DEVICE_PROTOCOL *This, + IN UINT32 PageSize ); =20 EFI_STATUS @@ -131,29 +131,29 @@ VirtioPciSetQueueAddress ( EFI_STATUS EFIAPI VirtioPciSetQueueSel ( - VIRTIO_DEVICE_PROTOCOL *This, - UINT16 Sel + IN VIRTIO_DEVICE_PROTOCOL *This, + IN UINT16 Sel ); =20 EFI_STATUS EFIAPI VirtioPciSetQueueNotify ( - VIRTIO_DEVICE_PROTOCOL *This, - UINT16 Index + IN VIRTIO_DEVICE_PROTOCOL *This, + IN UINT16 Index ); =20 EFI_STATUS EFIAPI VirtioPciSetQueueSize ( - VIRTIO_DEVICE_PROTOCOL *This, - UINT16 Size + IN VIRTIO_DEVICE_PROTOCOL *This, + IN UINT16 Size ); =20 EFI_STATUS EFIAPI VirtioPciSetDeviceStatus ( - VIRTIO_DEVICE_PROTOCOL *This, - UINT8 DeviceStatus + IN VIRTIO_DEVICE_PROTOCOL *This, + IN UINT8 DeviceStatus ); =20 #endif // _VIRTIO_PCI_DEVICE_DXE_H_ diff --git a/OvmfPkg/VirtioPciDeviceDxe/VirtioPciFunctions.c b/OvmfPkg/Virt= ioPciDeviceDxe/VirtioPciFunctions.c index 243aa14c2421..5f86914265ea 100644 --- a/OvmfPkg/VirtioPciDeviceDxe/VirtioPciFunctions.c +++ b/OvmfPkg/VirtioPciDeviceDxe/VirtioPciFunctions.c @@ -196,8 +196,8 @@ VirtioPciSetQueueAddress ( EFI_STATUS EFIAPI VirtioPciSetQueueSel ( - VIRTIO_DEVICE_PROTOCOL *This, - UINT16 Sel + IN VIRTIO_DEVICE_PROTOCOL *This, + IN UINT16 Sel ) { VIRTIO_PCI_DEVICE *Dev; @@ -211,8 +211,8 @@ VirtioPciSetQueueSel ( EFI_STATUS EFIAPI VirtioPciSetQueueAlignment ( - VIRTIO_DEVICE_PROTOCOL *This, - UINT32 Alignment + IN VIRTIO_DEVICE_PROTOCOL *This, + IN UINT32 Alignment ) { return EFI_SUCCESS; @@ -221,8 +221,8 @@ VirtioPciSetQueueAlignment ( EFI_STATUS EFIAPI VirtioPciSetPageSize ( - VIRTIO_DEVICE_PROTOCOL *This, - UINT32 PageSize + IN VIRTIO_DEVICE_PROTOCOL *This, + IN UINT32 PageSize ) { return (PageSize =3D=3D EFI_PAGE_SIZE) ? EFI_SUCCESS : EFI_UNSUPPORTED; @@ -231,8 +231,8 @@ VirtioPciSetPageSize ( EFI_STATUS EFIAPI VirtioPciSetQueueNotify ( - VIRTIO_DEVICE_PROTOCOL *This, - UINT16 Index + IN VIRTIO_DEVICE_PROTOCOL *This, + IN UINT16 Index ) { VIRTIO_PCI_DEVICE *Dev; @@ -246,8 +246,8 @@ VirtioPciSetQueueNotify ( EFI_STATUS EFIAPI VirtioPciSetQueueSize ( - VIRTIO_DEVICE_PROTOCOL *This, - UINT16 Size + IN VIRTIO_DEVICE_PROTOCOL *This, + IN UINT16 Size ) { // @@ -260,8 +260,8 @@ VirtioPciSetQueueSize ( EFI_STATUS EFIAPI VirtioPciSetDeviceStatus ( - VIRTIO_DEVICE_PROTOCOL *This, - UINT8 DeviceStatus + IN VIRTIO_DEVICE_PROTOCOL *This, + IN UINT8 DeviceStatus ) { VIRTIO_PCI_DEVICE *Dev; --=20 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel