Make code consistence between ASM and S files.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16530
6f19259b-4bc3-4df7-8a09-
765794883524
pushq %rax # for ss\r
movzwq 32(%rbp), %rax\r
pushq %rax # for cs\r
- movl %ds, %eax\r
+ mov %ds, %rax\r
pushq %rax\r
- movl %es, %eax\r
+ mov %es, %rax\r
pushq %rax\r
- movl %fs, %eax\r
+ mov %fs, %rax\r
pushq %rax\r
- movl %gs, %eax\r
+ mov %gs, %rax\r
pushq %rax\r
\r
movq %rcx, 8(%rbp) # save vector number\r
# mov %rax, %fs ; not for fs\r
# (X64 will not use fs and gs, so we do not restore it)\r
popq %rax\r
- movl %eax, %es\r
+ mov %rax, %es\r
popq %rax\r
- movl %eax, %ds\r
+ mov %rax, %ds\r
popq 32(%rbp) # for cs\r
popq 56(%rbp) # for ss\r
\r