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; and E) validating the first entry descriptor.
- 2. The method in claim 1 which further comprises:
F) accessing a second entry descriptor describing a second fault routine when the first entry descriptor is invalid; and G) entering the second fault routine after the second entry descriptor has been accessed.
- 3. The method in claim 2 wherein:
the second fault routine is stored in a reserved memory that cannot be overwritten by input/output operations.
- 4. The method in claim 2 wherein:
the second fault routine rebuilds a processor environment.
- 5. The method in claim 1 wherein step (E) comprises:
1) testing a type field in the first entry descriptor.
- 6. The method in claim 1 wherein step (E) comprises:
1) testing a type field in a segment descriptor identified by the first entry descriptor.
- 7. The method in claim 1 wherein step (E) comprises:
1) testing a flag in a segment descriptor identified by the first entry descriptor.
- 8. The method in claim 1 which further comprises:
F) replacing the fault vector pointer table entry with a second pointer to address a second entry descriptor.
- 9. 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.
- 10. A data processing system,
wherein said data processing system comprises:
a processor comprising:
A) microcode stored in a microcode memory for detecting a first fault; B) microcode stored in the microcode memory for determining a fault number for the first fault; C) microcode stored in a microcode memory 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) microcode stored in a microcode memory for utilizing the fault vector pointer table entry as a first pointer to access a first entry descriptor describing a first fault routine; and E) microcode stored in a microcode memory for validating the first entry descriptor.
- 11. 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; and E) means for validating the first entry descriptor.
- 12. The data processing system in claim 11 which further comprises:
F) means for accessing a second entry descriptor describing a second fault routine when the first entry descriptor is invalid; and G) means for entering the second fault routine after the second entry descriptor has been accessed.
- 13. The data processing system in claim 12 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.
- 14. The data processing system in claim 12 wherein:
the second fault routine rebuilds a processor environment.
- 15. The data processing system in claim 11 wherein means (E) comprises:
1) means for testing a type field in the first entry descriptor.
- 16. The data processing system in claim 11 wherein means (E) comprises:
1) means for testing a type field in a segment descriptor identified by the first entry descriptor.
- 17. The data processing system in claim 11 wherein means (E) comprises:
1) means for testing a flag in a segment descriptor identified by the first entry descriptor.
- 18. The data processing system in claim 11 which further comprises:
F) means for replacing the fault vector pointer table entry with a second pointer to address a second entry descriptor.
- 19. The data processing system in claim 11 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.
- 20. A Non-Volatile Storage Medium encoded with microcode in a computer readable form,
wherein the microcode comprises:
A) microcode for detecting a first fault; B) microcode for determining a fault number for the first fault; C) microcode 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) microcode for utilizing the fault vector pointer table entry as a first pointer to access a first entry descriptor describing a first fault routine; and E) microcode for validating the first entry descriptor.
CROSS REFERENCE TO RELATED APPLICATION
[0001] This application is related to our copending patent application entitled “FAULT VECTOR POINTER TABLE”, with attorney docket number 520-03200, filed of even date herewith and assigned to the assignee hereof.