aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/include/specialreg.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2009-06-16 15:13:18 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2009-06-16 15:13:18 +0000
commit38a9df71f9c178ed242e37c3ee394c6436e45e87 (patch)
tree8dbc08498b32625de83a4f9dcb0485f57bb40132 /sys/i386/include/specialreg.h
parent706b8a103acebed83051151a587673054fe404c6 (diff)
downloadsrc-38a9df71f9c178ed242e37c3ee394c6436e45e87.tar.gz
src-38a9df71f9c178ed242e37c3ee394c6436e45e87.zip
Move (read|write)_cyrix_reg() inlines from specialreg.h to cpufunc.h.
specialreg.h now consists solely of register-related macros.
Notes
Notes: svn path=/head/; revision=194295
Diffstat (limited to 'sys/i386/include/specialreg.h')
-rw-r--r--sys/i386/include/specialreg.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/sys/i386/include/specialreg.h b/sys/i386/include/specialreg.h
index 67283e44c580..aeda4c419808 100644
--- a/sys/i386/include/specialreg.h
+++ b/sys/i386/include/specialreg.h
@@ -575,20 +575,4 @@
#define VIA_CRYPT_CWLO_KEY192 0x0000040c /* 192bit, 12 rds */
#define VIA_CRYPT_CWLO_KEY256 0x0000080e /* 256bit, 15 rds */
-#ifndef LOCORE
-static __inline u_char
-read_cyrix_reg(u_char reg)
-{
- outb(0x22, reg);
- return inb(0x23);
-}
-
-static __inline void
-write_cyrix_reg(u_char reg, u_char data)
-{
- outb(0x22, reg);
- outb(0x23, data);
-}
-#endif
-
#endif /* !_MACHINE_SPECIALREG_H_ */