IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


Release Notes – CLIB-PPC V1.03

The tickets are grouped by component and then sorted by type and ticket number.


CLIB
Ticket: #137
Component: CLIB
Type: defect
Summary: C-Lib atomic In-line assembly functions step on registers
Description: In debug mode, the atomic* series of in-line functions malfunction due to register modifications.
Solution: Fixed.



Ticket: #170
Component: CLIB
Type: defect
Summary: Resource leak on user tasks
Description: When user-tasks are removed some RTOS resources used by the standard library (such as semaphores) are not freed.
Solution: Fixed.



Ticket: #192
Component: CLIB
Type: defect
Summary: const keyDataPtr type for Crypt_GenericKey structure
Description: The keyDataPtr member of the Crypt_GenericKey structure should be made const type since the @CHIP-RTOS-PPC API does not change the data referenced by this pointer.
Solution: Add const type to declaration



Ticket: #195
Component: CLIB
Type: defect
Summary: Incompatible constant INADDR_LOOPBACK
Description: The TCP/IP IPv4 socket constant INADDR_LOOPBACK must be defined as 0x7F000001
Solution: Fixed.



Ticket: #210
Component: CLIB
Type: defect
Summary: Dev_Get_DHCP_Data() function is missing in C-Library.
Description: For compatibility with RTOS-x86 C-Library, the Dev_Get_DHCP_Data() should be provided.
Solution: Add the API.



Ticket: #131
Component: CLIB
Type: enhancement
Summary: Add chsize() to C-Library
Description: A chsize() function is missing in the C-library, making RTOS-x86 program porting more difficult.
Solution: Add chsize API to the RTOS-PPC



Ticket: #132
Component: CLIB
Type: enhancement
Summary: C-Library inet_addr_bsd() pointer parameter missing "const" declaration
Description: The IPAddressStringPtr pointer argument passed to inet_addr_bsd() API is treated by the system as strictly read-only. This fact should be advertised with a "const" declaration in the prototype, so that the direction of the data flow is immediately clear to users.
Solution: Add const to inet_addr_bsd() prototype.



Ticket: #136
Component: CLIB
Type: enhancement
Summary: Cryptographic functions' input data should be declared "const"
Description: The C-Lib prototypes for Crypt_MD5_Update(), Crypt_SHA1_Update() and Crypt_AES_Encrypt/Decrypt() should have a const type for the input streams.

Also the return value's from Crypt_MD5_Final() and Crypt_SHA1_Final() have beem connected to CTX pointer validity.
Solution: Adjust the C-Lib prototypes on these four API. Have also made the crypt* functions take pointers to void type to reduce the amount of casting necessary inside applications.



Ticket: #145
Component: CLIB
Type: enhancement
Summary: Add atomicReadWrite() in-line function to C-Lib
Description: An atomic "test and set" operation is missing from the C-Lib's series of inline atomic functions.
Solution: Add this variation on the atomicWrite() to the C-Lib.



Ticket: #177
Component: CLIB
Type: enhancement
Summary: I2C Legacy API should use some casts inside the macros
Description: The I2C Legacy API should use some casts inside the macros to avoid compiler warnings.
Solution: Implemented.



Ticket: #181
Component: CLIB
Type: enhancement
Summary: Should add branch prediction macros to CLIB
Description: Should add the branch prediction macros (likely() and unlikely()) to the CLIB header file.
Solution: Implemented.



Ticket: #184
Component: CLIB
Type: enhancement
Summary: Should add cache sync function
Description: Should provide a function that assures that the instruction and data cache get synchronized. This is important when the processor alters a memory location that may be contained in an instruction cache.
Solution: Implemented cacheSync() and cacheStore() inline functions.



Ticket: #185
Component: CLIB
Type: enhancement
Summary: RTX_Reserve_Sem() / RTX_Wait_Sem() should handle NULL pointer
Description: When the function RTX_Reserve_Sem() or RTX_Wait_Sem() is called and a NULL pointer is passed as time_ms parameter, the function should treat this as if a pointer to a variable containing the value 0 was passed.
Solution: Implemented.



Ticket: #187
Component: CLIB
Type: enhancement
Summary: Support the new APIs in RTOS-PPC V1.06 Beta
Description: Support the new functions, structures and definitions of SC2x3 RTOS-PPC V1.06 Beta
Solution: Implemented.



Ticket: #189
Component: CLIB
Type: enhancement
Summary: Include standard-lib Extension headers by default
Description: The header files (e.g. dir.h) of the standard lib extension are not mentioned in the documentation. All these header files should be included in the clib.h main header file.
Solution: Add conio.h, dir.h, dos.h and io.h to clib.h header file



Ticket: #194
Component: CLIB
Type: enhancement
Summary: Should support mallinfo() function
Description: We should support the mallinfo() function to get some heap diagnostics/statistics.
Solution: Added mallinfo() and _heap_Walk() to C-library.

Also provided a BECK_HEAP_DEBUG compilations switch, _heap_preset and _heap_can_grow control integers.



Ticket: #196
Component: CLIB
Type: enhancement
Summary: Missing BSD socket constants
Description: Should add several BSD socket constants: SOL_SOCKET, IP_PROTOIP and IP_PROTOTCP
Solution: Added.








Top of page | Main page

Copyright © 2009 Beck IPC GmbH