Print this page
9723 provide support for VMM's GDT handling
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/sys/x86_archext.h
          +++ new/usr/src/uts/intel/sys/x86_archext.h
↓ open down ↓ 883 lines elided ↑ open up ↑
 884  884  #if !defined(__xpv)
 885  885  extern void determine_platform(void);
 886  886  #endif
 887  887  extern int get_hwenv(void);
 888  888  extern int is_controldom(void);
 889  889  
 890  890  extern void enable_pcid(void);
 891  891  
 892  892  extern void xsave_setup_msr(struct cpu *);
 893  893  
      894 +#if !defined(__xpv)
      895 +extern void reset_gdtr_limit(void);
      896 +#endif
      897 +
 894  898  /*
 895  899   * Hypervisor signatures
 896  900   */
 897  901  #define HVSIG_XEN_HVM   "XenVMMXenVMM"
 898  902  #define HVSIG_VMWARE    "VMwareVMware"
 899  903  #define HVSIG_KVM       "KVMKVMKVM"
 900  904  #define HVSIG_MICROSOFT "Microsoft Hv"
 901  905  
 902  906  /*
 903  907   * Defined hardware environments
↓ open down ↓ 28 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX