push and pop ESI (Daniel Borca)
This commit is contained in:
parent
b6e04ee7c8
commit
cbc1fb0a9a
|
@ -1,4 +1,4 @@
|
|||
/* $Id: common_x86_asm.S,v 1.11 2002/07/11 15:33:02 brianp Exp $ */
|
||||
/* $Id: common_x86_asm.S,v 1.12 2002/09/19 16:07:32 brianp Exp $ */
|
||||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
|
@ -72,6 +72,7 @@ GLOBL GLNAME( _mesa_identify_x86_cpu_features )
|
|||
GLNAME( _mesa_identify_x86_cpu_features ):
|
||||
|
||||
PUSH_L ( EBX )
|
||||
PUSH_L ( ESI )
|
||||
|
||||
/* Test for the CPUID command. If the ID Flag bit in EFLAGS
|
||||
* (bit 21) is writable, the CPUID command is present.
|
||||
|
@ -167,6 +168,7 @@ LLBL(cpuid_failed):
|
|||
|
||||
LLBL (cpuid_done):
|
||||
|
||||
POP_L ( ESI )
|
||||
POP_L ( EBX )
|
||||
RET
|
||||
|
||||
|
|
Loading…
Reference in New Issue