Стандарты ОСРВ. POSIX OSEK/VDX DO-178B ARINC-653 ED-12B ITRON: ITRON1, µITRON, ITRON2.

Презентация:



Advertisements
Похожие презентации
Loader Design Options Linkage Editors Dynamic Linking Bootstrap Loaders.
Advertisements

Mobility Control and one-X Mobile. Mobility Control User Configuration Mobile Call Control requires PRI-U, BRI or SIP (RFC2833) trunks in the IP Office.
Copyright 2003 CCNA 4 Chapter 11 Scaling IP Addresses By Your Name.
© 2006 Cisco Systems, Inc. All rights reserved. HIPS v Configuring Rules Rule Basics.
While its always a good idea to think outside the box when approaching a creative task, this is not always the case. For example, when working with teams,
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS VPN Implementation Using MPLS VPN Mechanisms of Cisco IOS Platforms.
© 2009 Avaya Inc. All rights reserved.1 Chapter Four, UMS Web Services Module One – UMS.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Complex MPLS VPNs Using Advanced VRF Import and Export Features.
© 2006 Cisco Systems, Inc. All rights reserved. BSCI v Implementing BGP Explaining BGP Concepts and Terminology.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Customer-to-Provider Connectivity with BGP Connecting a Multihomed Customer to Multiple Service.
© 2006 Cisco Systems, Inc. All rights reserved. CIPT1 v Administration of Cisco Unified CallManager Release 5.0 Performing General Administration.
Loops Objectives Students will: 1. Explain what a loop is and describe the three main types of loops used in programming. 1. Дать понятие циклам. И объяснить.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v Route Selection Using Policy Controls Using Outbound Route Filtering.
© 2006 Cisco Systems, Inc. All rights reserved. BCMSN v Introducing Campus Networks Network Requirements.
Yogesh Mehla Now concept of logic building is not so complex and not so simple. We will not work on how to make logic program in.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v Extending Switched Networks with Virtual LANs Introducing VLAN Operations.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v Integrating Internet Access with MPLS VPNs Implementing Internet Access as a Separate VPN.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v MPLS VPN Implementation Configuring an MP-BGP Session Between PE Routers.
PERT/CPM PROJECT SCHEDULING Allocation of resources. Includes assigning the starting and completion dates to each part (or activity) in such a manner that.
Copyright 2003 CCNA 2 Chapter 18 Basic Router Troubleshooting By Your Name.
Транксрипт:

Стандарты ОСРВ

POSIX OSEK/VDX DO-178B ARINC-653 ED-12B ITRON: ITRON1, µITRON, ITRON2

POSIX Portable Operating System Interface developed by the IEEE and The Open Group Base Definitions: This include general terms, concepts and interfaces common to entire standard. System Interfaces: This comprises the definitions for system service functions for the C programming language, function and portability issues, error handling and recovery. Shell and Utilities: It contains the definitions for a standard source code-level interface to command interpretation services. Rationale: It contains information that does not fit well into the rest of the document structure.

Стандарт a (OS Definition) содержит базовые интерфейсы ОС поддержка и управление следующими объектами – единственный процесс – множественные процессы – сигналы, – группы пользователей – файловая система – файловые атрибуты – файловые устройства – блокировки файлов – устройства ввода/вывода – системными базами данных – каналами –поддержка языка C.

Стандарт b (Realtime Extensions) содержит расширения реального времени: сигналы реального времени планирование выполнения таймеры, синхронный и асинхронный ввод/вывод, ввод/вывод с приоритетами синхронизация файлов блокировка памяти разделяемая память передача сообщений семафоры.

POSIX1003.1b (cont) Стандарт требует поддержки не менее 32 уровней приоритетов. Стандарт требует поддержки не менее трех политик планирования обработки процессов, включая: SCHED_FIFO – процессы выполняются до завершения SCHED_RR – round robin – процессу выполняется квант времени SCHED_OTHER – иная

Стандарт c (Threads) управление потоками планирование с учетом приоритетов мьютексы приоритетное наследование в мьютексах условные переменные (condition variables).

Стандарт d расширения реального времени порождение новых процессов (spawn) спорадическое планирование мониторинг процессов и потоков времени выполнения таймауты функций блокировки управление устройствами и прерываниями.

OSEK/VDX для систем, применяющихся в автомобильной промышленности состоит из трех частей –стандарт для операционной системы (OS), –коммуникационный стандарт (COM) –стандарт для сетевого менеджера (NM). + реализационный язык (OIL)

OSEK/VDX main architectural choices: Scalability Portability of software Configurability Statically allocated OS Support for time triggered architectures

OSEK/VDX architecture - traditional fixed priority approach basic task (BT) extended task (ET) extended tasks are basic tasks that can react to external asynchronous event

OSEK/VDX conformance classes BCC1 –Only basic tasks limited to one activation request per task and one task per priority, while all tasks have different priorities. BCC2 –Like BCC1, plus more than one activation request per task and more than one task per priority. ECC1 –Like BCC1, plus extended tasks. ECC2 –Like ECC1, plus more than one task per priority and multiple requesting of task activation allowed for basic tasks.

OSEK/VDX Interrupt processing ISR category 1 –Прерывания обрабатываются пользовательской программой. ОС о них не знает. Вызывать примитивы ОС из ISR не рекомендуется ISR category 2 –Прерывания обрабатываются ядром ОС и ядро вызывает пользовательский обработчик.

Full Preemptive Scheduling –Задача может быть прервана на любой выполняемой инструкции более приоритетной задачей Non Preemptive Scheduling –Задача прерывается только на системных вызовах: завершение, ожидания события, явная отдача процессора Mixed Preemptive Scheduling –Могут параллельно выполняться и те и те

OSEK Priority Ceiling every resource as assigned a ceiling that is the maximum priority of the tasks (and ISRs) that use the resource; when a task requires a resource, its current priority is raised to the ceiling of the resource; when a task releases a resource, the priority of this task is reset to the priority which was dynamically assigned before requiring that resource.