http://git.etherboot.org
/
people
/
xl0
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02cf755
)
Remove the automatic segment register save and restore; most users of
author
Michael Brown
<mcb30@etherboot.org>
Wed, 24 May 2006 14:11:36 +0000
(14:11 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Wed, 24 May 2006 14:11:36 +0000
(14:11 +0000)
REAL_CODE() don't need it.
src/arch/i386/include/libkir.h
patch
|
blob
|
history
diff --git
a/src/arch/i386/include/libkir.h
b/src/arch/i386/include/libkir.h
index
008dff7
..
82df822
100644
(file)
--- a/
src/arch/i386/include/libkir.h
+++ b/
src/arch/i386/include/libkir.h
@@
-216,15
+216,7
@@
virt_to_user ( void * virtual ) {
/* REAL_CODE: declare a fragment of code that executes in real mode */
#define REAL_CODE( asm_code_str ) \
".code16\n\t" \
- "pushw %%gs\n\t" \
- "pushw %%fs\n\t" \
- "pushw %%es\n\t" \
- "pushw %%ds\n\t" \
asm_code_str "\n\t" \
- "popw %%ds\n\t" \
- "popw %%es\n\t" \
- "popw %%fs\n\t" \
- "popw %%gs\n\t" \
".code16gcc\n\t"
#endif /* ASSEMBLY */