[coreboot-gerrit] Change in coreboot[master]: entry32.inc: Fix inconsistent instructions between gcc/clang

Damien Zammit (Code Review) gerrit at coreboot.org
Sun Aug 27 08:42:07 CEST 2017


Damien Zammit has uploaded this change for review. ( https://review.coreboot.org/21220


Change subject: entry32.inc: Fix inconsistent instructions between gcc/clang
......................................................................

entry32.inc: Fix inconsistent instructions between gcc/clang

Change-Id: I67121754ace0dff58035dd5670219616576789f2
Signed-off-by: Damien Zammit <damien at zamaudio.com>
---
M src/cpu/x86/32bit/entry32.inc
1 file changed, 5 insertions(+), 5 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/20/21220/1

diff --git a/src/cpu/x86/32bit/entry32.inc b/src/cpu/x86/32bit/entry32.inc
index 2caeb40..d6c95ce 100644
--- a/src/cpu/x86/32bit/entry32.inc
+++ b/src/cpu/x86/32bit/entry32.inc
@@ -82,11 +82,11 @@
 #endif
 
 	movw	$ROM_DATA_SEG, %ax
-	movw	%ax, %ds
-	movw	%ax, %es
-	movw	%ax, %ss
-	movw	%ax, %fs
-	movw	%ax, %gs
+	mov	%eax, %ds
+	mov	%eax, %es
+	mov	%eax, %ss
+	mov	%eax, %fs
+	mov	%eax, %gs
 
 	/* Restore the BIST value to %eax */
 	movl	%ebp, %eax

-- 
To view, visit https://review.coreboot.org/21220
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I67121754ace0dff58035dd5670219616576789f2
Gerrit-Change-Number: 21220
Gerrit-PatchSet: 1
Gerrit-Owner: Damien Zammit <damien at zamaudio.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170827/7d582662/attachment.html>


More information about the coreboot-gerrit mailing list