1.1. About OS support in RealView Debugger

RealView Debugger supports debugging of embedded operating system (OS) applications. An OS often uses separate software components to model and control the hardware with which it interacts. For example, a car engine controller might have two components to:

Using components like this enables the OS to schedule tasks in the correct order to meet the specified deadlines. OS tasks can be:

Processes

Created by the operating system, these contain information about program resources and execution state, for example program instructions, stack, and heap. Processes communicate using shared memory or tools such as queues, semaphores, or pipes.

Threads

Running independently, perhaps as part of a process, these share resources but can be scheduled as tasks by the OS.

A thread can be controlled separately from a process because it maintains its own stack pointer, registers, and thread-specific data.

In single-processor systems, an OS controls one or more processes running on a single processor. Similarly, a process can have multiple threads, all sharing resources and all executing within the same address space. Because threads share resources, changes made by one thread to shared system resources are visible to all the other threads in the system.

In multiprocessor systems, specific processes and threads can be run on specific processors. For example:

Note

The OS support does not require a license from ARM® Limited, but you must obtain enabling software for your chosen OS.

Copyright © 2006 ARM Limited. All rights reserved.ARM DUI 0323A
Non-Confidential