- Do not mix C-style comments and assembly-style comments.
- Remove unused #define.
This commit is contained in:
parent
d379332a27
commit
1fb48c245e
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: biosdelay.S,v 1.2 2003/02/01 14:48:17 dsl Exp $ */
|
||||
/* $NetBSD: biosdelay.S,v 1.3 2005/07/06 19:24:08 junyoung Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996, 1997
|
||||
|
@ -34,21 +34,19 @@
|
|||
|
||||
#include <machine/asm.h>
|
||||
|
||||
#define data32 .byte 0x66
|
||||
|
||||
.text
|
||||
|
||||
/*
|
||||
# BIOS call "INT 15H Function 86H" to sleep for a set number of microseconds
|
||||
# Call with %ah = 0x86
|
||||
# %cx = time interval (high)
|
||||
# %dx = time interval (low)
|
||||
# Return:
|
||||
# If error
|
||||
# CF = set
|
||||
# else
|
||||
# CF = clear
|
||||
*/
|
||||
* BIOS call "INT 15H Function 86H" to sleep for a set number of microseconds
|
||||
* Call with %ah = 0x86
|
||||
* %cx = time interval (high)
|
||||
* %dx = time interval (low)
|
||||
* Return:
|
||||
* If error
|
||||
* CF = set
|
||||
* else
|
||||
* CF = clear
|
||||
*/
|
||||
ENTRY(delay)
|
||||
pushl %ebp
|
||||
pushl %ebx
|
||||
|
|
Loading…
Reference in New Issue