Ignore:
Timestamp:
05/14/02 16:05:29 (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
2d1ef930
Parents:
eec76f3c
Message:

2002-05-01 Eric Norum <eric.norum@…>

  • console/console.c, fatal/bspfatal.c, startup/bspclean.c, startup/page_table.c: Per PR200 fix multi-line inline assembly to satisfy gcc 3.1 and newer.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/shared/irq/idt.c

    reec76f3c r55b3616  
    276276     */
    277277
    278     asm volatile( "movw %%ds,%0 ; movw %0,%%ds
    279                    movw %%es,%0 ; movw %0,%%es
    280                    movw %%fs,%0 ; movw %0,%%fs
    281                    movw %%gs,%0 ; movw %0,%%gs
    282                    movw %%ss,%0 ; movw %0,%%ss"
     278    asm volatile( "movw %%ds,%0 ; movw %0,%%ds\n\t"
     279                  "movw %%es,%0 ; movw %0,%%es\n\t"
     280                  "movw %%fs,%0 ; movw %0,%%fs\n\t"
     281                  "movw %%gs,%0 ; movw %0,%%gs\n\t"
     282                  "movw %%ss,%0 ; movw %0,%%ss"
    283283                   : "=r" (tmp_segment)
    284284                   : "0"  (tmp_segment)
Note: See TracChangeset for help on using the changeset viewer.