Uzilishlarni maskalash. Uzilishlar ustivorligi

|
Uzilishlarni maskalash. Uzilishlar ustivorligi
|
bet | 7/10 | Sana | 04.07.2024 | Hajmi | 319,4 Kb. | | #266583 |
Bog'liq RGqpeVcTGrACPEqq2WlPDTbgx7NbOwBBfRKOuADM(1)Uzilishlarni maskalash. Uzilishlar ustivorligi.
EHM turli xil uzilishlarga tanlab javob beradigan vositalarga ega bo’lishi kerak.
Masalan, agar apparat ishlamay qolishi faktini aniqlagan nazorat sxemasi biridan uzilish signali kelsa, u holda boshqa uzilish signallariga javob berish talab qilinmaydi, masalan, razriyadli setkaning to’lib ketishi, apparatning nosozligi tuzatulgunga qadar.
Ushbu maqsadlar uchun uzilish maskasidan foydaniladi – ikkilik kod М = m1... mk, bunda har bir uzilish sababiga mi maska biti mos qo’yiladi.
Agar, masalan, maska biti mi = 0 bo’lsa, u holda i-sabab bo’yicha uzilish, yani maskalangan.
Agar mi = 1 bo’lsa, u holda uzilishga ruxsat beriladi, yani maskalanmagan.
Shunday qilib, uzilish operatsiyasi faqat maskalanmagan uzilish signali bilan boshlanadi.
Contradictory situations prevent get for delay signals different kind of priorities is given .
Dominance - This service to do column right - service privilege _
Dominance definition , for example , processes dynamics based on instead increased : fast streams high priorities determined .
For example, based on the level of incorrect (incorrect) : in the hardware malfunction ( failure ) stay ) in the program wrongly different as first to him service be displayed need _
N is correct application out of account take put and other to the program service start possible . A pparatning not working stay optional application completion impossible does . S huning to fail _ to stay response ( reaction ) programming malfunctions and interruptions other reasons column to be need _
Ziddiyatli vaziyatlarni oldini olish uchun uzilish signallariga turli xil ustivorliklar beriladi.
Ustivorlik – bu xizmat qilishning ustun huquqi – xizmat imtiyozi.
Ustivorlikni belgilash, masalan, jarayonlar dinamikasi asosida amalga oshiriladi: tezkor oqimlarga yuqori ustivorliklar belgilanadi.
Masalan, noto’g’ri (korrekt bo’lmagan) darajasiga asoslanib: apparatdagi noto’g’rolik (ishlamay qolishi) dastrudagi noto’g’rilikdan farqli o’laroq avval unga xizmat ko’rsatilishi kerak.
Noto’g’ri dasturni hisobdan olib qo’yib va boshqa dasturga xizmatni boshlash mumkin. Apparatning ishlamay qolishi ixtiyoriy dasturni bajarilishini imkonsiz qiladi. Shuning uchun, ishlamay qolishga javob (reaksiya) dasturiy nosozliklar va uzilishlarning boshqa sabablaridan ustun bo’lishi kerak.
It is a simple schematic of a stivor system .
Optional unmasked ( unmasked ) interruption alarms from then the processor current of the program completion stops and the arbitrator ( arbitrator ) to interrupt request sent manbani search begins .
Search of priority decrease in order eng high priority has from the source from marked priorities in order instead is increased .
Ustivorlik tizimining oddiy sxemasi.
Ixtiyoriy niqoblanmagan (maskalanmagan) uzilish signalini olgandan so’ng, protsessor joriy dasturning bajarilishini to’xtatadi va hakam (arbitr) uzilishga so’rov yuborgan manbani izlashni boshlaydi.
Qidiruv ustivorlikning kamayish tartibida eng yuqori ustivorlikka ega manbadan boshlab belgilangan ustivorliklar tartibida amalga oshiriladi.
There are two schemes for the operation of priority interrupt systems relative to the ability to interrupt one processing program with another.
The first - relative priority (NU) scheme on service _
The second - Absolutely according to priority li (AU ) service _
Bitta ishlov berish dasturini boshqasi bilan to’xtatish imkoniyatiga nisbatan ustivor uzilish tizimlarining harakati uchun ikkita sxema mavjud.
Birinchisi – nisbiy ustivorlikli (NU) sxema bo’yicha xizmat.
Ikkinchisi – absolyut ustivorlikli (AU) boyicha xizmat.
In NU mode delay signal given priority relative , that is , it does not always work , but only a of time in itself a how many delay queries acceptance to do in time .
If high priority signal lower priority has which was from the signal later kelsa , in that case this lower priority signal shown service high priority signal with cut off will not , that is , until the end without interruptions instead is increased and only hence later high priority has which was request on service begins .
|
| |