Displaying 1 result from an estimated 1 matches for "shared_info_area".
2007 Nov 02
0
[PATCH] PVWin: Fix warnings
...:52:30 2007 -0700
@@ -35,7 +35,6 @@ BOOLEAN
BOOLEAN
EvtChn_InterruptDpc(WDFINTERRUPT Interrupt, WDFOBJECT AssociatedObject)
{
- int i;
int cpu = 0;
vcpu_info_t *vcpu_info;
unsigned long evt_words, evt_word;
@@ -50,7 +49,7 @@ EvtChn_InterruptDpc(WDFINTERRUPT Interru
vcpu_info = &shared_info_area->vcpu_info[cpu];
- evt_words = _InterlockedExchange(&vcpu_info->evtchn_pending_sel, 0);
+ evt_words = _InterlockedExchange((volatile LONG
*)&vcpu_info->evtchn_pending_sel, 0);
while (_BitScanForward(&evt_word, evt_words))
{
@@ -68,7 +67,7 @@ EvtChn_InterruptDpc(WDFINT...