~n-muench/ubuntu/precise/open-vm-tools/open-vm-tools-precise.sid-merge1

« back to all changes in this revision

Viewing changes to lib/include/hostinfo.h

  • Committer: Evan Broder
  • Date: 2010-03-21 23:26:53 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: broder@mit.edu-20100321232653-5a57r7v7ch4o6byv
Merging shared upstream rev into target branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 * hostinfo.h --
21
21
 *
22
22
 *      Interface to host-specific information functions
23
 
 *   
 
23
 *
24
24
 */
25
25
 
26
26
#if !defined(_HOSTINFO_H_)
73
73
extern Bool Hostinfo_OSIsWinNT(void);
74
74
extern Bool Hostinfo_OSIsWow64(void);
75
75
#endif
 
76
extern Bool Hostinfo_NestingSupported(void);
76
77
extern Bool Hostinfo_TouchBackDoor(void);
 
78
extern Bool Hostinfo_TouchVirtualPC(void);
77
79
extern Bool Hostinfo_TouchXen(void);
78
80
extern char *Hostinfo_HypervisorCPUIDSig(void);
79
81
 
129
131
 
130
132
 
131
133
extern uint32 Hostinfo_NumCPUs(void);
 
134
extern char *Hostinfo_GetCpuidStr(void);
132
135
extern Bool Hostinfo_GetCpuid(HostinfoCpuIdInfo *info);
133
136
 
134
137
#if defined(VMX86_SERVER)
179
182
OS_DETAIL_TYPE Hostinfo_GetOSDetailType(void);
180
183
 
181
184
Bool Hostinfo_GetPCFrequency(uint64 *pcHz);
182
 
Bool Hostinfo_GetMhzOfProcessor(int32 processorNumber, 
 
185
Bool Hostinfo_GetMhzOfProcessor(int32 processorNumber,
183
186
                                uint32 *currentMhz, uint32 *maxMhz);
184
187
uint64 Hostinfo_SystemIdleTime(void);
185
188
Bool Hostinfo_GetAllCpuid(CPUIDQuery *query);