소스 검색

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…
취소
저장