Преглед на файлове

Remove the automatic segment register save and restore; most users of

REAL_CODE() don't need it.
tags/v0.9.3
Michael Brown преди 18 години
родител
ревизия
edcf89e2b0
променени са 1 файла, в които са добавени 0 реда и са изтрити 8 реда
  1. 0
    8
      src/arch/i386/include/libkir.h

+ 0
- 8
src/arch/i386/include/libkir.h Целия файл

@@ -216,15 +216,7 @@ virt_to_user ( void * virtual ) {
216 216
 /* REAL_CODE: declare a fragment of code that executes in real mode */
217 217
 #define REAL_CODE( asm_code_str )	\
218 218
 	".code16\n\t"			\
219
-	"pushw %%gs\n\t"		\
220
-	"pushw %%fs\n\t"		\
221
-	"pushw %%es\n\t"		\
222
-	"pushw %%ds\n\t"		\
223 219
 	asm_code_str "\n\t"		\
224
-	"popw %%ds\n\t"			\
225
-	"popw %%es\n\t"			\
226
-	"popw %%fs\n\t"			\
227
-	"popw %%gs\n\t"			\
228 220
 	".code16gcc\n\t"
229 221
 
230 222
 #endif /* ASSEMBLY */

Loading…
Отказ
Запис