diff options
author | kato <kato@FreeBSD.org> | 1998-01-25 23:45:41 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1998-01-25 23:45:41 +0000 |
commit | c076a7316c193b5e2fca8dd4e9437d827a65aae4 (patch) | |
tree | 495f7706cc51758186d81ce3cfef9d20d867d0d2 /sys/i386/include/cpufunc.h | |
parent | 813f372ef38c9adba0fd8707a16f5883becc9cc2 (diff) | |
download | FreeBSD-src-c076a7316c193b5e2fca8dd4e9437d827a65aae4.zip FreeBSD-src-c076a7316c193b5e2fca8dd4e9437d827a65aae4.tar.gz |
Undo previous commit. The cpuid symbol has been already used by SMP
stuff.
Pointed-out by: Manfred Antar <root@mantar.slip.netcom.com>
Diffstat (limited to 'sys/i386/include/cpufunc.h')
-rw-r--r-- | sys/i386/include/cpufunc.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/i386/include/cpufunc.h b/sys/i386/include/cpufunc.h index 0aa8e74..22e4c27 100644 --- a/sys/i386/include/cpufunc.h +++ b/sys/i386/include/cpufunc.h @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: cpufunc.h,v 1.74 1998/01/15 07:32:55 gibbs Exp $ + * $Id: cpufunc.h,v 1.75 1998/01/25 17:02:00 kato Exp $ */ /* @@ -58,14 +58,6 @@ breakpoint(void) } static __inline void -cpuid(u_int *eax, u_int *ebx, u_int *ecx, u_int *edx) -{ - __asm __volatile(".byte 0x0f, 0xa2" - : "=a" (*eax), "=b" (*ebx), "=c" (*ecx), "=d" (*edx) - : "a" (*eax)); -} - -static __inline void disable_intr(void) { __asm __volatile("cli" : : : "memory"); @@ -403,7 +395,6 @@ wrmsr(u_int msr, quad_t newval) #else /* !__GNUC__ */ int breakpoint __P((void)); -void cpuid __P((u_int *eax, u_int *ebx, u_int *ecx, u_int *edx)); void disable_intr __P((void)); void enable_intr __P((void)); u_char inb __P((u_int port)); |