Changeset 2116e33 in rtems


Ignore:
Timestamp:
Dec 21, 1999, 8:29:57 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
e1786ee3
Parents:
ed46b47
Message:

Reverted the delay logic.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/startup/ldsegs.S

    red46b47 r2116e33  
    6565
    6666+----------------------------------------------------------------------------*/
     67#define DELAY_USE_OUTB
     68       
    6769        .p2align 4
    6870        .globl _delay
     
    7072delay:
    7173_delay:
    72 /*
    73         outb    %al, $0xED      # about 1uS delay on most machines
    74 */
    75 /*
    76  
    77         movl    $0x200, %eax
     74#ifdef  DELAY_USE_OUTB
     75        outb    al, $0x80       # about 1uS delay on most machines
     76#else
     77        movl    $0x200, eax
    7878delay1:
    79         dec     %eax
     79        dec     eax
    8080        jnz     delay1
    8181        ret
    82 
     82#endif
    8383
    8484/*-------------------------------------------------------------------------+
Note: See TracChangeset for help on using the changeset viewer.