RTEMS | bsp/xilinx-zynq: Add devcfg and slcr drivers (!283)
Gedare Bloom (@gedare)
gitlab at rtems.org
Wed Oct 30 22:17:00 UTC 2024
Gedare Bloom commented on a discussion on bsps/arm/xilinx-zynq/dev/devcfg/zynq-devcfg.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/283#note_114077
> + */
> +rtems_device_driver zynq_devcfg_init(
> + rtems_device_major_number major,
> + rtems_device_minor_number minor,
> + void *args
> +)
> +{
> + rtems_status_code status;
> +
> + (void) args;
> +
> + data.regs = (zynq_devcfg_regs *)ZYNQ_DEVCFG_BASE_ADDR;
> + data.secure = false;
> + data.current_task = RTEMS_INVALID_ID;
> + data.write_mode_restricted = true;
> + status = rtems_semaphore_create(
See #5142 with the better idea I had of using self-contained objects.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/283#note_114077
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241030/295092c3/attachment-0001.htm>
More information about the bugs
mailing list