summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/sys/archsystm.h
diff options
context:
space:
mode:
authorJoe Bonasera <Joe.Bonasera@sun.com>2009-07-14 10:51:37 -0700
committerJoe Bonasera <Joe.Bonasera@sun.com>2009-07-14 10:51:37 -0700
commit2ef50f010f7a3a07eb5a9f6001b9843fd868e26b (patch)
tree517cbe696d6da0bbb76aef7f2db59c73a0a6c7e5 /usr/src/uts/intel/sys/archsystm.h
parent349dcea37d1dc6e491c49c864c5e3773a4e3cae6 (diff)
downloadillumos-gate-2ef50f010f7a3a07eb5a9f6001b9843fd868e26b.tar.gz
6848982 32 bit kernel should use %cr8 to access the TPR when possible
Diffstat (limited to 'usr/src/uts/intel/sys/archsystm.h')
-rw-r--r--usr/src/uts/intel/sys/archsystm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/uts/intel/sys/archsystm.h b/usr/src/uts/intel/sys/archsystm.h
index fdd4f00478..92438659c0 100644
--- a/usr/src/uts/intel/sys/archsystm.h
+++ b/usr/src/uts/intel/sys/archsystm.h
@@ -45,6 +45,8 @@ extern int getpil(void);
extern ulong_t getcr0(void);
extern void setcr0(ulong_t);
+extern ulong_t getcr8(void);
+extern void setcr8(ulong_t);
extern ulong_t getcr2(void);
extern void iommu_cpu_nop(void);
extern void clflush_insn(caddr_t addr);