forked from Imagelibrary/rtems
2002-05-01 Eric Norum <eric.norum@usask.ca>
* 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.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2002-05-01 Eric Norum <eric.norum@usask.ca>
|
||||
|
||||
* 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.
|
||||
|
||||
2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* comm/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
||||
|
||||
@@ -275,11 +275,11 @@ int i386_set_gdt_entry (unsigned short segment_selector, unsigned base,
|
||||
* Now, reload all segment registers so the limit takes effect.
|
||||
*/
|
||||
|
||||
asm volatile( "movw %%ds,%0 ; movw %0,%%ds
|
||||
movw %%es,%0 ; movw %0,%%es
|
||||
movw %%fs,%0 ; movw %0,%%fs
|
||||
movw %%gs,%0 ; movw %0,%%gs
|
||||
movw %%ss,%0 ; movw %0,%%ss"
|
||||
asm volatile( "movw %%ds,%0 ; movw %0,%%ds\n\t"
|
||||
"movw %%es,%0 ; movw %0,%%es\n\t"
|
||||
"movw %%fs,%0 ; movw %0,%%fs\n\t"
|
||||
"movw %%gs,%0 ; movw %0,%%gs\n\t"
|
||||
"movw %%ss,%0 ; movw %0,%%ss"
|
||||
: "=r" (tmp_segment)
|
||||
: "0" (tmp_segment)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user