~ubuntu-branches/ubuntu/quantal/open-vm-tools/quantal-201207201942

« back to all changes in this revision

Viewing changes to modules/linux/vmci/vmciGuestKernelIf.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-03-20 10:19:00 UTC
  • mfrom: (1.1.4 upstream) (2.4.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090320101900-1o604camiubq2de8
Tags: 2009.03.18-154848-2
Correcting patch system depends (Closes: #520493).

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#ifndef _VMCI_GUEST_KERNEL_IF_H_
29
29
#define _VMCI_GUEST_KERNEL_IF_H_
30
30
 
31
 
#if !defined(linux) && !defined(_WIN32) && !defined(SOLARIS)
32
 
#error "Platform not supported."
33
 
#endif
34
 
 
35
31
#if defined(_WIN32)
36
32
#include <ntddk.h>
37
33
#endif 
54
50
#elif defined(SOLARIS)
55
51
  typedef uint8_t * VMCIIoPort;
56
52
  typedef ddi_acc_handle_t VMCIIoHandle;
 
53
#elif defined(__APPLE__)
 
54
  typedef unsigned short int VMCIIoPort;
 
55
  typedef void *VMCIIoHandle;
57
56
#endif // VMKERNEL
58
57
 
59
58
void VMCI_ReadPortBytes(VMCIIoHandle handle, VMCIIoPort port, uint8 *buffer,