Staging: hv: remove volatile usage from HvSynicApi.h
[wandboard.git] / drivers / staging / hv / include / HvHcApi.h
blobc03926a2f0b726dc347083c0b9e278e162a6b387
1 /*
3 * Copyright (c) 2009, Microsoft Corporation.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
14 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
16 * Place - Suite 330, Boston, MA 02111-1307 USA.
18 * Authors:
19 * Haiyang Zhang <haiyangz@microsoft.com>
20 * Hank Janssen <hjanssen@microsoft.com>
24 #ifndef __HVHCAPI_H
25 #define __HVHCAPI_H
27 /* Declare the various hypercall operations. */
28 enum hv_call_code {
29 HvCallPostMessage = 0x005c,
30 HvCallSignalEvent = 0x005d,
33 /* Definition of the HvPostMessage hypercall input structure. */
34 struct hv_input_post_message {
35 union hv_connection_id ConnectionId;
36 u32 Reserved;
37 enum hv_message_type MessageType;
38 u32 PayloadSize;
39 u64 Payload[HV_MESSAGE_PAYLOAD_QWORD_COUNT];
42 /* Definition of the HvSignalEvent hypercall input structure. */
43 struct hv_input_signal_event {
44 union hv_connection_id ConnectionId;
45 u16 FlagNumber;
46 u16 RsvdZ;
49 #endif