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...
-
Define general equilibrium and show the general equilibrium point in the IS-LM diagram. If the economy is not in general equilibrium, what determines output and the real interest rate? What economic...
-
Consider the National Football League data in Table B.1. a. Use the forward selection algorithm to select a subset regression model. b. Use the backward elimination algorithm to select a subset...
-
Hinton Property Management Company (HPMC) owns several properties that it rents to major hotel chains such as The Westin and Holiday Inn. HPMC does not operate the hotels but instead simply provides...
-
1. If you put $1,000 in a savings account at the end of each year for 11 years, how much money will be in the account at the end of the 11th year? Assume that the account earns 11% per annum and...
-
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.
-
Suppose that there is an LSM that predicts soil moisture with ( 2 x = 2 ) and a measurement system with ( 2 y = 1 ) if the models output and measurement is 0. 24 and 0. 27. Calculate the Kalman...
-
Write a code that find if a string is palindrome and it should return true for below inputs too. Stella won no wallets. No, it is open on one position. Rise to vote, Sir. Won't lovers revolt now?
-
All the functions are implemented considering as if the graph is represented by adjacency list. Write all those functions for graph representation as adjacency matrix.
-
Suppose housing \((H)\) and air quality \((A)\) are the only two things entering into Jose's utility and Jose's utility function is \(U(H, A)=A \cdot H\). Suppose Jose's income is \(\$ 10\) and the...
-
Replace all occurrences of %20 with ' '. E.g. Input: www.Hello%20World.com Output: www.Hello World.com
-
In given string write a function to return the length of the longest substring with only unique characters.
-
List some of the criteria laid out by the FASB that are required for a gain or loss on forecasted trans actions (a cash flow hedge) to be excluded from the income statement. If these criteria are...
-
Assessing simultaneous changes in CVP relationships Braun Corporation sells hammocks; variable costs are $75 each, and the hammocks are sold for $125 each. Braun incurs $240,000 of fixed operating...
-
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...
-
: A Managerial Emphasis textbook. Managers use cost-volume-profit (CVP) analysis extensively to understand the relationship between selling prices, sales volume, variable costs, fixed costs, and...
-
The preparation of desserts involves a wide range of cookery methods. For the following list of cookery methods, briefly explain the method involved and provide one example of one dessert made by the...
-
A retailer sells products through their stores, their CFO has requested your help in the following issue. The store offers credit to guests through proprietary credit cards. However, in October of...
Study smarter with the SolutionInn App