Question: Assume that the following code is the only code in the system that uses the variable i Sha redDevi ceXData. The routine vGetDataFromDevi ceX is
Assume that the following code is the only code in the system that uses the variable i Sha redDevi ceXData. The routine vGetDataFromDevi ceX is an interrupt routine. Now suppose that instead of disabling all interrupts in: vTas kZ as shown below, we disable only the device X interrupt allowing all other interrupts. Will this still protect the i Sha red Devi ceXData variable? If not, why not? If so what are the advantages if any and disadvantages if any of doing this compared to disabling all interrupts?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
