- Another patch by Hervé W.
- Updated code so Processor IDs for older processor do not have to be modified. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24979 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -116,10 +116,10 @@ arch_system_info_init(struct kernel_args *args)
|
||||
|
||||
if (base != B_CPU_x86)
|
||||
if (base == B_CPU_INTEL_x86)
|
||||
model = (cpu->arch.extended_family + cpu->arch.family << 8) +
|
||||
(cpu->arch.extended_model << 4) + cpu->arch.model;
|
||||
model = (cpu->arch.extended_family << 20) + (cpu->arch.extended_model << 16) +
|
||||
(cpu->arch.family << 4) + cpu->arch.model;
|
||||
else
|
||||
model = (cpu->arch.family << 8) +
|
||||
model = (cpu->arch.family << 4) +
|
||||
cpu->arch.model;
|
||||
/* There isn't much useful information yet in the extended
|
||||
family and extended model fields of AMD processors
|
||||
|
||||
Reference in New Issue
Block a user