Driver level diagnostics
First Claim
1. A method for testing components of a multi-tasking computer system with a virtual memory chain, said method comprising:
- (a) obtaining a memory block having a memory base address and a memory base length for a current entry in the virtual memory chain;
(b) sending a request to a memory virtual device driver (VxD) to reserve, commit and lock said memory block to a physical memory;
(c) testing said memory block located at said memory base address and said memory length;
(d) decommit and unlock said physical memory after step (c);
(e) traversing to a next entry in said chain; and
(f) repeating steps (a)-(e) until all entries in said virtual memory chain have been tested.
3 Assignments
0 Petitions
Accused Products
Abstract
An apparatus and method are disclosed for testing memory and display adapter components of a multi-tasking computer system. The apparatus obtains a memory block and sends a request to a memory virtual device driver (VxD) to reserve, commit and lock the memory block to a physical memory. In requesting the memory block, the apparatus computes the number of virtual memory pages spanned by the request, reserves the pages of virtual memory, commits the virtual memory to a physical memory, and locks the virtual memory to the physical memory. The apparatus then obtains a physical address for the physical memory and returns the physical address for testing. Next, the apparatus tests the memory block using a number of memory test procedures. After the testing completes, the apparatus decommits and unlocks the physical memory before it traverses to the next entry of the chain. This process is repeated until all entries in the virtual memory chain have been tested. The apparatus also tests the video memory by generating a pattern, writing the pattern to the video memory; reading the content of the video memory and comparing the pattern against the content of the video memory. In the event that the content of the video memory differs from the pattern, the apparatus indicates a defective video display adapter and otherwise indicates a good video display adapter.
83 Citations
39 Claims
-
1. A method for testing components of a multi-tasking computer system with a virtual memory chain, said method comprising:
-
(a) obtaining a memory block having a memory base address and a memory base length for a current entry in the virtual memory chain; (b) sending a request to a memory virtual device driver (VxD) to reserve, commit and lock said memory block to a physical memory; (c) testing said memory block located at said memory base address and said memory length; (d) decommit and unlock said physical memory after step (c); (e) traversing to a next entry in said chain; and (f) repeating steps (a)-(e) until all entries in said virtual memory chain have been tested. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A method for testing components of a multi-tasking computer system with a virtual memory chain and a video display system with a video memory, said method comprising:
-
(a) obtaining a memory block having a memory base address and a memory base length for the current entry in the virtual memory chain; (b) sending a request to a memory virtual device driver (VxD) to reserve, commit and lock said memory block to a physical memory, further including the steps of; generating a number of virtual memory pages spanned by said request; reserving said pages of virtual memory; committing said virtual memory to a physical memory; locking said virtual memory to said physical memory; obtaining a physical address of said physical memory; and returning said physical address for testing; (c) testing said memory block located at said memory base address and said memory length; (d) decommit and unlock said physical memory after step (c); (e) traversing to the next entry in said chain; (f) repeating steps (a)-(e) until all entries in said virtual memory chain have been tested; (g) if step (c) detected a memory failure, indicating a memory failure and otherwise indicating a good memory; and (h) testing said video memory, further comprising the steps of; generating a pattern; writing said pattern to said video memory; reading the content of said video memory; comparing said pattern to the content of said video memory; and if the content of said video memory differs from said pattern, indicating a defective video display system and otherwise indicating a good video display system.
-
-
21. A program storage device having a computer readable code embedded therein for testing components of a multi-tasking computer system with a virtual memory chain, said program storage device comprising:
-
a first code for obtaining a memory block having a memory base address and a memory base length for a current entry in the virtual memory chain; a second code for sending a request to a memory virtual device driver (VxD) to reserve, commit and lock said memory block to a physical memory; a third code for testing said memory block located at said memory base address and said memory length; a fourth code for decommit and unlock said physical memory; and a fifth code for traversing to a next entry in said chain. - View Dependent Claims (22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39)
-
Specification