Unformatted text preview: instruction just after P2Start. If things are working correctly, this user-mode process should now hang and Count3 should not be incremented even if you type in several sentences (i.e., the prompt should always be “00000000>”). Now click the mouse once over the console pane and then type more sentences. The prompt should read “00000001>”. When you’re done, remember to remove the Mouse() instruction you added. Step 3: Add fourth user-mode process that reports mouse clicks (6 points) Testing procedure: If all three parts are working correctly, the appropriate message should be printed out whenever you click the mouse over the console pane. You may find it necessary to use “.breakpoint” commands to debug your user-mode code. Step 4: Synchronize mouse reporting with other I/O (3 points) Testing procedure: Start typing in a sentence then click the mouse. The click message should be printed after the translation and the following prompt have been printed....
View Full Document
- Interrupt, Interrupt handler, Programmable Interrupt Controller, Mouse, Linux kernel, testing procedure