interrupts.cc (5689:bd70811ff2ef) | interrupts.cc (5690:0fee2dde61d7) |
---|---|
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; | 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_EOI: 334 panic("Local APIC EOI register unimplemented.\n"); 335 break; | |
336 case APIC_ERROR_STATUS: 337 regs[APIC_INTERNAL_STATE] &= ~ULL(0x1); 338 break; 339 case APIC_INTERRUPT_COMMAND_LOW: 340 panic("Local APIC Interrupt Command low" 341 " register unimplemented.\n"); 342 break; 343 case APIC_INTERRUPT_COMMAND_HIGH: --- 42 unchanged lines hidden (view full) --- 386 break; 387 case APIC_ARBITRATION_PRIORITY: 388 panic("Local APIC Arbitration Priority register unimplemented.\n"); 389 break; 390 case APIC_PROCESSOR_PRIORITY: 391 panic("Local APIC Processor Priority register unimplemented.\n"); 392 break; 393 case APIC_EOI: | 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: |
394 panic("Local APIC EOI register unimplemented.\n"); 395 break; | 391 // Remove the interrupt that just completed from the local apic state. 392 clearRegArrayBit(APIC_IN_SERVICE_BASE, ISRV); 393 updateISRV(); 394 return; |
396 case APIC_LOGICAL_DESTINATION: 397 newVal = val & 0xFF000000; 398 break; 399 case APIC_DESTINATION_FORMAT: 400 newVal = val | 0x0FFFFFFF; 401 break; 402 case APIC_SPURIOUS_INTERRUPT_VECTOR: 403 regs[APIC_INTERNAL_STATE] &= ~ULL(1 << 1); --- 157 unchanged lines hidden --- | 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 --- |