<< Back to Codezero Application Development
In the current release, the opportunities on writing Codezero Applications may be somewhat limited. Some of the limitations are listed below:
Nevertheless, current possibilities are sufficient for exploring the userspace capabilities of Codezero, or make enhancements on the current state of all the available components. You should use the template container in conts/baremetal/empty as a starting point for development. When configuring Codezero, the new container should be shown in the list of available containers. Mark it to be build and executed with the Codezero microkernel for debugging.
libl4 is the generic userspace library that provides a unified interface to the Codezero system calls. Codezero pagers and applications use this library to initiate system calls, and higher level libraries such as libposix uses libl4 to translate POSIX API calls into appropriate ipc requests and system calls on Codezero.
This guide builds up on the general information included in the Codezero API Reference by providing examples on how to use various libl4 interfaces as below:
If you have questions about other application scenarios, please mention them in our mailing list, and we may extend this guide accordingly.
As formerly mentioned in various parts of the documentation, applications may leverage the services provided by mm0 pager and the fs0 virtual filesystem by making POSIX API calls with the help of libposix userspace library. Below is a simple guide on how to implement a POSIX-like program using the libposix library:
If you have questions about other application scenarios, please mention them in our mailing list, and we may extend this guide accordingly.