1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Use FASTER_NOP rather than NOP in rtcin() - only one inb delay was ever

needed.
Reviewed by:	bde
This commit is contained in:
David Greenman 1995-12-23 16:46:31 +00:00
parent 79b4be8ddf
commit 44198d45b6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12990
3 changed files with 9 additions and 9 deletions

View File

@ -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
/*

View File

@ -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
/*

View File

@ -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
/*