Modify the hwint_master and hwint_slave macros in mpx386.s so the operations now performed by the save function
Question:
Modify the hwint_master and hwint_slave macros in mpx386.s so the operations now performed by the save function are performed inline. What is the cost in code size? Can you measure an increase in performance?
Transcribed Image Text:
06514 ! Note this is a macro, it just looks like a subroutine.
06515 #define hwint_master (irq)
06516
06517
06518
06519
06520
06521
06522
06523
06524
06525 0:
06526
06527
06528
06529 ! Each of these entry points is an expansion of the hwint_master macro
call
push
call
pop
cmp
jz
inb
orb
outb
movb
outb
ret
save
(_irq_handlers+4*irq)
_intr_handle
ecx
(_irq_actids+4*irq),
Of
INT_CTLMASK
al, [1<
06514 ! Note this is a macro, it just looks like a subroutine.
06515 #define hwint_master (irq)
06516
06517
06518
06519
06520
06521
06522
06523
06524
06525 0:
06526
06527
06528
06529 ! Each of these entry points is an expansion of the hwint_master macro
call
push
call
pop
cmp
jz
inb
orb
outb
movb
outb
ret
save
(_irq_handlers+4*irq)
_intr_handle
ecx
(_irq_actids+4*irq),
Of
INT_CTLMASK
al, [1<
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 33% (3 reviews)
To modify the hwintmaster and hwintslave macros so ...View the full answer
Answered By
Sinmon Warui Kamau
After moving up and down looking for a job, a friend introduced me to freelance writing. I started with content writing and later navigated to academic writing. I love writing because apart from making a living out of it, it is also a method of learning and helping others to learn.
5.00+
40+ Reviews
45+ Question Solved
Related Book For
Operating Systems Design And Implementation
ISBN: 9780131429383
3rd Edition
Authors: Andrew Tanenbaum, Albert Woodhull
Question Posted:
Students also viewed these Computer science questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
Read the case study "Southwest Airlines," found in Part 2 of your textbook. Review the "Guide to Case Analysis" found on pp. CA1 - CA11 of your textbook. (This guide follows the last case in the...
-
Given the following information set up the problem in a transportation table and solve for the minimum-cost plan: Minimum total cost? Demand 550 700 750 Capacity 500 500 500 Regular Overtime 50 50...
-
Access Garde, Inc., has 200,000 shares of $1.80 preferred stock outstanding in addition to its common stock. The $1.80 designation means that the preferred stockholders receive an annual cash...
-
(Appendix) Under what conditions is goodwill recognized on the balance sheet of the par ent?
-
Some say that IFRS are now GAAP in the European Union. How is this statement true, and how is it false? LO4
-
On December 23, 2012, Big Sky Sports Manufacturing sells a truckload of sporting goods to the Sports R Us store in Amarillo, Texas. The terms of the sale are FOB destination. The truck runs into bad...
-
Samson and Delilah file a joint income tax return for 2020. They have two dependent children, students, ages 19 and 20. Samson earns wages of $150,000 and they have corporate bonds interest income of...
-
Is MINIX 3 suitable for real-time applications, such as data logging? If not, what could be done to make it so?
-
The MINIX 3 procedure mini_rec contains a loop. Explain what it is for.
-
There is one situation where even MM would accept that a bird in the hand is worth two in the bush (that is, that immediate dividends are preferable). Can you think what it is?
-
Systems thinking is all about solving problemsin organizations, world situations, and even our personal lives. But it is not just a procedure; it is a different way of approaching problems. Our...
-
How would I display the following 3 principles in an entertaining infographic? Be very specific . Principle 1: Employee Engagement and Motivation Drawing from the Human Relations Movement theory and...
-
Shown below is a cross section of tubular member which is subjected to a torque T= 5.5 kN-m. It has a length L-3.0-m and the material shear modulus G=27 GPa. Dimensions: b=150 mm, h= 100 mm and t= 8...
-
The hip roof shown in the below Figure 2 is constructed of 2x10 rafters spaced 16 inches on center. The hip rafters are 1 -inch-wide by 12-inch-high GLBs. The roof has a slope of 4:12. Prepare a list...
-
2. Estimate the populations of Fargo, ND and Bismarck, ND in years of 2040 and 2050. Select a single value of population that you would use for design purposes in each year. You need to specify and...
-
Peters fraudulently told an undocumented immigrant that Peters could help him obtain lawful status. Peters said that he knew immigration officials and asked for money to aid in the process. The...
-
10m solution. If Ka(HA) = 10 then pOH of solution will be [Given : log4=0.6] (A) 6.7 (B) Greater than 6.7 & less than 7.0 (C) Greater 7.0 & less than 7.3 (D) Greater than 7.3
-
Show that n i=1 i/2 i < 2.
-
Show that log b f (n) is (log f (n)) if b > 1 is a constant.
-
In Section 5.2 we prove by induction that the number of lines printed by a call to drawInterval(c) is 2 c 1. Another interesting question is how many dashes are printed during that process. Prove by...
-
Which of the following programs covers custodial care? A HMOs B Medicare Part B C PPOs D Medicare Part A E Medicaid
-
uppose a taxpayer has exhausted his lifetime exclusion amount and has $14 million. a. Assuming a flat 40% gift tax rate, what is the maximum amount a taxpayer can transfer to her daughter (and still...
-
Physical Units Method, Relative Sales Value Method Farleigh Petroleum, Inc., is a small company that acquires high - grade crude oil from low - volume production wells owned by individuals and small...
Study smarter with the SolutionInn App