zephyr/samples/microkernel/benchmark
Andrew Boie 583126adf9 microkernel: remove task_irq_free() API
This is being removed for a few reasons:

- AFAICT this is the only API in Zephyr that follows an allocate/free
model.

- There are no public APIs in the interrupt subsystem for releasing
or reconfiguring an interrupt. This code was relying on arch-specific
private APIs. If we really want to keep this capability we should
make these APIs public and consistent across arches.

- The use-case for this API is not clear, as Zephyr is not intended
for hot-pluggable peripherals. Built-in hardware tends to need its
interrupt for its entire life cycle.

- The current implementation of dynamic interrupts on x86 does not
support freeing a dynamic IRQ that was reserved with
irq_connect_dynamic(), causing this code not to work. To add this
would require reimplementing _get_dynamic_stub() to use a bitfield
or set of bitfields to track unused stubs rather than the simple
counter it uses now.

Change-Id: I7a03c134fb3498b91a1816318a88b293e26b846c
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2016-02-05 20:25:21 -05:00
..
app_kernel quark_d2000: Use correct board name for quark_d2000_crb 2016-02-05 20:25:13 -05:00
boot_time update tests due to recent board files shuffle 2016-02-05 20:25:12 -05:00
footprint microkernel: remove task_irq_free() API 2016-02-05 20:25:21 -05:00
latency_measure nano_sema: Simplify nano_xxx_sem_take() API family 2016-02-05 20:25:14 -05:00
sys_kernel nano_stack: Simplify nano_xxx_stack_pop() API family 2016-02-05 20:25:14 -05:00