A method and apparatus for exception handling in a multi-processor
environment are described. In an embodiment, a method for handling a
number of exceptions within a processor in a multi-processing system
includes receiving an exception within the processor, wherein each
processor in the multi-processor system shares a same memory. The method
also includes executing a number of instructions at an address within a
common interrupt handling vector address space of the same memory. The
number of instructions cause the processor to determine an identification
of the processor based on a query that is internal to the processor.
Additionally, the method includes modifying execution flow of the
exception to execute an interrupt handler located within one of a number
of different interrupt handling vector address spaces.