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?06514 ! Note this is a macro, it just looks like a subroutine. 06515 #define hwint_master (irq) 06516 06517

06530 .align 16 hwint_master (0) 06531__hwint00: 06532 06533 06534 06535 _hwint01: 06536 06540 06541 .align

06559 _hwint07: 06560 06561 06562 06563 06564 ! * 06568 06569 06570 06571 06572 06573 06574 06575 06576 0:

06590 06591 _hwint10: 06592 06593 06594 06595 _hwint11: 06596 06597 06598 06599 _hwint12: 06600 06601 06602

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Operating Systems Design And Implementation

ISBN: 9780131429383

3rd Edition

Authors: Andrew Tanenbaum, Albert Woodhull

Question Posted: