Changeset 71aeab4d in rtems


Ignore:
Timestamp:
Jan 31, 2000, 2:45:27 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
2fabda6
Parents:
49440a6e
Message:

Suggested modification from Rosimildo da Silva <rdasilva@…>
to make the BSP boot on netboot.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/start/start16.S

    r49440a6e r71aeab4d  
    7676        | Bare PC machines boot in real mode! We have to turn protected mode on.
    7777        +---------------------------------------------------------------------*/
    78 #ifdef NEW_GAS
    79         data32
    80         addr32
    81 #endif 
     78
    8279        lgdt    gdtptr - start16        # load Global Descriptor Table
    8380        movl    %cr0, %eax
     
    131128| longer on slower machines, however, it does not matter because we
    132129| are going to call this function only a few times
    133 
     130!
     131| NOTE: Saving the content of the EAX register just in case. - Rosimildo.
    134132+----------------------------------------------------------------------------*/
    135133        .p2align 4
     
    138136delay:
    139137_delay:
    140 /*
     138        pushl   %eax
     139#if defined(USE_OUTB_FOR_DELAY)
    141140        outb    %al, $0x80      # about 1uS delay on most machines
    142 */
    143 /*
     141
     142#else
     143
    144144        movl    $0x200, %eax
    145145delay1:
    146146        dec     %eax
    147147        jnz     delay1
    148 */
     148#endif
     149        popl    %eax
    149150        ret
    150151
Note: See TracChangeset for help on using the changeset viewer.