ChorusOS 4.0 Migration Guide

Chapter 1 Overview of Enhancements to the ChorusOS 4.0 Operating System

This chapter provides an overview of the major changes between version 3.2 and version 4.0 of the ChorusOS operating system. It contains the following sections:

1.1 Enhancements to the ChorusOS 4.0 Operating System

Version 4.0 of the ChorusOS operating system provides the following enhancements over version 3.2:

1.2 API Changes in ChorusOS 4.0

Table 1-1 summarizes which APIs are new, or have changed, in ChorusOS 4.0.

Table 1-1 Status of APIs in ChorusOS 4.0

ChorusOS 3.2 API name 

ChorusOS 4.0 API name 

Status 

BSD

BSD

Extended 

CORE

CORE

Changed 

-- 

DYNAMIC_LIB

New. See the DYNAMIC_LIB(5FEA) man page for more information.

RESTART

HOT_RESTART

New. See the HOT_RESTART(5FEA) man page for more information.

-- 

IOM_IPC

New. See the IOM_IPC(5FEA) man page for more information.

-- 

IOM_OSI

New. See the IOM_OSI(5FEA) man page for more information.

MEM

MEM

Changed 

MEM_FLAT

MEM_PROTECTED

MEM_VIRTUAL

VIRTUAL_ADDRESS_SPACE

FS_MAPPER

New. See the VIRTUAL_ADDRESS_SPACE(5FEA) and FS_MAPPER(5FEA) man pages for more information.

-- 

NFS_SERVER

New. See the NFS_SERVER(5FEA) man page for more information.

-- 

PERF

New. See the PERF(5FEA) man page for more information.

POSIX_MQ

POSIX_MQ

Extended 

POSIX_SHM

POSIX_SHM

Extended 

SCHED_CLASS

ROUND_ROBIN

Unchanged 

VIRTUAL_TIME

VTIMER

Unchanged 

Table 1-2 details the APIs which have changed or have been extended.

Table 1-2 Details of changed or extended APIs in ChorusOS 4.0

ChorusOS 4.0 API name 

Details 

BSD

The following functions have been added: cfgetispeed(), cfgetospeed(), cfmakeraw(), cfsetispeed(), cfsetospeed() and cfsetpeed().

CORE

The Interrupt Management Service (IMS) has been removed: f_imsIntrLevel(), f_imsProgLevel(), imsIntrMaskCount_f(), f_imsPreemptionCntlWord(), f_imsThreadEventRqst(), f_imsProcessSchedEvents() and f_imsProcessThreadEvents().

MEM

The following functions have been removed: svPageContigAllocate() and svPageContigFree().

POSIX_MQ

The following function has been added: fpathconf().

POSIX_SHM

The following functions have been added: fchmod(), fchown(), fpathconf() and fstat().