
Porting Applications 171
kernel API driver model, function func is ported in user space by providing
an interface for function
func2 in user space. The kernel API driver is
discussed in detail in Section 6.5.
In this section we discussed an application porting roadmap from an RTOS
to Linux. The rest of the chapter is divided into three parts.
In the first part we discuss pthreads (POSIX threads) in brief. Pthreads is
a Linux threading model. The section covers all the pthreads operations
that one should understand before starting the porting process.
In the second part we write a small OSPL supporting only task creation,
task destruction, and mutex ...