tlb.cc (5433:1b0b8e9ba6a9) | tlb.cc (5440:51d24253bcd9) |
---|---|
1/* 2 * Copyright (c) 2007-2008 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * Redistribution and use of this software in source and binary forms, 6 * with or without modification, are permitted provided that the 7 * following conditions are met: 8 * --- 766 unchanged lines hidden (view full) --- 775 break; 776 case 0x380: 777 regNum = MISCREG_APIC_INITIAL_COUNT; 778 break; 779 case 0x390: 780 regNum = MISCREG_APIC_CURRENT_COUNT; 781 break; 782 case 0x3E0: | 1/* 2 * Copyright (c) 2007-2008 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * Redistribution and use of this software in source and binary forms, 6 * with or without modification, are permitted provided that the 7 * following conditions are met: 8 * --- 766 unchanged lines hidden (view full) --- 775 break; 776 case 0x380: 777 regNum = MISCREG_APIC_INITIAL_COUNT; 778 break; 779 case 0x390: 780 regNum = MISCREG_APIC_CURRENT_COUNT; 781 break; 782 case 0x3E0: |
783 regNum = MISCREG_APIC_DIVIDE_COUNT; | 783 regNum = MISCREG_APIC_DIVIDE_CONFIGURATION; |
784 break; 785 default: 786 // A reserved register field. 787 return new GeneralProtection(0); 788 break; 789 } 790 req->setPaddr(regNum * sizeof(MiscReg) + offset); 791 } --- 67 unchanged lines hidden --- | 784 break; 785 default: 786 // A reserved register field. 787 return new GeneralProtection(0); 788 break; 789 } 790 req->setPaddr(regNum * sizeof(MiscReg) + offset); 791 } --- 67 unchanged lines hidden --- |