Claims
- 1. A method of fault handling in a data processing system, wherein said method comprises:A) detecting a first fault; B) determining a fault number for the first fault; C) indexing into a fault vector pointer table with the fault number as an index into the fault vector point table to select a fault vector pointer table entry; D) utilizing the fault vector pointer table entry as a first pointer to access a first entry descriptor describing a first fault routine; E) validating the first entry descriptor; F) accessing a second entry descriptor describing a second fault routine when the first entry descriptor is invalid, which second fault routine rebuilds a processor environment; and G) entering the second fault routine after the second entry descriptor has been accessed.
- 2. The method in claim 1 wherein:the second fault routine is stored in a reserved memory that cannot be overwritten by input/output operations.
- 3. The method in claim 1 wherein step (E) comprises:1) testing a type field in the first entry descriptor.
- 4. The method in claim 1 wherein step (E) comprises:1) testing a type field in a segment descriptor identified by the first entry descriptor.
- 5. The method in claim 1 wherein step (E) comprises:1) testing a flag in a segment descriptor identified by the first entry descriptor.
- 6. A method of fault handling in a data processing system, wherein said method comprises:A) detecting a first fault; B) determining a fault number for the first fault; C) indexing into a fault vector pointer table with the fault number as an index into the fault vector point table to select a fault vector pointer table entry; D) utilizing the fault vector pointer table entry as a first pointer to access a first entry descriptor describing a first fault routine; E) validating the first entry descriptor; and F) replacing the fault vector pointer table entry with a second pointer to address a second entry descriptor.
- 7. The method in claim 1 wherein:the fault vector pointer table is stored in a reserved memory that cannot be overwritten by input/output operations.
- 8. A data processing system comprising:a processor comprising; A) means for detecting a first fault; B) means for determining a fault number for the first fault; C) means for indexing into the fault vector pointer table with the fault number as an index into the fault vector point table to select a fault vector pointer table entry; D) means for utilizing the fault vector pointer table entry as a first pointer to access a first entry descriptor describing a first fault routine; E) means for validating the first entry descriptor; F) means for accessing a second entry descriptor describing a second fault routine when the first entry descriptor is invalid, which second fault routine rebuilds a processor environment; and G) means for entering the second fault routine after the second entry descriptor has been accessed.
- 9. The data processing system in claim 7 wherein:the data processing system further comprises; a reserved memory coupled to the processor that cannot be overwritten by input/output operations; and the second fault routine is stored in the reserved memory.
- 10. The data processing system in claim 8 wherein means (E) comprises:1) means for testing a type field in the first entry descriptor.
- 11. The data processing system in claim 8 wherein means (E) comprises:1) means for testing a type field in a segment descriptor identified by the first entry descriptor.
- 12. The data processing system in claim 8 wherein means (E) comprises:1) means for testing a flag in a segment descriptor identified by the first entry descriptor.
- 13. A data processing system comprising:a processor comprising; A) means for detecting a first fault; B) means for determining a fault number for the first fault; C) means for indexing into the fault vector pointer table with the fault number as an index into the fault vector point table to select a fault vector pointer table entry; D) means for utilizing the fault vector pointer table entry as a first pointer to access a first entry descriptor describing a first fault routine; E) means for validating the first entry descriptor; and F) means for replacing the fault vector pointer table entry with a second pointer to address a second entry descriptor.
- 14. The data processing system in claim 8 wherein:the data processing system further comprises; a reserved memory coupled to the processor that cannot be overwritten by input/output operations; and the fault vector pointer table is stored in the reserved memory.
CROSS REFERENCE TO RELATED APPLICATION
This application is related to our copending patent application Ser. No. 09/742,456, entitled “FAULT VECTOR POINTER TABLE”, filed of even date herewith and assigned to the assignee hereof.
US Referenced Citations (6)
Number |
Name |
Date |
Kind |
4926322 |
Stimac et al. |
May 1990 |
A |
5053951 |
Nusinov et al. |
Oct 1991 |
A |
5742755 |
Hervin |
Apr 1998 |
A |
6023750 |
Hansen et al. |
Feb 2000 |
A |
6167425 |
Beckhoff |
Dec 2000 |
A |
6442707 |
McGrath et al. |
Aug 2002 |
B1 |