From 38a9df71f9c178ed242e37c3ee394c6436e45e87 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Tue, 16 Jun 2009 15:13:18 +0000 Subject: Move (read|write)_cyrix_reg() inlines from specialreg.h to cpufunc.h. specialreg.h now consists solely of register-related macros. --- sys/i386/include/specialreg.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'sys/i386/include/specialreg.h') 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_ */ -- cgit v1.2.3