1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Radda [10]
3 years ago
13

When a user process is interrupted or causes a processor exception, the x86 hardware switches the stack pointer to a kernel stac

k, before saving the current process state. Explain why. Anderson, Thomas. Operating Systems: Principles and Practice (Volume 1 of 4) . Recursive Books. Kindle Edition.
Engineering
1 answer:
andre [41]3 years ago
7 0

Answer and Explanation

In x86, different stacks are used for kernel & user processes because of security purposes.

The kernel assigns the interrupt dispatch to a common kernel interrupt entry/exit

mechanism which saves pre-interrupt register state before summoning the registered handler(s).

When sending out an interrupt might launch a privilege and/or stack switch,

interrupts that occur while executing user process will switch to use the kernel stack in place at that point, without saving current state.

You might be interested in
Airbags will deploy in a head on collision but not in a collision that occurs from angle
Aneli [31]

Answer:  

Airbags will deploy in almost any angle.

Explanation:

Cars have sensors around them, so when the car gets hit, the sensors detect a crash and deploy the airbags to keep you safe.

8 0
3 years ago
The 15-kg block A slides on the surface for which µk = 0.3. The block has a velocity v = 10 m/s when it is s = 4 m from the 10-k
sammy [17]

Answer:

s_max = 0.8394m

Explanation:

From equilibrium of block, N = W = mg

Frictional force = μ_k•N = μ_k•mg

Since μ_k = 0.3,then F = 0.3mg

To determine the velocity of Block A just before collision, let's apply the principle of work and energy;

T1 + ΣU_1-2 = T2

So, (1/2)m_a•(v_ao)² - F•s =(1/2)m_a•(v_a1)²

Plugging in the relevant values to get ;

(1/2)•(15)•(10)² - (0.3•15•9.81•4) =(1/2)(15)•(v_a1)²

750 - 176.58 = 7.5(v_a1)²

v_a1 = 8.744 m/s

Using law of conservation of momentum;

Σ(m1v1) = Σ(m2v2)

Thus,

m_a•v_a1 + m_b•v_b1 = m_a•v_a2 + m_b•v_b2

Thus;

15(8.744) + 10(0) = 15(v_a2) + 10(v_b2)

Divide through by 5;

3(8.744) + 2(0) = 3(v_a2) + 2(v_b2)

Thus,

3(v_a2) + 2(v_b2) = 26.232 - - - (eq1)

Coefficient of restitution has a formula;

e = (v_b2 - v_a2)/(v_a1 - v_b1)

From the question, e = 0.6.

Thus;

0.6 = (v_b2 - v_a2)/(8.744 - 0)

0.6 x 8.744 = (v_b2 - v_a2)

(v_b2 - v_a2) = 5.246 - - - (eq2)

Solving eq(1) and 2 simultaneously, we have;

v_b2 = 8.394 m/s

v_a2 = 3.148 m/s

Now, to find maximum compression, let's apply conservation of energy on block B;

T1 + V1 = T2 + V2

Thus,

(1/2)m_b•(v_b2)² + (1/2)k(s_1)² = (1/2)m_b•(v_b'2)² + (1/2)k(s_max)²

(1/2)10•(8.394)² + (1/2)1000(0)² = (1/2)10•(0)² + (1/2)(1000)(s_max)²

500(s_max)² = 352.29618

(s_max)² = 352.29618/500

(s_max)² = 0.7046

s_max = 0.8394m

8 0
3 years ago
In an experiment, one selected two samples of copper-silver alloy. One sample has 40 wt% of silver and 60wt% of copper and the o
mote1985 [20]
I belive it’s 3 sorry if it’s wrong
6 0
3 years ago
Why can't I fly. I dont know why?
algol13
In order to fly, you must have a device/mechanism that will release hot air, causing it to fly. A jet pack will do the job.
5 0
3 years ago
What does the simplify command do
uranmaximum [27]

Answer:The simplify command is used to apply simplification rules to an expression. The simplify routine searches the expression for function calls, square roots, radicals, and powers and invokes the appropriate simplification procedures. For detailed information on the simplify command, see simplify/details.

Explanation:

4 0
3 years ago
Other questions:
  • Nicholas wants to verify whether a file is a hard link to a file within the same directory. Which of the following commands coul
    6·1 answer
  • Who is the best musician in Nigeria<br>​
    11·2 answers
  • Air,in a piston cylinder assembly, is initially at 300 K and 200 kPa.It is then heated at constant pressure to 600 K. Determine
    12·2 answers
  • Air expands through a turbine operating at steady state. At the inlet p1 = 150 lbf/in^2, T1 = 1400R and at the exit p2 = 14.8 lb
    10·1 answer
  • What is the connection between the air fuel ratio and an engine running rich/poor? please give clear examples and full sentances
    9·1 answer
  • 30 points have a good day
    11·1 answer
  • QUESTION:
    13·1 answer
  • ⚠️I mark BRIANLIST ⚠️The same engineering teams are able to design and develop the different subsystems for an airplane.
    5·2 answers
  • For a bolted assembly with eight bolts, the stiffness of each bolt is kb = 1.0 MN/mm and the stiffness of the members is km = 2.
    14·1 answer
  • How could angela use the puzzle to model semiconductors? as an n-type semiconductor with the pegs representing electrons and the
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!