win-pvdrivers

changeset 475:525a6f4ca9a1

merged with head
author James Harper <james.harper@bendigoit.com.au>
date Tue Dec 02 21:00:51 2008 +1100 (2008-12-02)
parents 3d4ed6b566a0 c33db88c95a8
children 76e2404c5d5f dd2fefa6b374
files common/include/xen_public.h
line diff
     1.1 --- a/common/include/xen_public.h	Tue Dec 02 20:59:22 2008 +1100
     1.2 +++ b/common/include/xen_public.h	Tue Dec 02 21:00:51 2008 +1100
     1.3 @@ -276,15 +276,15 @@ ADD_XEN_INIT_REQ(PUCHAR *ptr, UCHAR type
     1.4    case XEN_INIT_TYPE_STATE_PTR:
     1.5      break;
     1.6    case XEN_INIT_TYPE_WRITE_STRING:
     1.7 -    __ADD_XEN_INIT_STRING(ptr, p1);
     1.8 -    __ADD_XEN_INIT_STRING(ptr, p2);
     1.9 +    __ADD_XEN_INIT_STRING(ptr, (PCHAR) p1);
    1.10 +    __ADD_XEN_INIT_STRING(ptr, (PCHAR) p2);
    1.11      break;
    1.12    case XEN_INIT_TYPE_RING:
    1.13    case XEN_INIT_TYPE_EVENT_CHANNEL:
    1.14    case XEN_INIT_TYPE_EVENT_CHANNEL_IRQ:
    1.15    case XEN_INIT_TYPE_READ_STRING_FRONT:
    1.16    case XEN_INIT_TYPE_READ_STRING_BACK:
    1.17 -    __ADD_XEN_INIT_STRING(ptr, p1);
    1.18 +    __ADD_XEN_INIT_STRING(ptr, (PCHAR) p1);
    1.19      break;
    1.20    case XEN_INIT_TYPE_GRANT_ENTRIES:
    1.21      __ADD_XEN_INIT_ULONG(ptr, PtrToUlong(p2));
    1.22 @@ -345,18 +345,18 @@ ADD_XEN_INIT_RSP(PUCHAR *ptr, UCHAR type
    1.23    case XEN_INIT_TYPE_RUN:
    1.24      break;
    1.25    case XEN_INIT_TYPE_RING:
    1.26 -    __ADD_XEN_INIT_STRING(ptr, p1);
    1.27 +    __ADD_XEN_INIT_STRING(ptr, (PCHAR) p1);
    1.28      __ADD_XEN_INIT_PTR(ptr, p2);
    1.29      break;
    1.30    case XEN_INIT_TYPE_EVENT_CHANNEL:
    1.31    case XEN_INIT_TYPE_EVENT_CHANNEL_IRQ:
    1.32 -    __ADD_XEN_INIT_STRING(ptr, p1);
    1.33 +    __ADD_XEN_INIT_STRING(ptr, (PCHAR) p1);
    1.34      __ADD_XEN_INIT_ULONG(ptr, PtrToUlong(p2));
    1.35      break;
    1.36    case XEN_INIT_TYPE_READ_STRING_FRONT:
    1.37    case XEN_INIT_TYPE_READ_STRING_BACK:
    1.38 -    __ADD_XEN_INIT_STRING(ptr, p1);
    1.39 -    __ADD_XEN_INIT_STRING(ptr, p2);
    1.40 +    __ADD_XEN_INIT_STRING(ptr, (PCHAR) p1);
    1.41 +    __ADD_XEN_INIT_STRING(ptr, (PCHAR) p2);
    1.42      break;
    1.43    case XEN_INIT_TYPE_VECTORS:
    1.44      //__ADD_XEN_INIT_ULONG(ptr, PtrToUlong(p1));