Deleted Added
sdiff udiff text old ( 5689:bd70811ff2ef ) new ( 5690:0fee2dde61d7 )
full compact
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:
394 panic("Local APIC EOI register unimplemented.\n");
395 break;
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 ---