Changeset 2cebe86


Ignore:
Timestamp:
Jun 8, 2011 8:42:09 AM (9 years ago)
Author:
dev <dev@…>
Branches:
master
Children:
26899e48
Parents:
0a90008
Message:

Added support for AMD Bobcat APUs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/freenet/support/CPUInformation/CPUID.java

    r0a90008 r2cebe86  
    446446                        //Bobcat
    447447            if(getCPUFamily() + getCPUExtendedFamily() == 20){
    448                                 //No known CPUIDs yet.
     448                switch(getCPUModel() + getCPUExtendedModel()){
     449                    case 1:                   
     450                                            return "Bobcat APU";
     451                                        // Case 3 is uncertain but most likely a Bobcat APU
     452                                        case 3:
     453                                                return "Bobcat APU";
     454                }
    449455            }
    450456            throw new UnknownCPUException("Unknown AMD CPU; Family="+(getCPUFamily() + getCPUExtendedFamily())+", Model="+(getCPUModel() + getCPUExtendedModel()));
Note: See TracChangeset for help on using the changeset viewer.