OS abstraction


Prasad Hegde
 

Guys,

 

I would like to know, how easily I can port any other OS(If we have any other proprietary OS) into this architecture.

 

Best Regards

Prasad


Jon Mason <jon.mason@...>
 

Stated alternatively, Would it be acceptable usptream to have a
HAL-like layer that would abstract the OS dependent calls in a driver
(thus allowing for the drivers to be used in other RTOSes)?

Thanks,
Jon

On Sun, Jun 4, 2017 at 11:52 PM, Prasad Hegde Nagapati via
Zephyr-devel <zephyr-devel@...> wrote:
Guys,



I would like to know, how easily I can port any other OS(If we have any
other proprietary OS) into this architecture.



Best Regards

Prasad


_______________________________________________
Zephyr-devel mailing list
Zephyr-devel@...
https://lists.zephyrproject.org/mailman/listinfo/zephyr-devel


Tomasz Bursztyka
 

Hi Jon,

Zephyr has its own driver model, and its own APIs, but it accepts external HALs.

If you have an already existing "generic driver, you'll be able to put in it ext/hal/broadcom and write
a shim driver for Zephyr thus reusing the driver for Zephyr.

See how other HALs have been integrated this way.

Br,

Tomasz

On 05/06/2017 16:53, Jon Mason via Zephyr-devel wrote:
Stated alternatively, Would it be acceptable usptream to have a
HAL-like layer that would abstract the OS dependent calls in a driver
(thus allowing for the drivers to be used in other RTOSes)?

Thanks,
Jon

On Sun, Jun 4, 2017 at 11:52 PM, Prasad Hegde Nagapati via
Zephyr-devel <zephyr-devel@...> wrote:
Guys,



I would like to know, how easily I can port any other OS(If we have any
other proprietary OS) into this architecture.



Best Regards

Prasad


_______________________________________________
Zephyr-devel mailing list
Zephyr-devel@...
https://lists.zephyrproject.org/mailman/listinfo/zephyr-devel
_______________________________________________
Zephyr-devel mailing list
Zephyr-devel@...
https://lists.zephyrproject.org/mailman/listinfo/zephyr-devel