- 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
|
* Copyright (c) 1996, 1997
|
||||||
|
@ -34,21 +34,19 @@
|
||||||
|
|
||||||
#include <machine/asm.h>
|
#include <machine/asm.h>
|
||||||
|
|
||||||
#define data32 .byte 0x66
|
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
|
||||||
/*
|
/*
|
||||||
# BIOS call "INT 15H Function 86H" to sleep for a set number of microseconds
|
* BIOS call "INT 15H Function 86H" to sleep for a set number of microseconds
|
||||||
# Call with %ah = 0x86
|
* Call with %ah = 0x86
|
||||||
# %cx = time interval (high)
|
* %cx = time interval (high)
|
||||||
# %dx = time interval (low)
|
* %dx = time interval (low)
|
||||||
# Return:
|
* Return:
|
||||||
# If error
|
* If error
|
||||||
# CF = set
|
* CF = set
|
||||||
# else
|
* else
|
||||||
# CF = clear
|
* CF = clear
|
||||||
*/
|
*/
|
||||||
ENTRY(delay)
|
ENTRY(delay)
|
||||||
pushl %ebp
|
pushl %ebp
|
||||||
pushl %ebx
|
pushl %ebx
|
||||||
|
|
Loading…
Reference in New Issue