diff options
author | bde <bde@FreeBSD.org> | 1996-03-31 04:17:25 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-03-31 04:17:25 +0000 |
commit | 7dc3a0570a8167f727512fafee82d0f00f35b406 (patch) | |
tree | 2e06e7a2bf478f184a2be9befe307e62c367c28a /sys | |
parent | b26bbde39abed59833a579d4dc9ef2c51c4ae0aa (diff) | |
download | FreeBSD-src-7dc3a0570a8167f727512fafee82d0f00f35b406.zip FreeBSD-src-7dc3a0570a8167f727512fafee82d0f00f35b406.tar.gz |
Finished removing NOP macros.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/include/asmacros.h | 11 | ||||
-rw-r--r-- | sys/i386/include/asmacros.h | 11 |
2 files changed, 2 insertions, 20 deletions
diff --git a/sys/amd64/include/asmacros.h b/sys/amd64/include/asmacros.h index 8776ccf..9863354 100644 --- a/sys/amd64/include/asmacros.h +++ b/sys/amd64/include/asmacros.h @@ -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 */ diff --git a/sys/i386/include/asmacros.h b/sys/i386/include/asmacros.h index 8776ccf..9863354 100644 --- a/sys/i386/include/asmacros.h +++ b/sys/i386/include/asmacros.h @@ -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 */ |