summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/Ia32/ReadGs.asm
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32/ReadGs.asm')
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadGs.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadGs.asm b/MdePkg/Library/BaseLib/Ia32/ReadGs.asm
index 1de0ebfc88..93313b8998 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadGs.asm
+++ b/MdePkg/Library/BaseLib/Ia32/ReadGs.asm
@@ -22,7 +22,7 @@
;------------------------------------------------------------------------------
.386
- .model flat
+ .model flat,C
.code
;------------------------------------------------------------------------------
@@ -32,9 +32,9 @@
; VOID
; );
;------------------------------------------------------------------------------
-_AsmReadGs PROC
- mov ax, gs
+AsmReadGs PROC
+ mov eax, gs
ret
-_AsmReadGs ENDP
+AsmReadGs ENDP
END