diff options
author | dg <dg@FreeBSD.org> | 1995-12-23 16:46:31 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-12-23 16:46:31 +0000 |
commit | 9fc588db482144830720564dce9cf642a938739a (patch) | |
tree | 9480bc0e5ec8118c2bc2144298d0dc03ba3ee5c6 /sys | |
parent | 6b3eb3264f9cfe86cba491d615990c83049a4f1c (diff) | |
download | FreeBSD-src-9fc588db482144830720564dce9cf642a938739a.zip FreeBSD-src-9fc588db482144830720564dce9cf642a938739a.tar.gz |
Use FASTER_NOP rather than NOP in rtcin() - only one inb delay was ever
needed.
Reviewed by: bde
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/amd64/support.S | 6 | ||||
-rw-r--r-- | sys/amd64/amd64/support.s | 6 | ||||
-rw-r--r-- | sys/i386/i386/support.s | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/sys/amd64/amd64/support.S b/sys/amd64/amd64/support.S index 41bcfac..901369e 100644 --- a/sys/amd64/amd64/support.S +++ b/sys/amd64/amd64/support.S @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: support.s,v 1.25 1995/12/09 20:40:40 phk Exp $ + * $Id: support.s,v 1.26 1995/12/10 03:11:32 bde Exp $ */ #include "assym.s" /* system definitions */ @@ -47,10 +47,10 @@ ENTRY(rtcin) /* rtcin(val) */ movl 4(%esp),%eax outb %al,$0x70 - NOP + FASTER_NOP xorl %eax,%eax inb $0x71,%al - NOP + FASTER_NOP ret /* diff --git a/sys/amd64/amd64/support.s b/sys/amd64/amd64/support.s index 41bcfac..901369e 100644 --- a/sys/amd64/amd64/support.s +++ b/sys/amd64/amd64/support.s @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: support.s,v 1.25 1995/12/09 20:40:40 phk Exp $ + * $Id: support.s,v 1.26 1995/12/10 03:11:32 bde Exp $ */ #include "assym.s" /* system definitions */ @@ -47,10 +47,10 @@ ENTRY(rtcin) /* rtcin(val) */ movl 4(%esp),%eax outb %al,$0x70 - NOP + FASTER_NOP xorl %eax,%eax inb $0x71,%al - NOP + FASTER_NOP ret /* diff --git a/sys/i386/i386/support.s b/sys/i386/i386/support.s index 41bcfac..901369e 100644 --- a/sys/i386/i386/support.s +++ b/sys/i386/i386/support.s @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: support.s,v 1.25 1995/12/09 20:40:40 phk Exp $ + * $Id: support.s,v 1.26 1995/12/10 03:11:32 bde Exp $ */ #include "assym.s" /* system definitions */ @@ -47,10 +47,10 @@ ENTRY(rtcin) /* rtcin(val) */ movl 4(%esp),%eax outb %al,$0x70 - NOP + FASTER_NOP xorl %eax,%eax inb $0x71,%al - NOP + FASTER_NOP ret /* |