Error injection to a behavioral model
AssigneeSun Microsystems, Inc.
InventorsRamesh Subrahmaniam, Elizabeth George
Life of this patent
Estimating the term…
Loading patent…
AssigneeSun Microsystems, Inc.
InventorsRamesh Subrahmaniam, Elizabeth George
Estimating the term…
A method and an apparatus for a dynamic error injection mechanism used in conjunction with a behavioral simulator in testing simulated hardware and software, and more particularly the testing of error handling code. In one implementation of the invention, Sun Microsystem's MPSAS (MULTI-PROCESSOR SPARC ARCHITECTURAL SIMULATOR) may be utilized as a behavioral model to implement the present invention. With the present invention, a range of addresses may be specified within which to test such errors. When such a command is issued, MPSAS logs the error and address range. Simulation can then be continued. At the next access to the address range to be tested with for a specific error, the present invention triggers off simulated hardware actions which would be taken in an actual hardware upon its encountering the same error. If the corresponding error handlers are turned on by the software of the present invention, the trap will be taken and the code will vector off to the error handler. This enables an operating system developer to test the error handling code.
A method for testing an error handler on a simulated hardware comprising the steps of:
An apparatus for testing an error handler on a simulated hardware comprising:
A computer system for testing an error handler on a simulated hardware comprising:
Dependencies are inferred from the claim text.