HAOUAS Elyes has uploaded this change for review.

View Change

arch/x86/: Fix cpu_cpuid_extended_level() returned value

Change-Id: Iebb6501130bc9ae333d45ae9d2e10c918245a6d1
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
---
M src/arch/x86/cpu_common.c
M src/arch/x86/include/arch/cpu.h
2 files changed, 2 insertions(+), 2 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/14/33814/1
diff --git a/src/arch/x86/cpu_common.c b/src/arch/x86/cpu_common.c
index 1191227..0fd0af0 100644
--- a/src/arch/x86/cpu_common.c
+++ b/src/arch/x86/cpu_common.c
@@ -49,7 +49,7 @@
}
#endif

-int cpu_cpuid_extended_level(void)
+unsigned int cpu_cpuid_extended_level(void)
{
return cpuid_eax(0x80000000);
}
diff --git a/src/arch/x86/include/arch/cpu.h b/src/arch/x86/include/arch/cpu.h
index ff1a33b..75f1f43 100644
--- a/src/arch/x86/include/arch/cpu.h
+++ b/src/arch/x86/include/arch/cpu.h
@@ -200,7 +200,7 @@
#define CPUID_CACHE_NO_OF_SETS_MASK 0xffffffff
#define CPUID_CACHE_NO_OF_SETS(res) CPUID_CACHE(NO_OF_SETS, (res).ecx)

-int cpu_cpuid_extended_level(void);
+unsigned int cpu_cpuid_extended_level(void);
int cpu_have_cpuid(void);

void smm_init(void);

To view, visit change 33814. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iebb6501130bc9ae333d45ae9d2e10c918245a6d1
Gerrit-Change-Number: 33814
Gerrit-PatchSet: 1
Gerrit-Owner: HAOUAS Elyes <ehaouas@noos.fr>
Gerrit-MessageType: newchange