1/* 2 * Copyright (c) 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 * --- 316 unchanged lines hidden (view full) --- 325 } 326 switch (reg) { 327 case APIC_ARBITRATION_PRIORITY: 328 panic("Local APIC Arbitration Priority register unimplemented.\n"); 329 break; 330 case APIC_PROCESSOR_PRIORITY: 331 panic("Local APIC Processor Priority register unimplemented.\n"); 332 break; |
333 case APIC_ERROR_STATUS: 334 regs[APIC_INTERNAL_STATE] &= ~ULL(0x1); 335 break; 336 case APIC_INTERRUPT_COMMAND_LOW: 337 panic("Local APIC Interrupt Command low" 338 " register unimplemented.\n"); 339 break; 340 case APIC_INTERRUPT_COMMAND_HIGH: --- 42 unchanged lines hidden (view full) --- 383 break; 384 case APIC_ARBITRATION_PRIORITY: 385 panic("Local APIC Arbitration Priority register unimplemented.\n"); 386 break; 387 case APIC_PROCESSOR_PRIORITY: 388 panic("Local APIC Processor Priority register unimplemented.\n"); 389 break; 390 case APIC_EOI: |
391 // Remove the interrupt that just completed from the local apic state. 392 clearRegArrayBit(APIC_IN_SERVICE_BASE, ISRV); 393 updateISRV(); 394 return; |
395 case APIC_LOGICAL_DESTINATION: 396 newVal = val & 0xFF000000; 397 break; 398 case APIC_DESTINATION_FORMAT: 399 newVal = val | 0x0FFFFFFF; 400 break; 401 case APIC_SPURIOUS_INTERRUPT_VECTOR: 402 regs[APIC_INTERNAL_STATE] &= ~ULL(1 << 1); --- 157 unchanged lines hidden --- |