Implementing and Verifying EDF Preemption-Level Resource Control
To support Earliest Deadline First (EDF) dispatching of application tasks the Ada language has had to incorporate Baker’s Stack Resource Protocol (SRP). This protocol has proved problematic both in terms of its language definition and implementation. This paper proposes a means of verifying the implementation of complex language features. It describes a prototype tool that allows a comparison to be made between the output of an executing program and a diverse simulator that directly implements EDF+SRP. The tool creates a collection of cases (scenarios); for each of which a program is automatically generated (and executed) and a separate simulation script produced. Tests on an existing run-time for Ada has shown that in certain circumstances an Ada program and its corresponding simulation diverge.
Keywordsreal-time EDF resource control
Unable to display preview. Download preview PDF.
- 2.Baker, T.P.: A Stack-Based Resource Allocation Policy for Realtime Processes. In: IEEE Real-Time Systems Symposium, pp. 191–200 (1990)Google Scholar
- 3.Rivas, M.A.: (February 2010), http://marte.unican.es/
- 4.Zerzelidis, A., Burns, A., Wellings, A.J.: Correcting the EDF protocol in Ada 2005. In: 13th International Workshop on Real-time Ada, Vermont (2007)Google Scholar
- 5.Tucker Taft, S., Duff, R.A., Brukardt, R.L., Plödereder, E., Leroy, P.: Ada 2005 Reference Manual. LNCS, vol. 4348. Springer, Heidelberg (2006)Google Scholar
- 6.Ada Conformity Assessment Authority (April 2010), http://www.ada-auth.org/cgi-bin/cvsweb.cgi/ai05s/ai05-0055-1.txt?rev=1.1&raw=Y
- 7.ActiveState Software (April 2010), http://www.activestate.com/komodo/
- 8.Fairbairn, M.L.: An Assessment of Ada’s new EDF Facilities, MEng Report. University of York, UK (2010), http://www-users.cs.york.ac.uk/~burns/FairbairnReport.pdf