[haiku-commits] haiku.r1alpha4: hrevr1alpha4-44669 - src/system/kernel/arch/x86

  • From: kallisti5@xxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 4 Nov 2012 15:07:43 +0100 (CET)

hrevr1alpha4-44669 adds 1 changeset to branch 'r1alpha4'
old head: 39839e3b6172365fa8f8efa23731b10680dbad57
new head: 7397db19307284f91f2c0744174e52124048de47

----------------------------------------------------------------------------

7397db1: enlarge the buffer for the CPU features string
  
  * 256 bytes wasn't enough for i5-2557m

                                   [ JÃrÃme Duval <jerome.duval@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrevr1alpha4-44669
Commit:      7397db19307284f91f2c0744174e52124048de47
URL:         http://cgit.haiku-os.org/haiku/commit/?id=7397db1
Author:      JÃrÃme Duval <jerome.duval@xxxxxxxxx>
Date:        Sun Nov  4 09:30:50 2012 UTC
Committer:   Alexander von Gluck IV <kallisti5@xxxxxxxxxxx>
Commit-Date: Sun Nov  4 14:04:52 2012 UTC

----------------------------------------------------------------------------

1 file changed, 1 insertion(+), 1 deletion(-)
src/system/kernel/arch/x86/arch_cpu.cpp | 2 +-

----------------------------------------------------------------------------

diff --git a/src/system/kernel/arch/x86/arch_cpu.cpp 
b/src/system/kernel/arch/x86/arch_cpu.cpp
index 08f0ed2..ec27e7f 100644
--- a/src/system/kernel/arch/x86/arch_cpu.cpp
+++ b/src/system/kernel/arch/x86/arch_cpu.cpp
@@ -392,7 +392,7 @@ init_double_fault(int cpuNum)
 static void
 dump_feature_string(int currentCPU, cpu_ent *cpu)
 {
-       char features[256];
+       char features[384];
        features[0] = 0;
 
        if (cpu->arch.feature[FEATURE_COMMON] & IA32_FEATURE_FPU)


Other related posts:

  • » [haiku-commits] haiku.r1alpha4: hrevr1alpha4-44669 - src/system/kernel/arch/x86 - kallisti5