[PATCH] mpci: Simplify expressions

2022-03-07 Thread Sebastian Huber
Use that rtems_configuration_get_user_multiprocessing_table() returns never NULL if RTEMS_MULTIPROCESSING defined. --- bsps/m68k/mvme147s/start/bspstart.c | 2 +- bsps/riscv/griscv/include/amba.h| 3 +-- bsps/sparc/leon3/btimer/btimer.c| 5 ++--- bsps/sparc/leon3/include/leon.h |

Re: Warnings when building sparc/leon3

2022-03-07 Thread Sebastian Huber
On 07/03/2022 19:19, Joel Sherrill wrote: On Mon, Mar 7, 2022 at 11:54 AM Sebastian Huber > wrote: On 07/03/2022 17:48, Joel Sherrill wrote: > This appears to be because > rtems_configuration_get_user_multiprocessing_table() always

[GSoC-Entry PATCH] RTEMS port for Raspberry pi 4 AArch64

2022-03-07 Thread Noor Aman
Hello, This is my patch for qualifying the RTEMS GSoC program. I have attached a screenshot to show the running modified hello world. I have created an entry in the GSoC 2022 page too. diff --git a/testsuites/samples/hello/init.c b/testsuites/samples/hello/init.c index 34ded37c55..5e2ec70adc

Re: Warnings when building sparc/leon3

2022-03-07 Thread Joel Sherrill
On Mon, Mar 7, 2022 at 11:54 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 07/03/2022 17:48, Joel Sherrill wrote: > > This appears to be because > > rtems_configuration_get_user_multiprocessing_table() always returns a > > non-NULL value when RTEMS_MULTIPROCESSING is

Re: Warnings when building sparc/leon3

2022-03-07 Thread Sebastian Huber
On 07/03/2022 17:48, Joel Sherrill wrote: This appears to be because rtems_configuration_get_user_multiprocessing_table() always returns a non-NULL value when RTEMS_MULTIPROCESSING is defined. This must be a change versus previous behavior. Ryan and I noticed that the specific cases cited here

Re: Warnings when building sparc/leon3

2022-03-07 Thread Joel Sherrill
This appears to be because rtems_configuration_get_user_multiprocessing_table() always returns a non-NULL value when RTEMS_MULTIPROCESSING is defined. This must be a change versus previous behavior. Ryan and I noticed that the specific cases cited here appeared to be wrapped in ifdef

Re: hello world with devfs has no output

2022-03-07 Thread Sebastian Huber
On 07/03/2022 16:18, Joel Sherrill wrote: On Mon, Mar 7, 2022 at 12:46 AM Sebastian Huber > wrote: On 03/03/2022 00:06, Joel Sherrill wrote: > What's the missing capability now in devfs? This used to work. Is this problem detected by

Warnings when building sparc/leon3

2022-03-07 Thread Ryan Long
Joel and I noticed these warnings when building the leon3 BSP with multiprocessing enabled. Joel thinks this means that something has changed around the multiprocessing configuration to generate these. Does anybody have an idea on how to fix these? In file included from

Re: hello world with devfs has no output

2022-03-07 Thread Joel Sherrill
On Mon, Mar 7, 2022 at 12:46 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 03/03/2022 00:06, Joel Sherrill wrote: > > What's the missing capability now in devfs? This used to work. > > Is this problem detected by one of the testsuites/libtests/devfs* tests? > If not, could

Re: [PATCH 01/40] License Header Clean Up

2022-03-07 Thread Joel Sherrill
On Mon, Mar 7, 2022 at 7:25 AM Christian Mauderer < christian.maude...@embedded-brains.de> wrote: > Hello, > > during the re-license efforts, Joel noted that there are a lot of really > odd old headers from people at embedded brains. We joined efforts to > clean them up. After this patch series,

[PATCH 33/40] testsuites: Manual file header clean up

2022-03-07 Thread Christian Mauderer
Updates #4625. --- testsuites/libtests/block10/init.c | 6 -- testsuites/sptests/spinternalerror02/init.c | 6 -- 2 files changed, 12 deletions(-) diff --git a/testsuites/libtests/block10/init.c b/testsuites/libtests/block10/init.c index b50c731d6d..d699968975 100644 ---

[PATCH 32/40] bsps/powerpc: Manual file header clean up

2022-03-07 Thread Christian Mauderer
Updates #4625. --- bsps/powerpc/include/bsp/tsec.h | 31 ++--- bsps/powerpc/include/mpc83xx/mpc83xx_i2cdrv.h | 32 ++ bsps/powerpc/include/mpc83xx/mpc83xx_spidrv.h | 34 +++--- bsps/powerpc/virtex/include/bsp/irq.h | 32 ++

[PATCH 15/40] bsps/m68k/gen68360/spi/m360_spi.h: Manual file header clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill Updates #4625. --- bsps/m68k/gen68360/spi/m360_spi.h | 23 +++ 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/bsps/m68k/gen68360/spi/m360_spi.h b/bsps/m68k/gen68360/spi/m360_spi.h index 1a18707fe9..9e6bc5c9c1 100644 ---

[PATCH 39/40] bsps: Automated IMD header file clean up

2022-03-07 Thread Christian Mauderer
Use the same form of IMD in all copyright lines Update #4625. --- bsps/i386/pc386/ata/ide.c| 2 +- bsps/i386/pc386/ata/idecfg.c | 2 +- bsps/powerpc/gen5200/ata/pcmcia_ide.c| 2 +- bsps/powerpc/gen5200/slicetimer/slicetimer.c | 2 +-

[PATCH 35/40] bsps and cpukit: Manual file header clean up

2022-03-07 Thread Christian Mauderer
Updates #4625. --- bsps/i386/pc386/ata/ide.c | 41 ++- bsps/i386/pc386/ata/idecfg.c | 33 +- cpukit/include/rtems/fsmount.h| 13 +++ cpukit/include/rtems/serdbg.h | 34 +--

[PATCH 25/40] bsps/testsuites/: Scripted embedded brains header file clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill Updates #4625. --- testsuites/benchmarks/dhrystone/init.c | 6 -- testsuites/benchmarks/linpack/init.c | 6 -- testsuites/benchmarks/whetstone/init.c | 6 -- testsuites/fstests/fsbdpart01/init.c

[PATCH 31/40] bsps/powerpc/gen5200: Manual file header clean up

2022-03-07 Thread Christian Mauderer
Updates #4625. --- bsps/powerpc/gen5200/ata/idecfg.c | 32 +++- bsps/powerpc/gen5200/bestcomm/bestcomm_glue.c | 32 +++- bsps/powerpc/gen5200/i2c/i2cdrv.c | 37 ++- bsps/powerpc/gen5200/i2c/mpc5200mbus.c| 35

[PATCH 30/40] bsps/powerpc: Manual file header clean up

2022-03-07 Thread Christian Mauderer
Updates #4625. --- bsps/powerpc/mpc55xxevb/i2c/i2c_init.c | 31 +++- bsps/powerpc/qemuppc/irq/irq_init.c | 31 +++- bsps/powerpc/tqm8xx/include/bsp/8xx_immap.h | 40 + bsps/powerpc/virtex4/include/bsp/irq.h | 32 -

[PATCH 29/40] bsps/powerpc/gen83xx: Manual file header clean up

2022-03-07 Thread Christian Mauderer
Updates #4625. --- bsps/powerpc/gen83xx/dev/mpc83xx_i2cdrv.c | 32 - bsps/powerpc/gen83xx/dev/mpc83xx_spidrv.c | 34 --- bsps/powerpc/gen83xx/i2c/i2c_init.c | 30 +++- bsps/powerpc/gen83xx/include/bsp.h| 30 +++-

[PATCH 27/40] bsps/shared: Manual file header clean up

2022-03-07 Thread Christian Mauderer
Updates #4625. --- bsps/shared/dev/display/disp_fonts.h| 32 ++-- bsps/shared/dev/display/disp_hcms29xx.c | 33 +++-- bsps/shared/dev/display/font_hcms29xx.c | 31 ++- bsps/shared/dev/display/font_hcms29xx.h | 31

[PATCH 28/40] bsps/powerpc/tqm8xx: Manual file header clean up

2022-03-07 Thread Christian Mauderer
Updates #4625. --- bsps/powerpc/tqm8xx/btimer/btimer.c | 37 ++--- bsps/powerpc/tqm8xx/console/console.c | 34 +++ bsps/powerpc/tqm8xx/include/bsp.h | 12 ++-- bsps/powerpc/tqm8xx/include/bsp/irq.h | 40 ---

[PATCH 19/40] bsps/arm/: Scripted embedded brains header file clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill Updates #4625. --- bsps/arm/altera-cyclone-v/console/console-config.c| 6 -- bsps/arm/altera-cyclone-v/i2c/i2cdrv-config.c | 6 -- bsps/arm/altera-cyclone-v/i2c/i2cdrv-config.h | 6 -- bsps/arm/altera-cyclone-v/i2c/i2cdrv.c| 6

[PATCH 17/40] m68k/genmcf548x/: Manual file header clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill Updates #4625. --- bsps/m68k/genmcf548x/btimer/btimer.c | 72 +++ bsps/m68k/genmcf548x/clock/clock.c| 70 +++--- bsps/m68k/genmcf548x/include/bsp/irq.h| 6 -- .../genmcf548x/irq/intc-icr-init-values.c | 6 --

[PATCH 14/40] bsps/lm32/include/bsp/irq.h: manual file header clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill Updates #4625. --- bsps/lm32/include/bsp/irq.h | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/bsps/lm32/include/bsp/irq.h b/bsps/lm32/include/bsp/irq.h index 416af841a7..6e6b74feaf 100644 --- a/bsps/lm32/include/bsp/irq.h +++

[PATCH 37/40] bsps/powerpc/gen5200: Manual Header clean up

2022-03-07 Thread Christian Mauderer
Update #4625. --- bsps/powerpc/gen5200/console/console.c | 135 +- bsps/powerpc/gen5200/include/bsp/irq.h | 120 +--- bsps/powerpc/gen5200/include/bsp/nvram.h | 112 +-- bsps/powerpc/gen5200/irq/irq.c | 94 +++-

[PATCH 40/40] bsps/m68k: Restore license file

2022-03-07 Thread Christian Mauderer
Quite some files in the bsps/m68k/genmcf548x mention a Freescale_license.txt file. The file has been accidentally removed during the source reorganization in 2018. This commit restores it and moves it to the right location for licenses. Update #4625. --- LICENSE.Freescale

[PATCH 34/40] bsps/powerpc/gen5200: Manual file header clean up

2022-03-07 Thread Christian Mauderer
This cleans some of the more complex headers including IPR. Updates #4625. --- bsps/powerpc/gen5200/ata/pcmcia_ide.c | 96 +- bsps/powerpc/gen5200/ata/pcmcia_ide.h | 78 -- bsps/powerpc/gen5200/nvram/m93cxx.h | 101 +++

[PATCH 38/40] cpukit: Automated IMD header file clean up

2022-03-07 Thread Christian Mauderer
Use the same form of IMD in all copyright lines Update #4625. --- cpukit/include/rtems/fsmount.h| 2 +- cpukit/include/rtems/ftpfs.h | 2 +- cpukit/include/rtems/serdbg.h | 2 +- cpukit/include/rtems/serdbgcnf.h | 2 +-

[PATCH 36/40] bsps/powerpc/gen83xx/start/cpuinit.c: Manual Header clean up

2022-03-07 Thread Christian Mauderer
There is not really anything left from the referenced cpuinit.c file from MPC8260ads CPU initialization. So ignore that part of the header during rework. Update #4625. --- bsps/powerpc/gen5200/start/cpuinit.c | 80 +-- bsps/powerpc/gen83xx/start/cpuinit.c | 82

[PATCH 26/40] bsps/m68k: Manual file header clean up

2022-03-07 Thread Christian Mauderer
Updates #4625. --- bsps/m68k/genmcf548x/start/linkcmds.COBRA5475 | 75 +++ .../genmcf548x/start/linkcmds.m5484FireEngine | 74 +++--- .../start/linkcmds.m5484FireEngine.flash | 74 +++--- bsps/m68k/genmcf548x/start/start.S| 70

[PATCH 13/40] bsps/include/libchip/spi-memdrv.h: Manual file header clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill Updates #4625. --- bsps/include/libchip/spi-memdrv.h | 27 ++- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/bsps/include/libchip/spi-memdrv.h b/bsps/include/libchip/spi-memdrv.h index ed4aa55b6f..04feccc3a3 100644 ---

[PATCH 24/40] bsps/include/: Scripted embedded brains header file clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill Updates #4625. --- bsps/include/bsp/bootcard.h | 6 -- bsps/include/bsp/console-termios.h | 6 -- bsps/include/bsp/default-initial-extension.h | 6 -- bsps/include/bsp/fatal.h | 6 -- bsps/include/bsp/fdt.h

[PATCH 20/40] bsps/shared/: Scripted embedded brains header file clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill Updates #4625. --- bsps/shared/dev/btimer/btimer-cpucounter.c | 6 -- bsps/shared/dev/clock/arm-generic-timer.c | 6 -- bsps/shared/dev/cpucounter/cpucounterfrequency.c | 6 -- bsps/shared/dev/cpucounter/cpucounterread.c| 6 --

[PATCH 23/40] bsps/m68k/: Scripted embedded brains header file clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill Updates #4625. --- bsps/m68k/include/bsp/linker-symbols.h | 6 -- bsps/m68k/include/mcf548x/mcdma_glue.h | 4 ++-- bsps/m68k/include/mcf548x/mcf548x.h| 4 ++-- bsps/m68k/shared/start/linkcmds.base | 6 -- 4 files changed, 4 insertions(+), 16 deletions(-) diff

[PATCH 21/40] bsps/sh/: Scripted embedded brains header file clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill Updates #4625. --- bsps/sh/gensh1/console/scitab.c | 6 -- bsps/sh/gensh2/console/scitab.c | 6 -- 2 files changed, 12 deletions(-) diff --git a/bsps/sh/gensh1/console/scitab.c b/bsps/sh/gensh1/console/scitab.c index 3c698f8100..37eaa5041a 100644 ---

[PATCH 16/40] m68k/genmcf548x: Manual file header clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill Updates #4625. --- bsps/m68k/genmcf548x/console/console.c | 71 ++ bsps/m68k/genmcf548x/include/bsp.h | 70 ++--- 2 files changed, 52 insertions(+), 89 deletions(-) diff --git a/bsps/m68k/genmcf548x/console/console.c

[PATCH 18/40] bsps/sparc: Scripted embedded brains header file clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill Updates #4625. --- bsps/sparc/leon3/start/bspclean.c | 6 -- bsps/sparc/leon3/start/cache.c | 6 -- bsps/sparc/leon3/start/cpucounter.c | 6 -- 3 files changed, 18 deletions(-) diff --git a/bsps/sparc/leon3/start/bspclean.c

[PATCH 12/40] bsps/include/libchip/spi-fram-fm25l256.h: Manual file header clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill Updates #4625. --- bsps/include/libchip/spi-fram-fm25l256.h | 26 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/bsps/include/libchip/spi-fram-fm25l256.h b/bsps/include/libchip/spi-fram-fm25l256.h index a2167a3074..a2d312d268 100644

[PATCH 11/40] bsps/include/libchip/disp_hcms29xx.h: Manual file header clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill Updates #4625. --- bsps/include/libchip/disp_hcms29xx.h | 32 +++- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/bsps/include/libchip/disp_hcms29xx.h b/bsps/include/libchip/disp_hcms29xx.h index 84b74b6910..bcaf25f46e 100644 ---

[PATCH 10/40] include/libchip/spi-flash-m25p40.h: Manual file header clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill Updates #4625. --- bsps/include/libchip/spi-flash-m25p40.h | 26 + 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/bsps/include/libchip/spi-flash-m25p40.h b/bsps/include/libchip/spi-flash-m25p40.h index 2009b6fed3..fdd11f8ecf 100644

[PATCH 01/40] License Header Clean Up

2022-03-07 Thread Christian Mauderer
Hello, during the re-license efforts, Joel noted that there are a lot of really odd old headers from people at embedded brains. We joined efforts to clean them up. After this patch series, we should have removed most of these odd headers. Please don't hesitate to point out any mistakes that I

[PATCH 09/40] powerpc/mpc55xxevb: Manual file header clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill Updates #4625. --- bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc555x.h | 6 -- bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc556x.h | 6 -- bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc567x.h | 6 -- 3 files changed, 18 deletions(-) diff --git

[PATCH 08/40] m68k/genmcf548x/README: Manual file header clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill Updates #4625. --- bsps/m68k/genmcf548x/README | 58 + 1 file changed, 20 insertions(+), 38 deletions(-) diff --git a/bsps/m68k/genmcf548x/README b/bsps/m68k/genmcf548x/README index 416601a2f2..7a2fc508c7 100644 ---

[PATCH 03/40] testsuites/fstests/fsdosfsname01/create_files.cs: Convert to UNIX CR/LF.

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill This file had a mix of both DOS and UNIX CR/LF. Updates #4625. --- .../fstests/fsdosfsname01/create_files.cs | 242 +- 1 file changed, 121 insertions(+), 121 deletions(-) diff --git a/testsuites/fstests/fsdosfsname01/create_files.cs

[PATCH 01/40] testsuites/.../*doc: Manual cleanup of embedded brains File Headers

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill There were not a lot of these and they did not match the patterns of the C. Updates #4625. --- testsuites/libtests/block01/block01.doc| 7 +-- testsuites/libtests/block02/block02.doc| 7 +-- testsuites/libtests/block03/block03.doc| 7

[PATCH 07/40] m68k/gen68360/spi/m360_spi.c: Manual file header clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill Updates #4625. --- bsps/m68k/gen68360/spi/m360_spi.c | 31 +-- 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/bsps/m68k/gen68360/spi/m360_spi.c b/bsps/m68k/gen68360/spi/m360_spi.c index f60b5b6a51..07bcdf8daf 100644 ---

[PATCH 02/40] bsps/m68k/genmcf548x/README: Manual cleanup of embedded brains File Headers

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill Updates #4625. --- bsps/m68k/genmcf548x/README | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/bsps/m68k/genmcf548x/README b/bsps/m68k/genmcf548x/README index 13994eb167..416601a2f2 100644 --- a/bsps/m68k/genmcf548x/README +++

[PATCH 05/40] libmisc/serdbg: Manual header clean up

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill Updates #4625. --- cpukit/libi2c/libi2c.c | 2 +- cpukit/libmisc/serdbg/serdbgio.c | 38 ++ cpukit/libmisc/serdbg/termios_printk.c | 36 ++-- 3 files changed, 30 insertions(+), 46 deletions(-) diff --git

[PATCH 04/40] telnetd.c: Manual cleanup of embedded brains File Headers

2022-03-07 Thread Christian Mauderer
From: Joel Sherrill This file's text looked different from others. Fixed by hand. Updates #4625. --- cpukit/telnetd/telnetd.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/cpukit/telnetd/telnetd.c b/cpukit/telnetd/telnetd.c index 7dad2f2f92..8d3a488ee6 100644 ---