From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0055.outbound.protection.outlook.com [104.47.40.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 0882621C9127F for ; Mon, 14 Aug 2017 04:34:47 -0700 (PDT) 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=fg+owZSIvnHfYVHPr90V/j+BBF/LhWRopweATGd26ng=; b=uoc8iSdSm889JkGZ7igx3MxTyd7Qe1185gJzifOqXLAZAV0VOG8eD/UV5BIxmctGSOfNo5VoE2Eo6uXFLP6khNQntEX8ay7DB/OEOTImJlxT0rErVpgnqvrbiCbTTYsgsxUhUF7hBsh4sP7BtmyP/Izy+D6DkrpGVY9WYUzbzZg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=brijesh.singh@amd.com; 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:08 +0000 From: Brijesh Singh To: edk2-devel@lists.01.org Cc: Brijesh Singh , Ard Biesheuvel , Jordan Justen , Tom Lendacky , Laszlo Ersek Date: Mon, 14 Aug 2017 07:36:26 -0400 Message-Id: <1502710605-8058-5-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: b773b026-c490-4aa7-7ea1-08d4e308cc63 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:UKCDz0gnBvUL+5TUFrLvaY/DcB+c/3YNDx4JnF9atXLEx0gCuAuwpU3XZWEV0XfNLYgOW76VJUjCkC8JoQ03UG/vIlBZRN1a90fzZ5vQXc2U0CQch4wjMxn+VYWCtZwIn0BUXiR4Sw1NWPghYvhrbtQKCLuepZwoi8YGRmd3v9lelkFiXuy0DWzAxrQF1IYhSTaXoG5h5zp9D1aD4xEML1Gg6ObIJJXgdfVXhg7hsVfFDxBrAN7vM1xFHEKMaQFU; 25:aVXDWzjOBmshtSgSCqbf7WukL179RoptdItpHXsSOqXJytv+UHONHX02dannMcW48QRqVZhH0mg9IV36o03zEV0yimuX7hd6FRFesPwXCtX1u+2XEqeuMscjrMr3cFwhcvSH1sDmoiVp6K3sxgFtG/mz6HCt3PaPNgs71SNhIgOB2Od7sU/YKAy1MYexmXur8MtVBIADX/TDUMCpfMVYHt8VGWCQ7Mijdc5L3ZAN5nkyijF4l469mU4R0cPMaQ5SPKJt7T6ZQkwPtsxNm8YCSG+CI0OG/ekgoesL/0vmitz11WUWuaI3I9UrCXWlrEzqK7jAGCGFTw8HmWDd3rjn7g==; 31:0NyOe2rX9vkdE0T1H0AY/qE0ROoq4cwHrP0JByWGo+SNEGgZfs9omZVYCNXVfQ+fJih8vdq6RAB7s4wPfxFgvG2RE5w9Q3FaKQKVmvyEMWGXY5GhHrPDHGJp5/Js/+O4muTLbng9QWM1WZ6NqeDxGcmONgEQmNRhEnqkcArz70Ga/Dxb7r5xy+YscHzAUNuEvTlaSLW4Sbk78l70J2tIQRNMrM42yTs9+fYDRlum3WA= X-MS-TrafficTypeDiagnostic: BY2PR12MB0145: X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0145; 20:M3nfKFHau/i3y6hv01ulxYl+fiZsrlcLCI99RStQ2zmKwl+0TTnLOzO1Hom0a4cUGb2BtJZ4D1grJ6+CHQFmxGhToandBAjLzh5VcecGlRqgqEKSBl1zN8wZ2dRJG//Wd6Shy+cXcbzSnlFgGy9qg9tuvE0BMmcD8jNHwrebRkM/iaZ2u0rdZ7HA5fjREuLis6WzuL2mUX7peqlZ380E+KZ53KPxj9Rh7uq2+lmV8oZPSx0bXzqJm7Eon2aieZaQwtJj/huU31OJysyIxT9+3RQnAptbsJZ2YPW2wxojW06LCqm78mJTLAPJfhSf4ZmFBpZOmLPdEWYFwWjmswH71cfmnDTjCj0Z/TbETeQe20nQ7mLx2Qt9v3ApCg7B7W5UjJC2j8ShTgwmaNUri3Ntwtvn39Lz3Sqs/3av4kJralrHFbnm6VgDVWsHbD0CUi24KNBJfNPkc85ig7NpfzrJZ7uxTsRYIby1rmYsYnfl+Whqb6oXD09/OUbDEsfyntxt; 4:C1DzZyI3Ng+fZf4oMWk58ZrNY1p4k2DCHKNoy0N9JbVaa2w/ORGvkcA4JrtzcgtUezxTzesIqq3hmHz8AIaRkEBqVnhxpoU22itTt2xE54F2hCYMp8oWdtUeItxn7d0z2/RhWrS/3cfveFvWUg+D2r8colJF3/vlaaU3ajpf0rrWSRX3P8czbcrT4ACxRj+Ao2whYW6jfB0l9L5DsaBYgIUkYzSvWcsAfnlF6257luyLvbNy4/THilmfXlMd2kPicOlekTuoterQefNBo0TB+GQluAzJdukughf+ZRjhFbAA9AexJ/s0SnWu5JbDQywuuJD+Y5V1UjmV2vOQp2e68w== 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)(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 (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR12MB0145; 23:X1id8aVrQ3IRc080BD4Yg98R3Lj3uwqkO6RLl8+QZ?= =?us-ascii?Q?gMiRPaUTQFOkMnAKj4wdiSTZl30vgnl94+4fiZAkn3+WGIMiIgi3T46faW2G?= =?us-ascii?Q?9i8s6u3iPueBTmigTPM3rouKBGZpCwcgNCIySqsiF/dMh/MN1W7HababutA5?= =?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h4V/+n3cyl2W7cboGWK91hEke?= =?us-ascii?Q?l17nBfeKat5ZqC0IkU//WflUVVWDLgnuFighqatLWgMVlT9aPp8axuOWOxdu?= =?us-ascii?Q?Jswh+BslUgFO6DhdVWzLNuEO89ig339?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0145; 6:i3bv4yCTFw47X+9j5LQ193SZpOnqsZjMKUesGQ6aBX+HAXOLKW8VQ7U3FX8SjeW4qAzXdYi7Gtno24KD9+oQk7iCeiEL8WCG3taaC/vETakLJNPq12/WaJAMbFjQvqWCvUQFBmWoX/0W030zL4ouL/pwdnI3htjERKKodvKN34vwlWC0BBwrJGmpPJXnhhGV7MHvRwdkvHa05rvD/p8FLj6Y+oESLieTTuhxhpPnMipJnP06lW32H8gVPQdYXRAtIXVP99Q06W5la3+uKikUaODjGt6V/R4kkWNX/QdJ+HBh3IzKpGCCrd02odpbAillBxTVCWZiTwhIT+XcF3afDA==; 5:C/Xrh4vdKVppHOT8osiY652K5z7CLwR24fvsC54WFEStAnrjAwHP3Ua/Z0yhnjf3rXM/ujKFtUI/d1BzhXE6Ac7bWaB1gOs/IwGFQPpJLczseuRin2ryoRFq8ZBjXiPjtPnEVX1w8vQdgtdwqLXG/Q==; 24:Z/yrDRldwhvPaSqya/atfVlfsyggOF/euTXAf5yN226nbThK4H+rAmLbjvSuI/P60zkUkpzJICW74noGv9TLRJEnkYJWgvYUILVi22Mfvdc=; 7:WrvSTuB3ysYImfhqT+aXdKyX/L5dKKBFoDaKRBhpLTlO3kz5MwS5Yu4jbUFfatP3sBq/TRi7mPy8Ngx7Wg9gQp6oOJfiHJ2kvb+Mq5RU+M5ySNRIQPAeffVufus8aZtuAE/09/dJb7SUT9a+RBQtm7WebQMYbYnCayw5IBJDwUAxYkhP/6WMFZC4lxHKt9QHN2u2B4TPuk3QeIAaGgDK/JvDGL9m2/9y3Ryl8wsn88k= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0145; 20:+etX+3M27B0yJ3v4desl+tn+E6SQz5MDEVE7cNrIxm2JSdMkJDZji+U9kPAK4E/A2dFb4tmkLaJ0uRs3fDx+JTmr0hLV8LHBTrZ6YYEb6Veoxssu6sG6MIi6DhULCI/T7U8vfnJ9sWFxDgbBM251qzYeJ6kOjoBZoIGjfa4rrlipq+JaRdlW6pL1/S63mCQW3rwBpb2PjTplvsKw4zeD+gCAM6bQoABvMyhe4O1uChpMs0LLZ/QC2mm53Rq57UgN X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Aug 2017 11:37:08.8461 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR12MB0145 Subject: [PATCH v2 04/23] OvmfPkg/VirtioMmioDeviceLib: 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: , X-List-Received-Date: Mon, 14 Aug 2017 11:34:47 -0000 Content-Type: text/plain Cc: Ard Biesheuvel Cc: Jordan Justen Cc: Tom Lendacky Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Brijesh Singh --- OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDevice.h | 28 ++++++++++---------- OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDeviceFunctions.c | 28 ++++++++++---------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDevice.h b/OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDevice.h index 4130dbc043df..bedd635e1a86 100644 --- a/OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDevice.h +++ b/OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDevice.h @@ -85,29 +85,29 @@ VirtioMmioGetDeviceStatus ( EFI_STATUS EFIAPI VirtioMmioSetQueueSize ( - VIRTIO_DEVICE_PROTOCOL *This, - UINT16 QueueSize + IN VIRTIO_DEVICE_PROTOCOL *This, + IN UINT16 QueueSize ); EFI_STATUS EFIAPI VirtioMmioSetDeviceStatus ( - VIRTIO_DEVICE_PROTOCOL *This, - UINT8 DeviceStatus + IN VIRTIO_DEVICE_PROTOCOL *This, + IN UINT8 DeviceStatus ); EFI_STATUS EFIAPI VirtioMmioSetQueueNotify ( - VIRTIO_DEVICE_PROTOCOL *This, - UINT16 QueueNotify + IN VIRTIO_DEVICE_PROTOCOL *This, + IN UINT16 QueueNotify ); EFI_STATUS EFIAPI VirtioMmioSetQueueSel ( - VIRTIO_DEVICE_PROTOCOL *This, - UINT16 Sel + IN VIRTIO_DEVICE_PROTOCOL *This, + IN UINT16 Sel ); EFI_STATUS @@ -119,22 +119,22 @@ VirtioMmioSetQueueAddress ( EFI_STATUS EFIAPI VirtioMmioSetQueueAlignment ( - VIRTIO_DEVICE_PROTOCOL *This, - UINT32 Alignment + IN VIRTIO_DEVICE_PROTOCOL *This, + IN UINT32 Alignment ); EFI_STATUS EFIAPI VirtioMmioSetPageSize ( - VIRTIO_DEVICE_PROTOCOL *This, - UINT32 PageSize + IN VIRTIO_DEVICE_PROTOCOL *This, + IN UINT32 PageSize ); EFI_STATUS EFIAPI VirtioMmioSetGuestFeatures ( - VIRTIO_DEVICE_PROTOCOL *This, - UINT64 Features + IN VIRTIO_DEVICE_PROTOCOL *This, + IN UINT64 Features ); #endif // _VIRTIO_MMIO_DEVICE_INTERNAL_H_ diff --git a/OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDeviceFunctions.c b/OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDeviceFunctions.c index 53c734f6b1af..9142d4a162c0 100644 --- a/OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDeviceFunctions.c +++ b/OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDeviceFunctions.c @@ -81,8 +81,8 @@ VirtioMmioGetDeviceStatus ( EFI_STATUS EFIAPI VirtioMmioSetQueueSize ( - VIRTIO_DEVICE_PROTOCOL *This, - UINT16 QueueSize + IN VIRTIO_DEVICE_PROTOCOL *This, + IN UINT16 QueueSize ) { VIRTIO_MMIO_DEVICE *Device; @@ -97,8 +97,8 @@ VirtioMmioSetQueueSize ( EFI_STATUS EFIAPI VirtioMmioSetDeviceStatus ( - VIRTIO_DEVICE_PROTOCOL *This, - UINT8 DeviceStatus + IN VIRTIO_DEVICE_PROTOCOL *This, + IN UINT8 DeviceStatus ) { VIRTIO_MMIO_DEVICE *Device; @@ -113,8 +113,8 @@ VirtioMmioSetDeviceStatus ( EFI_STATUS EFIAPI VirtioMmioSetQueueNotify ( - VIRTIO_DEVICE_PROTOCOL *This, - UINT16 QueueNotify + IN VIRTIO_DEVICE_PROTOCOL *This, + IN UINT16 QueueNotify ) { VIRTIO_MMIO_DEVICE *Device; @@ -129,8 +129,8 @@ VirtioMmioSetQueueNotify ( EFI_STATUS EFIAPI VirtioMmioSetQueueAlignment ( - VIRTIO_DEVICE_PROTOCOL *This, - UINT32 Alignment + IN VIRTIO_DEVICE_PROTOCOL *This, + IN UINT32 Alignment ) { VIRTIO_MMIO_DEVICE *Device; @@ -145,8 +145,8 @@ VirtioMmioSetQueueAlignment ( EFI_STATUS EFIAPI VirtioMmioSetPageSize ( - VIRTIO_DEVICE_PROTOCOL *This, - UINT32 PageSize + IN VIRTIO_DEVICE_PROTOCOL *This, + IN UINT32 PageSize ) { VIRTIO_MMIO_DEVICE *Device; @@ -165,8 +165,8 @@ VirtioMmioSetPageSize ( EFI_STATUS EFIAPI VirtioMmioSetQueueSel ( - VIRTIO_DEVICE_PROTOCOL *This, - UINT16 Sel + IN VIRTIO_DEVICE_PROTOCOL *This, + IN UINT16 Sel ) { VIRTIO_MMIO_DEVICE *Device; @@ -197,8 +197,8 @@ VirtioMmioSetQueueAddress ( EFI_STATUS EFIAPI VirtioMmioSetGuestFeatures ( - VIRTIO_DEVICE_PROTOCOL *This, - UINT64 Features + IN VIRTIO_DEVICE_PROTOCOL *This, + IN UINT64 Features ) { VIRTIO_MMIO_DEVICE *Device; -- 2.7.4