I have added the tests and added the ones that create the timer. My idea for
testing is that if I change the wall clock and I'll check the monotonic clock's
time. But I think I have to make a signal and arm the timer.
Thanks
Zack
Sent with ProtonMail Secure Email.
‐‐‐ Original Message ‐‐‐
Thanks for your note, Sir! I'll never get that day back, but I'm glad to be
back on track now and have made
a bit of progress.
I made the change locally in libc/sys/signal.h to use the *__restrict. I
then configured and (successfully!)
built newlib for sparc-rtems6. I see the various build binarie
I'm getting back to this as I have the HyperRAM working so I'm trying to set up
appropriate linker settings.
> On Jun 10, 2021, at 01:43 , Sebastian Huber
> wrote:
>
> The initial stack needs to be in an accessible memory area. Currently it is
> placed in this linker output section:
>
>
Replace it with BSP_INTERRUPT_VECTOR_COUNT.
Update #3269.
---
bsps/include/bsp/irq-generic.h | 4 +---
bsps/shared/irq/irq-generic.c | 2 +-
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/bsps/include/bsp/irq-generic.h b/bsps/include/bsp/irq-generic.h
index 31010d1c08..749dc78988
After building all BSPs with this patch, this BSP-specific define can be
removed to simplify the implementation.
Update #3269.
---
bsps/include/bsp/irq-generic.h | 4
1 file changed, 4 insertions(+)
diff --git a/bsps/include/bsp/irq-generic.h b/bsps/include/bsp/irq-generic.h
index e888a66ce
Update #3269.
---
bsps/or1k/generic_or1k/include/bsp/irq.h | 3 +-
bsps/or1k/generic_or1k/irq/irq.c | 43 ---
.../lib/libbsp/or1k/generic_or1k/Makefile.am | 6 +--
.../bsps/or1k/generic_or1k/bspgenericor1k.yml | 4 +-
4 files changed, 3 insertions(+), 53 delet
This define represents the last valid interrupt vector number.
Update #3269.
---
testsuites/smptests/smpcapture02/init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testsuites/smptests/smpcapture02/init.c
b/testsuites/smptests/smpcapture02/init.c
index 9cf1f0b006..329fd34
This define is no longer used.
Update #3269.
---
bsps/aarch64/a53/include/bsp/irq.h | 1 -
bsps/aarch64/a72/include/bsp/irq.h | 1 -
bsps/aarch64/xilinx-zynqmp/include/bsp/irq.h| 1 -
bsps/arm/altera-cyclone-v/include/bsp/irq.h | 1 -
bsps/arm/atsam/include/bsp/i
Remove BSP_INTERRUPT_VECTOR_MIN and unconditionally let interrupt vector
numbers start with zero.
The BSP_INTERRUPT_VECTOR_MIN == 0 invariant was tested by the previous commit
and building all BSPs.
Update #3269.
---
bsps/aarch64/a53/include/bsp/irq.h| 1 -
bsps/aarch64/a72/include/
Assert BSP_INTERRUPT_VECTOR_MAX + 1 == BSP_INTERRUPT_VECTOR_COUNT.
After building all BSPs with this patch, BSP_INTERRUPT_VECTOR_MAX can be
removed and replaced by BSP_INTERRUPT_VECTOR_COUNT. The
BSP_INTERRUPT_VECTOR_COUNT allows a default implementation which supports no
interrupt vector at all.
Fix an off by one error.
Update #3269.
---
bsps/arm/atsam/include/bsp/irq.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bsps/arm/atsam/include/bsp/irq.h b/bsps/arm/atsam/include/bsp/irq.h
index fa3d56ab1e..e788570469 100644
--- a/bsps/arm/atsam/include/bsp/irq.h
+++ b/bsps
Use BSP_INTERRUPT_VECTOR_COUNT instead of BSP_INTERRUPT_VECTOR_MAX.
Update #3269.
---
bsps/arm/atsam/start/bspstart.c | 2 +-
bsps/arm/beagle/irq/irq.c | 2 +-
bsps/arm/lpc176x/irq/irq.c | 2 +-
bsps/arm/lpc24xx/irq/irq.c | 4 ++--
bsps/arm/lpc32xx/
This BSP uses a customized implementation of the interrupt extension API. It
was the only BSP which defined BSP_INTERRUPT_VECTOR_MIN to a value other than
zero. Define it to zero and use a custom is_valid_vector() function instead.
Update #3269.
---
bsps/m68k/genmcf548x/include/bsp/irq.h | 2 +
Remove the support for BSP_INTERRUPT_NO_HEAP_USAGE. This was only used
by one BSP and provides no real benefit.
Update #3269.
---
bsps/include/bsp/irq-generic.h| 8 --
bsps/powerpc/mpc55xxevb/include/bsp/irq.h | 1 -
bsps/shared/irq/irq-generic.c | 34 ++
Change the default value of BSP_INTERRUPT_VECTOR_COUNT so that no interrupt
vectors are supported and all related directives return RTEMS_INVALID_ID.
Update #3269.
---
bsps/include/bsp/irq-default.h | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/bsps/include/bsp/irq-de
Chris thankfully reminded me that my first patch set was far too sloppy:
https://lists.rtems.org/pipermail/devel/2021-June/067858.html
I did split it up into parts which are easier to review and test. This patch
set simplifies the generic interrupt controller support a bit to prepare for
more co
16 matches
Mail list logo