Книга: Real-Time Concepts for Embedded Systems

3.4.2 RTOS Initialization

3.4.2 RTOS Initialization

Step 4 of Figure 3.7 begins the RTOS software initialization. Key things that can happen in steps 4 to 6 include:

1. initializing the RTOS

2. initializing different RTOS objects and services, if present (usually controlled with a user-configurable header file):

 ? task objects

 ? semaphore objects

 ? message-queue objects

 ? timer services

 ? interrupt services

 ? memory-management services

3. creating necessary stacks for RTOS

4. initializing additional RTOS extensions, such as:

 ? TCP/IP stack

 ? file systems

5. starting the RTOS and its initial tasks

The components of an RTOS (for example, tasks, semaphores, and message queues) are discussed in more detail in later chapters of this book. For now, note that the RTOS abstracts the application code from the hardware and provides software objects and services that facilitate embedded-systems application development.

Оглавление книги


Генерация: 0.916. Запросов К БД/Cache: 3 / 0
поделиться
Вверх Вниз