Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Sauermann J.Realtime operating systems.Concepts and implementation of microkernels for embedded systems.1997.pdf
Скачиваний:
27
Добавлен:
23.08.2013
Размер:
1.32 Mб
Скачать

3. Kernel Implementation

33

 

 

3 Kernel Implementation

3.1Kernel Architecture

Figure 3.1 shows the overall architecture of the kernel implementation.

 

 

 

Application

 

Application

 

 

 

 

 

Kernel

 

 

 

 

 

 

 

 

 

 

Queue

Application

 

Serial I/O

Task

 

Startup

os

Queue

 

Queue

Semaphore

 

 

User Mode

 

 

 

 

 

Supervisor

 

 

 

 

 

Mode

 

 

 

 

 

Startup

Hardware Access

ISR

Scheduler

P(), V(), Poll()

crt0.S

 

 

 

 

 

Hardware (DUART)

FIGURE 3.1 Kernel Architecture

The bottom part of Figure 3.1 shows the part of the kernel that is (along with the functions called from there) executed in supervisor mode. All code that is