Renesas M3T-MR100 Manuale Utente Pagina 290

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 304
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 289
- 276 -
11.3 Regarding Delay Dispatching
MR100 has four service calls related to delay dispatching.
dis_dsp
ena_dsp
loc_cpu
unl_cpu
The following describes task handling when dispatch is temporarily delayed by using these service calls.
14. When the execution task in delay dispatching should be preempted
While dispatch is disabled, even under conditions where the task under execution should be preempted, no time
is dispatched to new tasks that are in an executable state. Dispatching to the tasks to be executed is delayed until
the dispatch disabled state is cleared. When dispatch is being delayed.
Task under execution is in a RUN state and is linked to the ready queue
Task to be executed after the dispatch disabled state is cleared is in a READY state and is linked to the
highest priority ready queue (among the queued tasks).
15. isus_tsk,irsm_tsk during dispatch delay
In cases when isus_tsk is issued from an interrupt handler that has been invoked in a dispatch disabled state to
the task under execution (a task to which dis_dsp was issued) to place it in a SUSPEND state. During delay dis-
patching.
The task under execution is handled inside the OS as having had its delay dispatching cleared. For this
reason, in isus_tsk that has been issued to the task under execution, the task is removed from the
ready queue and placed in a SUSPEND state. Error code E_OK is returned. Then, when irsm_tsk is
issued to the task under execution, the task is linked to the ready queue and error code E_OK is re-
turned. However, tasks are not switched over until delay dispatching is cleared.
The task to be executed after disabled dispatching is re-enabled is linked to the ready queue.
16. rot_rdq, irot_rdq during dispatch delay
When rot_rdq (TPRI_RUN = 0) is issued during dispatch delay, the ready queue of the own task's priority is ro-
tated. Also, when irot_rdq (TPRI_RUN = 0) is issued, the ready queue of the executed task's priority is rotated.
In this case, the task under execution may not always be linked to the ready queue. (Such as when isus_tsk is is-
sued to the executed task during dispatch delay.)
17. Precautions
No service call (e.g., slp_tsk, wai_sem) can be issued that may place the own task in a wait state while
in a state where dispatch is disabled by dis_dsp or loc_cpu.
ena_dsp and dis_dsp cannot be issued while in a state where interrupts and dispatch are disabled by
loc_cpu.
Disabled dispatch is re-enabled by issuing ena_dsp once after issuing dis_dsp several times.
The above status transition can be summarized in Table 3.3.
Vedere la pagina 289
1 2 ... 285 286 287 288 289 290 291 292 293 294 295 ... 303 304

Commenti su questo manuale

Nessun commento

Philips XS1956CI Handbücher

Bedienungsanleitungen und Benutzerhandbücher für Fernseher Philips XS1956CI.
Wir stellen 1 PDF-Handbücher Philips XS1956CI zum kostenlosen herunterladen nach Dokumenttypen zur Verfügung Bedienungsanleitung






Weitere Produkte und Handbücher für Fernseher Philips

Modelle Dokumententyp
19PFL3403D Bedienungsanleitung    Philips 19PFL3403D Manuel d'utilisation, 1 Seiten
14PT1323 Bedienungsanleitung   Philips 14PT1323 User Manual, 2 Seiten
14GR2330 Bedienungsanleitung   Philips 14GR2330 User Manual, 14 Seiten
20PT1422 Bedienungsanleitung   Philips 20PT1422 User Manual, 2 Seiten
15GR2120 Bedienungsanleitung   Philips 15GR2120 User Manual, 11 Seiten
VR948 Bedienungsanleitung   Philips VR948 Benutzerhandbuch, 97 Seiten
17GR2340 Bedienungsanleitung    Philips 17GR2340 Manuale d'uso, 14 Seiten
14GR2130 Bedienungsanleitung   Philips 14GR2130 User Manual, 11 Seiten
15 AA3340 Bedienungsanleitung   Philips 15 AA3340 Manuale d'uso, 11 Seiten
14GR2520 Bedienungsanleitung     Philips 14GR2520 Benutzerhandbuch, 15 Seiten
TP2797B Bedienungsanleitung   Philips TP2797B User Manual, 2 Seiten
14PT300 Bedienungsanleitung   Philips 14PT300 Manuel d'utilisation, 7 Seiten
15GR2636 Bedienungsanleitung   Philips 15GR2636 Manual del usuario, 14 Seiten
14PT1422 Bedienungsanleitung   Philips 14PT1422 User Manual, 2 Seiten
14PT3685 Bedienungsanleitung   Philips 14PT3685 User Manual, 2 Seiten
15GR2130 Bedienungsanleitung   Philips 15GR2130 User Manual, 11 Seiten
19PFL3403/98 Bedienungsanleitung   Philips 19PFL3403/98 User Manual, 1 Seiten
17AA3547 Bedienungsanleitung   Philips 17AA3547 User Manual, 12 Seiten
19PFL5422D Bedienungsanleitung    Philips 19PFL5422D User Manual, 2 Seiten
TP2785CI Bedienungsanleitung   Philips TP2785CI User Manual, 48 Seiten