mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-28 16:43:09 +00:00
Finished removing NOP macros.
This commit is contained in:
parent
ef9805a3c8
commit
048cd610ad
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14944
@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: asmacros.h,v 1.5 1994/09/08 12:25:18 bde Exp $
|
||||
* $Id: asmacros.h,v 1.6 1995/12/29 15:28:53 bde Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_ASMACROS_H_
|
||||
@ -114,15 +114,6 @@
|
||||
#define MEXITCOUNT
|
||||
#endif /* GPROF */
|
||||
|
||||
/* XXX NOP and FASTER_NOP are misleadingly named */
|
||||
#ifdef DUMMY_NOPS /* this will break some older machines */
|
||||
#define FASTER_NOP
|
||||
#define NOP
|
||||
#else
|
||||
#define FASTER_NOP pushl %eax ; inb $0x84,%al ; popl %eax
|
||||
#define NOP pushl %eax ; inb $0x84,%al ; inb $0x84,%al ; popl %eax
|
||||
#endif
|
||||
|
||||
#else /* !KERNEL */
|
||||
|
||||
#include "/usr/src/lib/libc/i386/DEFS.h" /* XXX blech */
|
||||
|
@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: asmacros.h,v 1.5 1994/09/08 12:25:18 bde Exp $
|
||||
* $Id: asmacros.h,v 1.6 1995/12/29 15:28:53 bde Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_ASMACROS_H_
|
||||
@ -114,15 +114,6 @@
|
||||
#define MEXITCOUNT
|
||||
#endif /* GPROF */
|
||||
|
||||
/* XXX NOP and FASTER_NOP are misleadingly named */
|
||||
#ifdef DUMMY_NOPS /* this will break some older machines */
|
||||
#define FASTER_NOP
|
||||
#define NOP
|
||||
#else
|
||||
#define FASTER_NOP pushl %eax ; inb $0x84,%al ; popl %eax
|
||||
#define NOP pushl %eax ; inb $0x84,%al ; inb $0x84,%al ; popl %eax
|
||||
#endif
|
||||
|
||||
#else /* !KERNEL */
|
||||
|
||||
#include "/usr/src/lib/libc/i386/DEFS.h" /* XXX blech */
|
||||
|
Loading…
Reference in New Issue
Block a user